class jdk.jshell.execution.DefaultLoaderDelegate implements jdk.jshell.execution.LoaderDelegate
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: jdk.jshell.execution.DefaultLoaderDelegate
  super_class: java.lang.Object
{
  private final jdk.jshell.execution.DefaultLoaderDelegate$RemoteClassLoader loader;
    descriptor: Ljdk/jshell/execution/DefaultLoaderDelegate$RemoteClassLoader;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.util.Map<java.lang.String, java.lang.Class<?>> klasses;
    descriptor: Ljava/util/Map;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/Class<*>;>;

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // jdk.jshell.execution.DefaultLoaderDelegate this
         0: .line 220
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 66
            aload 0 /* this */
            new java.util.HashMap
            dup
            invokespecial java.util.HashMap.<init>:()V
            putfield jdk.jshell.execution.DefaultLoaderDelegate.klasses:Ljava/util/Map;
         2: .line 221
            aload 0 /* this */
            new jdk.jshell.execution.DefaultLoaderDelegate$RemoteClassLoader
            dup
            invokespecial jdk.jshell.execution.DefaultLoaderDelegate$RemoteClassLoader.<init>:()V
            putfield jdk.jshell.execution.DefaultLoaderDelegate.loader:Ljdk/jshell/execution/DefaultLoaderDelegate$RemoteClassLoader;
         3: .line 222
            invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
            aload 0 /* this */
            getfield jdk.jshell.execution.DefaultLoaderDelegate.loader:Ljdk/jshell/execution/DefaultLoaderDelegate$RemoteClassLoader;
            invokevirtual java.lang.Thread.setContextClassLoader:(Ljava/lang/ClassLoader;)V
         4: .line 223
            return
        end local 0 // jdk.jshell.execution.DefaultLoaderDelegate this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Ljdk/jshell/execution/DefaultLoaderDelegate;

  public void load(jdk.jshell.spi.ExecutionControl$ClassBytecodes[]);
    descriptor: ([Ljdk/jshell/spi/ExecutionControl$ClassBytecodes;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=7, args_size=2
        start local 0 // jdk.jshell.execution.DefaultLoaderDelegate this
        start local 1 // jdk.jshell.spi.ExecutionControl$ClassBytecodes[] cbcs
         0: .line 228
            aload 1 /* cbcs */
            arraylength
            newarray 4
            astore 2 /* loaded */
        start local 2 // boolean[] loaded
         1: .line 230
            aload 1 /* cbcs */
            dup
            astore 6
            arraylength
            istore 5
            iconst_0
            istore 4
            goto 5
      StackMap locals: jdk.jshell.execution.DefaultLoaderDelegate jdk.jshell.spi.ExecutionControl$ClassBytecodes[] boolean[] top int int jdk.jshell.spi.ExecutionControl$ClassBytecodes[]
      StackMap stack:
         2: aload 6
            iload 4
            aaload
            astore 3 /* cbc */
        start local 3 // jdk.jshell.spi.ExecutionControl$ClassBytecodes cbc
         3: .line 231
            aload 0 /* this */
            getfield jdk.jshell.execution.DefaultLoaderDelegate.loader:Ljdk/jshell/execution/DefaultLoaderDelegate$RemoteClassLoader;
            aload 3 /* cbc */
            invokevirtual jdk.jshell.spi.ExecutionControl$ClassBytecodes.name:()Ljava/lang/String;
            aload 3 /* cbc */
            invokevirtual jdk.jshell.spi.ExecutionControl$ClassBytecodes.bytecodes:()[B
            invokevirtual jdk.jshell.execution.DefaultLoaderDelegate$RemoteClassLoader.declare:(Ljava/lang/String;[B)V
        end local 3 // jdk.jshell.spi.ExecutionControl$ClassBytecodes cbc
         4: .line 230
            iinc 4 1
      StackMap locals:
      StackMap stack:
         5: iload 4
            iload 5
            if_icmplt 2
         6: .line 233
            iconst_0
            istore 3 /* i */
        start local 3 // int i
         7: goto 14
         8: .line 234
      StackMap locals: jdk.jshell.execution.DefaultLoaderDelegate jdk.jshell.spi.ExecutionControl$ClassBytecodes[] boolean[] int
      StackMap stack:
            aload 1 /* cbcs */
            iload 3 /* i */
            aaload
            astore 4 /* cbc */
        start local 4 // jdk.jshell.spi.ExecutionControl$ClassBytecodes cbc
         9: .line 235
            aload 0 /* this */
            getfield jdk.jshell.execution.DefaultLoaderDelegate.loader:Ljdk/jshell/execution/DefaultLoaderDelegate$RemoteClassLoader;
            aload 4 /* cbc */
            invokevirtual jdk.jshell.spi.ExecutionControl$ClassBytecodes.name:()Ljava/lang/String;
            invokevirtual jdk.jshell.execution.DefaultLoaderDelegate$RemoteClassLoader.loadClass:(Ljava/lang/String;)Ljava/lang/Class;
            astore 5 /* klass */
        start local 5 // java.lang.Class klass
        10: .line 236
            aload 0 /* this */
            getfield jdk.jshell.execution.DefaultLoaderDelegate.klasses:Ljava/util/Map;
            aload 4 /* cbc */
            invokevirtual jdk.jshell.spi.ExecutionControl$ClassBytecodes.name:()Ljava/lang/String;
            aload 5 /* klass */
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
        11: .line 237
            aload 2 /* loaded */
            iload 3 /* i */
            iconst_1
            bastore
        12: .line 239
            aload 5 /* klass */
            invokevirtual java.lang.Class.getDeclaredMethods:()[Ljava/lang/reflect/Method;
            pop
        end local 5 // java.lang.Class klass
        end local 4 // jdk.jshell.spi.ExecutionControl$ClassBytecodes cbc
        13: .line 233
            iinc 3 /* i */ 1
      StackMap locals:
      StackMap stack:
        14: iload 3 /* i */
            aload 1 /* cbcs */
            arraylength
            if_icmplt 8
        end local 3 // int i
        15: .line 241
            goto 18
      StackMap locals: jdk.jshell.execution.DefaultLoaderDelegate jdk.jshell.spi.ExecutionControl$ClassBytecodes[] boolean[]
      StackMap stack: java.lang.Throwable
        16: astore 3 /* ex */
        start local 3 // java.lang.Throwable ex
        17: .line 242
            new jdk.jshell.spi.ExecutionControl$ClassInstallException
            dup
            new java.lang.StringBuilder
            dup
            ldc "load: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 3 /* ex */
            invokevirtual java.lang.Throwable.getMessage:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            aload 2 /* loaded */
            invokespecial jdk.jshell.spi.ExecutionControl$ClassInstallException.<init>:(Ljava/lang/String;[Z)V
            athrow
        end local 3 // java.lang.Throwable ex
        18: .line 244
      StackMap locals:
      StackMap stack:
            return
        end local 2 // boolean[] loaded
        end local 1 // jdk.jshell.spi.ExecutionControl$ClassBytecodes[] cbcs
        end local 0 // jdk.jshell.execution.DefaultLoaderDelegate this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   19     0    this  Ljdk/jshell/execution/DefaultLoaderDelegate;
            0   19     1    cbcs  [Ljdk/jshell/spi/ExecutionControl$ClassBytecodes;
            1   19     2  loaded  [Z
            3    4     3     cbc  Ljdk/jshell/spi/ExecutionControl$ClassBytecodes;
            7   15     3       i  I
            9   13     4     cbc  Ljdk/jshell/spi/ExecutionControl$ClassBytecodes;
           10   13     5   klass  Ljava/lang/Class<*>;
           17   18     3      ex  Ljava/lang/Throwable;
      Exception table:
        from    to  target  type
           1    15      16  Class java.lang.Throwable
    Exceptions:
      throws jdk.jshell.spi.ExecutionControl$ClassInstallException, jdk.jshell.spi.ExecutionControl$EngineTerminationException
    MethodParameters:
      Name  Flags
      cbcs  

  public void classesRedefined(jdk.jshell.spi.ExecutionControl$ClassBytecodes[]);
    descriptor: ([Ljdk/jshell/spi/ExecutionControl$ClassBytecodes;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=6, args_size=2
        start local 0 // jdk.jshell.execution.DefaultLoaderDelegate this
        start local 1 // jdk.jshell.spi.ExecutionControl$ClassBytecodes[] cbcs
         0: .line 248
            aload 1 /* cbcs */
            dup
            astore 5
            arraylength
            istore 4
            iconst_0
            istore 3
            goto 4
      StackMap locals: jdk.jshell.execution.DefaultLoaderDelegate jdk.jshell.spi.ExecutionControl$ClassBytecodes[] top int int jdk.jshell.spi.ExecutionControl$ClassBytecodes[]
      StackMap stack:
         1: aload 5
            iload 3
            aaload
            astore 2 /* cbc */
        start local 2 // jdk.jshell.spi.ExecutionControl$ClassBytecodes cbc
         2: .line 249
            aload 0 /* this */
            getfield jdk.jshell.execution.DefaultLoaderDelegate.loader:Ljdk/jshell/execution/DefaultLoaderDelegate$RemoteClassLoader;
            aload 2 /* cbc */
            invokevirtual jdk.jshell.spi.ExecutionControl$ClassBytecodes.name:()Ljava/lang/String;
            aload 2 /* cbc */
            invokevirtual jdk.jshell.spi.ExecutionControl$ClassBytecodes.bytecodes:()[B
            invokevirtual jdk.jshell.execution.DefaultLoaderDelegate$RemoteClassLoader.declare:(Ljava/lang/String;[B)V
        end local 2 // jdk.jshell.spi.ExecutionControl$ClassBytecodes cbc
         3: .line 248
            iinc 3 1
      StackMap locals:
      StackMap stack:
         4: iload 3
            iload 4
            if_icmplt 1
         5: .line 251
            return
        end local 1 // jdk.jshell.spi.ExecutionControl$ClassBytecodes[] cbcs
        end local 0 // jdk.jshell.execution.DefaultLoaderDelegate this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0  this  Ljdk/jshell/execution/DefaultLoaderDelegate;
            0    6     1  cbcs  [Ljdk/jshell/spi/ExecutionControl$ClassBytecodes;
            2    3     2   cbc  Ljdk/jshell/spi/ExecutionControl$ClassBytecodes;
    MethodParameters:
      Name  Flags
      cbcs  

  public void addToClasspath(java.lang.String);
    descriptor: (Ljava/lang/String;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=6, args_size=2
        start local 0 // jdk.jshell.execution.DefaultLoaderDelegate this
        start local 1 // java.lang.String cp
         0: .line 257
            aload 1 /* cp */
            getstatic java.io.File.pathSeparator:Ljava/lang/String;
            invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
            dup
            astore 5
            arraylength
            istore 4
            iconst_0
            istore 3
            goto 4
      StackMap locals: jdk.jshell.execution.DefaultLoaderDelegate java.lang.String top int int java.lang.String[]
      StackMap stack:
         1: aload 5
            iload 3
            aaload
            astore 2 /* path */
        start local 2 // java.lang.String path
         2: .line 258
            aload 0 /* this */
            getfield jdk.jshell.execution.DefaultLoaderDelegate.loader:Ljdk/jshell/execution/DefaultLoaderDelegate$RemoteClassLoader;
            new java.io.File
            dup
            aload 2 /* path */
            invokespecial java.io.File.<init>:(Ljava/lang/String;)V
            invokevirtual java.io.File.toURI:()Ljava/net/URI;
            invokevirtual java.net.URI.toURL:()Ljava/net/URL;
            invokevirtual jdk.jshell.execution.DefaultLoaderDelegate$RemoteClassLoader.addURL:(Ljava/net/URL;)V
        end local 2 // java.lang.String path
         3: .line 257
            iinc 3 1
      StackMap locals:
      StackMap stack:
         4: iload 3
            iload 4
            if_icmplt 1
         5: .line 260
            goto 8
      StackMap locals: jdk.jshell.execution.DefaultLoaderDelegate java.lang.String
      StackMap stack: java.lang.Exception
         6: astore 2 /* ex */
        start local 2 // java.lang.Exception ex
         7: .line 261
            new jdk.jshell.spi.ExecutionControl$InternalException
            dup
            aload 2 /* ex */
            invokevirtual java.lang.Exception.toString:()Ljava/lang/String;
            invokespecial jdk.jshell.spi.ExecutionControl$InternalException.<init>:(Ljava/lang/String;)V
            athrow
        end local 2 // java.lang.Exception ex
         8: .line 263
      StackMap locals:
      StackMap stack:
            return
        end local 1 // java.lang.String cp
        end local 0 // jdk.jshell.execution.DefaultLoaderDelegate this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    9     0  this  Ljdk/jshell/execution/DefaultLoaderDelegate;
            0    9     1    cp  Ljava/lang/String;
            2    3     2  path  Ljava/lang/String;
            7    8     2    ex  Ljava/lang/Exception;
      Exception table:
        from    to  target  type
           0     5       6  Class java.lang.Exception
    Exceptions:
      throws jdk.jshell.spi.ExecutionControl$EngineTerminationException, jdk.jshell.spi.ExecutionControl$InternalException
    MethodParameters:
      Name  Flags
      cp    

  public java.lang.Class<?> findClass(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljava/lang/Class;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=3, args_size=2
        start local 0 // jdk.jshell.execution.DefaultLoaderDelegate this
        start local 1 // java.lang.String name
         0: .line 267
            aload 0 /* this */
            getfield jdk.jshell.execution.DefaultLoaderDelegate.klasses:Ljava/util/Map;
            aload 1 /* name */
            invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.lang.Class
            astore 2 /* klass */
        start local 2 // java.lang.Class klass
         1: .line 268
            aload 2 /* klass */
            ifnonnull 3
         2: .line 269
            new java.lang.ClassNotFoundException
            dup
            new java.lang.StringBuilder
            dup
            aload 1 /* name */
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc " not found"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.lang.ClassNotFoundException.<init>:(Ljava/lang/String;)V
            athrow
         3: .line 271
      StackMap locals: java.lang.Class
      StackMap stack:
            aload 2 /* klass */
            areturn
        end local 2 // java.lang.Class klass
        end local 1 // java.lang.String name
        end local 0 // jdk.jshell.execution.DefaultLoaderDelegate this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    4     0   this  Ljdk/jshell/execution/DefaultLoaderDelegate;
            0    4     1   name  Ljava/lang/String;
            1    4     2  klass  Ljava/lang/Class<*>;
    Exceptions:
      throws java.lang.ClassNotFoundException
    Signature: (Ljava/lang/String;)Ljava/lang/Class<*>;
    MethodParameters:
      Name  Flags
      name  
}
SourceFile: "DefaultLoaderDelegate.java"
NestMembers:
  jdk.jshell.execution.DefaultLoaderDelegate$RemoteClassLoader  jdk.jshell.execution.DefaultLoaderDelegate$RemoteClassLoader$ClassFile  jdk.jshell.execution.DefaultLoaderDelegate$RemoteClassLoader$ResourceURLStreamHandler  jdk.jshell.execution.DefaultLoaderDelegate$RemoteClassLoader$ResourceURLStreamHandler$1
InnerClasses:
  private RemoteClassLoader = jdk.jshell.execution.DefaultLoaderDelegate$RemoteClassLoader of jdk.jshell.execution.DefaultLoaderDelegate
  public final ClassBytecodes = jdk.jshell.spi.ExecutionControl$ClassBytecodes of jdk.jshell.spi.ExecutionControl
  public ClassInstallException = jdk.jshell.spi.ExecutionControl$ClassInstallException of jdk.jshell.spi.ExecutionControl
  public EngineTerminationException = jdk.jshell.spi.ExecutionControl$EngineTerminationException of jdk.jshell.spi.ExecutionControl
  public InternalException = jdk.jshell.spi.ExecutionControl$InternalException of jdk.jshell.spi.ExecutionControl