class com.sun.tools.javac.launcher.Main$MemoryClassLoader extends java.lang.ClassLoader
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.tools.javac.launcher.Main$MemoryClassLoader
super_class: java.lang.ClassLoader
{
private final java.util.Map<java.lang.String, byte[]> sourceFileClasses;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;[B>;
private final java.security.ProtectionDomain domain;
descriptor: Ljava/security/ProtectionDomain;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static final int DOT_CLASS_LENGTH;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final java.lang.String PROTOCOL;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.net.URLStreamHandler handler;
descriptor: Ljava/net/URLStreamHandler;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc ".class"
invokevirtual java.lang.String.length:()I
putstatic com.sun.tools.javac.launcher.Main$MemoryClassLoader.DOT_CLASS_LENGTH:I
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(java.util.Map<java.lang.String, byte[]>, java.lang.ClassLoader, java.nio.file.Path);
descriptor: (Ljava/util/Map;Ljava/lang/ClassLoader;Ljava/nio/file/Path;)V
flags: (0x0000)
Code:
stack=7, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 2
invokespecial java.lang.ClassLoader.<init>:(Ljava/lang/ClassLoader;)V
1: aload 0
new java.lang.StringBuilder
dup
ldc "sourcelauncher-"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual java.lang.Object.hashCode:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
putfield com.sun.tools.javac.launcher.Main$MemoryClassLoader.PROTOCOL:Ljava/lang/String;
2: aload 0
aload 1
putfield com.sun.tools.javac.launcher.Main$MemoryClassLoader.sourceFileClasses:Ljava/util/Map;
3: new java.security.CodeSource
dup
aload 3
invokeinterface java.nio.file.Path.toUri:()Ljava/net/URI;
invokevirtual java.net.URI.toURL:()Ljava/net/URL;
aconst_null
invokespecial java.security.CodeSource.<init>:(Ljava/net/URL;[Ljava/security/CodeSigner;)V
astore 4
start local 4 4: goto 7
end local 4 StackMap locals: com.sun.tools.javac.launcher.Main$MemoryClassLoader java.util.Map java.lang.ClassLoader java.nio.file.Path
StackMap stack: java.net.MalformedURLException
5: pop
6: aconst_null
astore 4
start local 4 7: StackMap locals: java.security.CodeSource
StackMap stack:
aload 0
new java.security.ProtectionDomain
dup
aload 4
aconst_null
aload 0
aconst_null
invokespecial java.security.ProtectionDomain.<init>:(Ljava/security/CodeSource;Ljava/security/PermissionCollection;Ljava/lang/ClassLoader;[Ljava/security/Principal;)V
putfield com.sun.tools.javac.launcher.Main$MemoryClassLoader.domain:Ljava/security/ProtectionDomain;
8: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/tools/javac/launcher/Main$MemoryClassLoader;
0 9 1 sourceFileClasses Ljava/util/Map<Ljava/lang/String;[B>;
0 9 2 parent Ljava/lang/ClassLoader;
0 9 3 file Ljava/nio/file/Path;
4 5 4 codeSource Ljava/security/CodeSource;
7 9 4 codeSource Ljava/security/CodeSource;
Exception table:
from to target type
3 4 5 Class java.net.MalformedURLException
Signature: (Ljava/util/Map<Ljava/lang/String;[B>;Ljava/lang/ClassLoader;Ljava/nio/file/Path;)V
MethodParameters:
Name Flags
sourceFileClasses
parent
file
protected java.lang.Class<?> loadClass(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)Ljava/lang/Class;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual com.sun.tools.javac.launcher.Main$MemoryClassLoader.getClassLoadingLock:(Ljava/lang/String;)Ljava/lang/Object;
dup
astore 3
monitorenter
1: aload 0
aload 1
invokevirtual com.sun.tools.javac.launcher.Main$MemoryClassLoader.findLoadedClass:(Ljava/lang/String;)Ljava/lang/Class;
astore 4
start local 4 2: aload 4
ifnonnull 9
3: aload 0
getfield com.sun.tools.javac.launcher.Main$MemoryClassLoader.sourceFileClasses:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifeq 6
4: aload 0
aload 1
invokevirtual com.sun.tools.javac.launcher.Main$MemoryClassLoader.findClass:(Ljava/lang/String;)Ljava/lang/Class;
astore 4
5: goto 7
6: StackMap locals: java.lang.Object java.lang.Class
StackMap stack:
aload 0
invokevirtual com.sun.tools.javac.launcher.Main$MemoryClassLoader.getParent:()Ljava/lang/ClassLoader;
aload 1
invokevirtual java.lang.ClassLoader.loadClass:(Ljava/lang/String;)Ljava/lang/Class;
astore 4
7: StackMap locals:
StackMap stack:
iload 2
ifeq 9
8: aload 0
aload 4
invokevirtual com.sun.tools.javac.launcher.Main$MemoryClassLoader.resolveClass:(Ljava/lang/Class;)V
9: StackMap locals:
StackMap stack:
aload 4
aload 3
monitorexit
10: areturn
end local 4 11: StackMap locals: com.sun.tools.javac.launcher.Main$MemoryClassLoader java.lang.String int java.lang.Object
StackMap stack: java.lang.Throwable
aload 3
monitorexit
12: athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/sun/tools/javac/launcher/Main$MemoryClassLoader;
0 13 1 name Ljava/lang/String;
0 13 2 resolve Z
2 11 4 c Ljava/lang/Class<*>;
Exception table:
from to target type
1 10 11 any
11 12 11 any
Exceptions:
throws java.lang.ClassNotFoundException
Signature: (Ljava/lang/String;Z)Ljava/lang/Class<*>;
MethodParameters:
Name Flags
name
resolve
public java.net.URL getResource(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/net/URL;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.javac.launcher.Main$MemoryClassLoader.sourceFileClasses:Ljava/util/Map;
aload 0
aload 1
invokevirtual com.sun.tools.javac.launcher.Main$MemoryClassLoader.toBinaryName:(Ljava/lang/String;)Ljava/lang/String;
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifeq 2
1: aload 0
aload 1
invokevirtual com.sun.tools.javac.launcher.Main$MemoryClassLoader.findResource:(Ljava/lang/String;)Ljava/net/URL;
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.sun.tools.javac.launcher.Main$MemoryClassLoader.getParent:()Ljava/lang/ClassLoader;
aload 1
invokevirtual java.lang.ClassLoader.getResource:(Ljava/lang/String;)Ljava/net/URL;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/javac/launcher/Main$MemoryClassLoader;
0 3 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public java.util.Enumeration<java.net.URL> getResources(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 com.sun.tools.javac.launcher.Main$MemoryClassLoader.findResource:(Ljava/lang/String;)Ljava/net/URL;
astore 2
start local 2 1: aload 0
invokevirtual com.sun.tools.javac.launcher.Main$MemoryClassLoader.getParent:()Ljava/lang/ClassLoader;
aload 1
invokevirtual java.lang.ClassLoader.getResources:(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: aload 4
aload 2
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
6: goto 8
7: 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
8: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 7
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 Lcom/sun/tools/javac/launcher/Main$MemoryClassLoader;
0 10 1 name Ljava/lang/String;
1 10 2 u Ljava/net/URL;
2 10 3 e Ljava/util/Enumeration<Ljava/net/URL;>;
5 10 4 list 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
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 com.sun.tools.javac.launcher.Main$MemoryClassLoader.sourceFileClasses:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast byte[]
astore 2
start local 2 1: aload 2
ifnonnull 3
2: new java.lang.ClassNotFoundException
dup
aload 1
invokespecial java.lang.ClassNotFoundException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: byte[]
StackMap stack:
aload 0
aload 1
aload 2
iconst_0
aload 2
arraylength
aload 0
getfield com.sun.tools.javac.launcher.Main$MemoryClassLoader.domain:Ljava/security/ProtectionDomain;
invokevirtual com.sun.tools.javac.launcher.Main$MemoryClassLoader.defineClass:(Ljava/lang/String;[BIILjava/security/ProtectionDomain;)Ljava/lang/Class;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/tools/javac/launcher/Main$MemoryClassLoader;
0 4 1 name Ljava/lang/String;
1 4 2 bytes [B
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=7, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual com.sun.tools.javac.launcher.Main$MemoryClassLoader.toBinaryName:(Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 1: aload 2
ifnull 2
aload 0
getfield com.sun.tools.javac.launcher.Main$MemoryClassLoader.sourceFileClasses:Ljava/util/Map;
aload 2
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
ifnonnull 3
2: StackMap locals: java.lang.String
StackMap stack:
aconst_null
areturn
3: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.javac.launcher.Main$MemoryClassLoader.handler:Ljava/net/URLStreamHandler;
astore 3
start local 3 4: aload 3
ifnonnull 6
5: aload 0
new com.sun.tools.javac.launcher.Main$MemoryClassLoader$MemoryURLStreamHandler
dup
aload 0
invokespecial com.sun.tools.javac.launcher.Main$MemoryClassLoader$MemoryURLStreamHandler.<init>:(Lcom/sun/tools/javac/launcher/Main$MemoryClassLoader;)V
dup
astore 3
putfield com.sun.tools.javac.launcher.Main$MemoryClassLoader.handler:Ljava/net/URLStreamHandler;
6: StackMap locals: java.net.URLStreamHandler
StackMap stack:
new java.net.URL
dup
aload 0
getfield com.sun.tools.javac.launcher.Main$MemoryClassLoader.PROTOCOL:Ljava/lang/String;
aconst_null
iconst_m1
aload 1
aload 3
invokespecial java.net.URL.<init>:(Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;Ljava/net/URLStreamHandler;)V
7: areturn
8: StackMap locals:
StackMap stack: java.net.MalformedURLException
pop
9: aconst_null
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/tools/javac/launcher/Main$MemoryClassLoader;
0 10 1 name Ljava/lang/String;
1 10 2 binaryName Ljava/lang/String;
4 10 3 handler Ljava/net/URLStreamHandler;
Exception table:
from to target type
6 7 8 Class java.net.MalformedURLException
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=4, locals=2, args_size=2
start local 0 start local 1 0: new com.sun.tools.javac.launcher.Main$MemoryClassLoader$1
dup
aload 0
aload 1
invokespecial com.sun.tools.javac.launcher.Main$MemoryClassLoader$1.<init>:(Lcom/sun/tools/javac/launcher/Main$MemoryClassLoader;Ljava/lang/String;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/javac/launcher/Main$MemoryClassLoader;
0 1 1 name Ljava/lang/String;
Signature: (Ljava/lang/String;)Ljava/util/Enumeration<Ljava/net/URL;>;
MethodParameters:
Name Flags
name
private java.lang.String toBinaryName(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc ".class"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifne 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 1
iconst_0
aload 1
invokevirtual java.lang.String.length:()I
getstatic com.sun.tools.javac.launcher.Main$MemoryClassLoader.DOT_CLASS_LENGTH:I
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
bipush 47
bipush 46
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/javac/launcher/Main$MemoryClassLoader;
0 3 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
}
SourceFile: "Main.java"
NestHost: com.sun.tools.javac.launcher.Main
InnerClasses:
private MemoryClassLoader = com.sun.tools.javac.launcher.Main$MemoryClassLoader of com.sun.tools.javac.launcher.Main
com.sun.tools.javac.launcher.Main$MemoryClassLoader$1
private MemoryURLConnection = com.sun.tools.javac.launcher.Main$MemoryClassLoader$MemoryURLConnection of com.sun.tools.javac.launcher.Main$MemoryClassLoader
private MemoryURLStreamHandler = com.sun.tools.javac.launcher.Main$MemoryClassLoader$MemoryURLStreamHandler of com.sun.tools.javac.launcher.Main$MemoryClassLoader