class jdk.internal.loader.BuiltinClassLoader$LoadedModule
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.internal.loader.BuiltinClassLoader$LoadedModule
super_class: java.lang.Object
{
private final jdk.internal.loader.BuiltinClassLoader loader;
descriptor: Ljdk/internal/loader/BuiltinClassLoader;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.module.ModuleReference mref;
descriptor: Ljava/lang/module/ModuleReference;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.net.URI uri;
descriptor: Ljava/net/URI;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.net.URL codeSourceURL;
descriptor: Ljava/net/URL;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
jdk.internal.vm.annotation.Stable()
void <init>(jdk.internal.loader.BuiltinClassLoader, java.lang.module.ModuleReference);
descriptor: (Ljdk/internal/loader/BuiltinClassLoader;Ljava/lang/module/ModuleReference;)V
flags: (0x0000)
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aconst_null
astore 3
start local 3 2: aload 0
aload 2
invokevirtual java.lang.module.ModuleReference.location:()Ljava/util/Optional;
aconst_null
invokevirtual java.util.Optional.orElse:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.net.URI
putfield jdk.internal.loader.BuiltinClassLoader$LoadedModule.uri:Ljava/net/URI;
3: aload 0
getfield jdk.internal.loader.BuiltinClassLoader$LoadedModule.uri:Ljava/net/URI;
ifnull 5
ldc "jrt"
aload 0
getfield jdk.internal.loader.BuiltinClassLoader$LoadedModule.uri:Ljava/net/URI;
invokevirtual java.net.URI.getScheme:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 5
4: aload 0
aload 0
getfield jdk.internal.loader.BuiltinClassLoader$LoadedModule.uri:Ljava/net/URI;
invokevirtual jdk.internal.loader.BuiltinClassLoader$LoadedModule.createURL:(Ljava/net/URI;)Ljava/net/URL;
astore 3
5: StackMap locals: jdk.internal.loader.BuiltinClassLoader$LoadedModule jdk.internal.loader.BuiltinClassLoader java.lang.module.ModuleReference java.net.URL
StackMap stack:
aload 0
aload 1
putfield jdk.internal.loader.BuiltinClassLoader$LoadedModule.loader:Ljdk/internal/loader/BuiltinClassLoader;
6: aload 0
aload 2
putfield jdk.internal.loader.BuiltinClassLoader$LoadedModule.mref:Ljava/lang/module/ModuleReference;
7: aload 0
aload 3
putfield jdk.internal.loader.BuiltinClassLoader$LoadedModule.codeSourceURL:Ljava/net/URL;
8: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljdk/internal/loader/BuiltinClassLoader$LoadedModule;
0 9 1 loader Ljdk/internal/loader/BuiltinClassLoader;
0 9 2 mref Ljava/lang/module/ModuleReference;
2 9 3 url Ljava/net/URL;
MethodParameters:
Name Flags
loader
mref
jdk.internal.loader.BuiltinClassLoader loader();
descriptor: ()Ljdk/internal/loader/BuiltinClassLoader;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.loader.BuiltinClassLoader$LoadedModule.loader:Ljdk/internal/loader/BuiltinClassLoader;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/loader/BuiltinClassLoader$LoadedModule;
java.lang.module.ModuleReference mref();
descriptor: ()Ljava/lang/module/ModuleReference;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.loader.BuiltinClassLoader$LoadedModule.mref:Ljava/lang/module/ModuleReference;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/loader/BuiltinClassLoader$LoadedModule;
java.lang.String name();
descriptor: ()Ljava/lang/String;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.loader.BuiltinClassLoader$LoadedModule.mref:Ljava/lang/module/ModuleReference;
invokevirtual java.lang.module.ModuleReference.descriptor:()Ljava/lang/module/ModuleDescriptor;
invokevirtual java.lang.module.ModuleDescriptor.name:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/loader/BuiltinClassLoader$LoadedModule;
java.net.URL codeSourceURL();
descriptor: ()Ljava/net/URL;
flags: (0x0000)
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield jdk.internal.loader.BuiltinClassLoader$LoadedModule.codeSourceURL:Ljava/net/URL;
astore 1
start local 1 1: aload 1
ifnonnull 3
aload 0
getfield jdk.internal.loader.BuiltinClassLoader$LoadedModule.uri:Ljava/net/URI;
ifnull 3
2: aload 0
aload 0
aload 0
getfield jdk.internal.loader.BuiltinClassLoader$LoadedModule.uri:Ljava/net/URI;
invokevirtual jdk.internal.loader.BuiltinClassLoader$LoadedModule.createURL:(Ljava/net/URI;)Ljava/net/URL;
dup
astore 1
putfield jdk.internal.loader.BuiltinClassLoader$LoadedModule.codeSourceURL:Ljava/net/URL;
3: StackMap locals: java.net.URL
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/loader/BuiltinClassLoader$LoadedModule;
1 4 1 url Ljava/net/URL;
private java.net.URL createURL(java.net.URI);
descriptor: (Ljava/net/URI;)Ljava/net/URL;
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=3, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 1
invokevirtual java.net.URI.toURL:()Ljava/net/URL;
astore 2
2: goto 4
StackMap locals: jdk.internal.loader.BuiltinClassLoader$LoadedModule java.net.URI java.net.URL
StackMap stack: java.lang.Exception
3: pop
4: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/internal/loader/BuiltinClassLoader$LoadedModule;
0 5 1 uri Ljava/net/URI;
1 5 2 url Ljava/net/URL;
Exception table:
from to target type
1 2 3 Class java.net.MalformedURLException
1 2 3 Class java.lang.IllegalArgumentException
MethodParameters:
Name Flags
uri
}
SourceFile: "BuiltinClassLoader.java"
NestHost: jdk.internal.loader.BuiltinClassLoader
InnerClasses:
private LoadedModule = jdk.internal.loader.BuiltinClassLoader$LoadedModule of jdk.internal.loader.BuiltinClassLoader