class jdk.internal.module.ModulePatcher$JarResourceFinder$1 extends jdk.internal.loader.Resource
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.internal.module.ModulePatcher$JarResourceFinder$1
super_class: jdk.internal.loader.Resource
{
final jdk.internal.module.ModulePatcher$JarResourceFinder this$1;
descriptor: Ljdk/internal/module/ModulePatcher$JarResourceFinder;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private final java.lang.String val$name;
descriptor: Ljava/lang/String;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final java.util.jar.JarEntry val$entry;
descriptor: Ljava/util/jar/JarEntry;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(jdk.internal.module.ModulePatcher$JarResourceFinder, java.lang.String, java.util.jar.JarEntry);
descriptor: (Ljdk/internal/module/ModulePatcher$JarResourceFinder;Ljava/lang/String;Ljava/util/jar/JarEntry;)V
flags: (0x0000)
Code:
stack=2, locals=4, args_size=4
start local 0 0: aload 0
aload 1
putfield jdk.internal.module.ModulePatcher$JarResourceFinder$1.this$1:Ljdk/internal/module/ModulePatcher$JarResourceFinder;
aload 0
aload 2
putfield jdk.internal.module.ModulePatcher$JarResourceFinder$1.val$name:Ljava/lang/String;
aload 0
aload 3
putfield jdk.internal.module.ModulePatcher$JarResourceFinder$1.val$entry:Ljava/util/jar/JarEntry;
aload 0
invokespecial jdk.internal.loader.Resource.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/module/ModulePatcher$JarResourceFinder$1;
MethodParameters:
Name Flags
this$0 final
val$name final
val$entry final
public java.lang.String getName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.module.ModulePatcher$JarResourceFinder$1.val$name:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/module/ModulePatcher$JarResourceFinder$1;
public java.net.URL getURL();
descriptor: ()Ljava/net/URL;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
getfield jdk.internal.module.ModulePatcher$JarResourceFinder$1.val$name:Ljava/lang/String;
iconst_0
invokestatic sun.net.www.ParseUtil.encodePath:(Ljava/lang/String;Z)Ljava/lang/String;
astore 1
start local 1 1: new java.net.URL
dup
new java.lang.StringBuilder
dup
ldc "jar:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield jdk.internal.module.ModulePatcher$JarResourceFinder$1.this$1:Ljdk/internal/module/ModulePatcher$JarResourceFinder;
getfield jdk.internal.module.ModulePatcher$JarResourceFinder.csURL:Ljava/net/URL;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "!/"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.net.URL.<init>:(Ljava/lang/String;)V
2: areturn
3: StackMap locals: jdk.internal.module.ModulePatcher$JarResourceFinder$1 java.lang.String
StackMap stack: java.net.MalformedURLException
pop
4: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/internal/module/ModulePatcher$JarResourceFinder$1;
1 5 1 encodedPath Ljava/lang/String;
Exception table:
from to target type
1 2 3 Class java.net.MalformedURLException
public java.net.URL getCodeSourceURL();
descriptor: ()Ljava/net/URL;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.module.ModulePatcher$JarResourceFinder$1.this$1:Ljdk/internal/module/ModulePatcher$JarResourceFinder;
getfield jdk.internal.module.ModulePatcher$JarResourceFinder.csURL:Ljava/net/URL;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/module/ModulePatcher$JarResourceFinder$1;
public java.nio.ByteBuffer getByteBuffer();
descriptor: ()Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual jdk.internal.module.ModulePatcher$JarResourceFinder$1.getInputStream:()Ljava/io/InputStream;
invokevirtual java.io.InputStream.readAllBytes:()[B
astore 1
start local 1 1: aload 1
invokestatic java.nio.ByteBuffer.wrap:([B)Ljava/nio/ByteBuffer;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/module/ModulePatcher$JarResourceFinder$1;
1 2 1 bytes [B
Exceptions:
throws java.io.IOException
public java.io.InputStream getInputStream();
descriptor: ()Ljava/io/InputStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.module.ModulePatcher$JarResourceFinder$1.this$1:Ljdk/internal/module/ModulePatcher$JarResourceFinder;
getfield jdk.internal.module.ModulePatcher$JarResourceFinder.jf:Ljava/util/jar/JarFile;
aload 0
getfield jdk.internal.module.ModulePatcher$JarResourceFinder$1.val$entry:Ljava/util/jar/JarEntry;
invokevirtual java.util.jar.JarFile.getInputStream:(Ljava/util/zip/ZipEntry;)Ljava/io/InputStream;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/module/ModulePatcher$JarResourceFinder$1;
Exceptions:
throws java.io.IOException
public int getContentLength();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
getfield jdk.internal.module.ModulePatcher$JarResourceFinder$1.val$entry:Ljava/util/jar/JarEntry;
invokevirtual java.util.jar.JarEntry.getSize:()J
lstore 1
start local 1 1: lload 1
ldc 2147483647
lcmp
ifle 2
iconst_m1
goto 3
StackMap locals: long
StackMap stack:
2: lload 1
l2i
StackMap locals:
StackMap stack: int
3: ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/module/ModulePatcher$JarResourceFinder$1;
1 4 1 size J
Exceptions:
throws java.io.IOException
}
SourceFile: "ModulePatcher.java"
EnclosingMethod: jdk.internal.module.ModulePatcher$JarResourceFinder.find:(Ljava/lang/String;)Ljdk/internal/loader/Resource;
NestHost: jdk.internal.module.ModulePatcher
InnerClasses:
private JarResourceFinder = jdk.internal.module.ModulePatcher$JarResourceFinder of jdk.internal.module.ModulePatcher
jdk.internal.module.ModulePatcher$JarResourceFinder$1