class jdk.jshell.execution.DefaultLoaderDelegate$RemoteClassLoader extends java.net.URLClassLoader
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.jshell.execution.DefaultLoaderDelegate$RemoteClassLoader
super_class: java.net.URLClassLoader
{
private final java.util.Map<java.lang.String, jdk.jshell.execution.DefaultLoaderDelegate$RemoteClassLoader$ClassFile> classFiles;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljdk/jshell/execution/DefaultLoaderDelegate$RemoteClassLoader$ClassFile;>;
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
anewarray java.net.URL
invokespecial java.net.URLClassLoader.<init>:([Ljava/net/URL;)V
1: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield jdk.jshell.execution.DefaultLoaderDelegate$RemoteClassLoader.classFiles:Ljava/util/Map;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/jshell/execution/DefaultLoaderDelegate$RemoteClassLoader;
void declare(java.lang.String, byte[]);
descriptor: (Ljava/lang/String;[B)V
flags: (0x0000)
Code:
stack=7, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield jdk.jshell.execution.DefaultLoaderDelegate$RemoteClassLoader.classFiles:Ljava/util/Map;
aload 0
aload 1
invokevirtual jdk.jshell.execution.DefaultLoaderDelegate$RemoteClassLoader.toResourceString:(Ljava/lang/String;)Ljava/lang/String;
new jdk.jshell.execution.DefaultLoaderDelegate$RemoteClassLoader$ClassFile
dup
aload 2
invokestatic java.lang.System.currentTimeMillis:()J
invokespecial jdk.jshell.execution.DefaultLoaderDelegate$RemoteClassLoader$ClassFile.<init>:([BJ)V
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jshell/execution/DefaultLoaderDelegate$RemoteClassLoader;
0 2 1 name Ljava/lang/String;
0 2 2 bytes [B
MethodParameters:
Name Flags
name
bytes
protected java.lang.Class<?> findClass(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Class;
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.jshell.execution.DefaultLoaderDelegate$RemoteClassLoader.classFiles:Ljava/util/Map;
aload 0
aload 1
invokevirtual jdk.jshell.execution.DefaultLoaderDelegate$RemoteClassLoader.toResourceString:(Ljava/lang/String;)Ljava/lang/String;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.jshell.execution.DefaultLoaderDelegate$RemoteClassLoader$ClassFile
astore 2
start local 2 1: aload 2
ifnonnull 3
2: aload 0
aload 1
invokespecial java.net.URLClassLoader.findClass:(Ljava/lang/String;)Ljava/lang/Class;
areturn
3: StackMap locals: jdk.jshell.execution.DefaultLoaderDelegate$RemoteClassLoader$ClassFile
StackMap stack:
aload 0
aload 1
aload 2
getfield jdk.jshell.execution.DefaultLoaderDelegate$RemoteClassLoader$ClassFile.data:[B
iconst_0
aload 2
getfield jdk.jshell.execution.DefaultLoaderDelegate$RemoteClassLoader$ClassFile.data:[B
arraylength
aconst_null
invokespecial java.net.URLClassLoader.defineClass:(Ljava/lang/String;[BIILjava/security/CodeSource;)Ljava/lang/Class;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/jshell/execution/DefaultLoaderDelegate$RemoteClassLoader;
0 4 1 name Ljava/lang/String;
1 4 2 file Ljdk/jshell/execution/DefaultLoaderDelegate$RemoteClassLoader$ClassFile;
Exceptions:
throws java.lang.ClassNotFoundException
Signature: (Ljava/lang/String;)Ljava/lang/Class<*>;
MethodParameters:
Name Flags
name
public java.net.URL findResource(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/net/URL;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual jdk.jshell.execution.DefaultLoaderDelegate$RemoteClassLoader.doFindResource:(Ljava/lang/String;)Ljava/net/URL;
astore 2
start local 2 1: aload 2
ifnull 2
aload 2
goto 3
StackMap locals: java.net.URL
StackMap stack:
2: aload 0
aload 1
invokespecial java.net.URLClassLoader.findResource:(Ljava/lang/String;)Ljava/net/URL;
StackMap locals:
StackMap stack: java.net.URL
3: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/jshell/execution/DefaultLoaderDelegate$RemoteClassLoader;
0 4 1 name Ljava/lang/String;
1 4 2 u Ljava/net/URL;
MethodParameters:
Name Flags
name
public java.util.Enumeration<java.net.URL> findResources(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Enumeration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual jdk.jshell.execution.DefaultLoaderDelegate$RemoteClassLoader.doFindResource:(Ljava/lang/String;)Ljava/net/URL;
astore 2
start local 2 1: aload 0
aload 1
invokespecial java.net.URLClassLoader.findResources:(Ljava/lang/String;)Ljava/util/Enumeration;
astore 3
start local 3 2: aload 2
ifnonnull 4
3: aload 3
areturn
4: StackMap locals: java.net.URL java.util.Enumeration
StackMap stack:
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 4
start local 4 5: goto 7
6: StackMap locals: java.util.List
StackMap stack:
aload 4
aload 3
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast java.net.URL
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
7: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 6
8: aload 4
aload 2
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
9: aload 4
invokestatic java.util.Collections.enumeration:(Ljava/util/Collection;)Ljava/util/Enumeration;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljdk/jshell/execution/DefaultLoaderDelegate$RemoteClassLoader;
0 10 1 name Ljava/lang/String;
1 10 2 u Ljava/net/URL;
2 10 3 sup Ljava/util/Enumeration<Ljava/net/URL;>;
5 10 4 result Ljava/util/List<Ljava/net/URL;>;
Exceptions:
throws java.io.IOException
Signature: (Ljava/lang/String;)Ljava/util/Enumeration<Ljava/net/URL;>;
MethodParameters:
Name Flags
name
private java.net.URL doFindResource(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/net/URL;
flags: (0x0002) ACC_PRIVATE
Code:
stack=10, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.jshell.execution.DefaultLoaderDelegate$RemoteClassLoader.classFiles:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifeq 8
1: new java.net.URL
dup
aconst_null
2: new java.net.URI
dup
ldc "jshell"
aconst_null
new java.lang.StringBuilder
dup
ldc "/"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aconst_null
invokespecial java.net.URI.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
invokevirtual java.net.URI.toString:()Ljava/lang/String;
3: new jdk.jshell.execution.DefaultLoaderDelegate$RemoteClassLoader$ResourceURLStreamHandler
dup
aload 0
aload 1
invokespecial jdk.jshell.execution.DefaultLoaderDelegate$RemoteClassLoader$ResourceURLStreamHandler.<init>:(Ljdk/jshell/execution/DefaultLoaderDelegate$RemoteClassLoader;Ljava/lang/String;)V
4: invokespecial java.net.URL.<init>:(Ljava/net/URL;Ljava/lang/String;Ljava/net/URLStreamHandler;)V
5: areturn
6: StackMap locals:
StackMap stack: java.lang.Exception
astore 2
start local 2 7: new java.lang.InternalError
dup
aload 2
invokespecial java.lang.InternalError.<init>:(Ljava/lang/Throwable;)V
athrow
end local 2 8: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljdk/jshell/execution/DefaultLoaderDelegate$RemoteClassLoader;
0 9 1 name Ljava/lang/String;
7 8 2 ex Ljava/lang/Exception;
Exception table:
from to target type
1 5 6 Class java.net.MalformedURLException
1 5 6 Class java.net.URISyntaxException
MethodParameters:
Name Flags
name
private java.lang.String toResourceString(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: new java.lang.StringBuilder
dup
aload 1
bipush 46
bipush 47
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".class"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jshell/execution/DefaultLoaderDelegate$RemoteClassLoader;
0 1 1 className Ljava/lang/String;
MethodParameters:
Name Flags
className
public void addURL(java.net.URL);
descriptor: (Ljava/net/URL;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial java.net.URLClassLoader.addURL:(Ljava/net/URL;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jshell/execution/DefaultLoaderDelegate$RemoteClassLoader;
0 2 1 url Ljava/net/URL;
MethodParameters:
Name Flags
url
}
SourceFile: "DefaultLoaderDelegate.java"
NestHost: jdk.jshell.execution.DefaultLoaderDelegate
InnerClasses:
private RemoteClassLoader = jdk.jshell.execution.DefaultLoaderDelegate$RemoteClassLoader of jdk.jshell.execution.DefaultLoaderDelegate
private ClassFile = jdk.jshell.execution.DefaultLoaderDelegate$RemoteClassLoader$ClassFile of jdk.jshell.execution.DefaultLoaderDelegate$RemoteClassLoader
private ResourceURLStreamHandler = jdk.jshell.execution.DefaultLoaderDelegate$RemoteClassLoader$ResourceURLStreamHandler of jdk.jshell.execution.DefaultLoaderDelegate$RemoteClassLoader