public abstract class jdk.internal.loader.Resource
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: jdk.internal.loader.Resource
super_class: java.lang.Object
{
private java.io.InputStream cis;
descriptor: Ljava/io/InputStream;
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/loader/Resource;
public abstract java.lang.String getName();
descriptor: ()Ljava/lang/String;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract java.net.URL getURL();
descriptor: ()Ljava/net/URL;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract java.net.URL getCodeSourceURL();
descriptor: ()Ljava/net/URL;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract java.io.InputStream getInputStream();
descriptor: ()Ljava/io/InputStream;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
public abstract int getContentLength();
descriptor: ()I
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
private synchronized java.io.InputStream cachedInputStream();
descriptor: ()Ljava/io/InputStream;
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.loader.Resource.cis:Ljava/io/InputStream;
ifnonnull 2
1: aload 0
aload 0
invokevirtual jdk.internal.loader.Resource.getInputStream:()Ljava/io/InputStream;
putfield jdk.internal.loader.Resource.cis:Ljava/io/InputStream;
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.loader.Resource.cis:Ljava/io/InputStream;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/loader/Resource;
Exceptions:
throws java.io.IOException
public byte[] getBytes();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=9, args_size=1
start local 0 0: aload 0
invokevirtual jdk.internal.loader.Resource.cachedInputStream:()Ljava/io/InputStream;
astore 2
start local 2 1: invokestatic java.lang.Thread.interrupted:()Z
istore 3
start local 3 2: StackMap locals: jdk.internal.loader.Resource top java.io.InputStream int
StackMap stack:
aload 0
invokevirtual jdk.internal.loader.Resource.getContentLength:()I
istore 4
start local 4 3: goto 8
end local 4 4: StackMap locals:
StackMap stack: java.io.InterruptedIOException
pop
5: invokestatic java.lang.Thread.interrupted:()Z
pop
6: iconst_1
istore 3
7: goto 2
start local 4 8: StackMap locals: int
StackMap stack:
iconst_0
newarray 8
astore 1
start local 1 9: iload 4
iconst_m1
if_icmpne 10
ldc 2147483647
istore 4
10: StackMap locals: jdk.internal.loader.Resource byte[] java.io.InputStream int int
StackMap stack:
iconst_0
istore 5
start local 5 11: goto 32
12: StackMap locals: int
StackMap stack:
iload 5
aload 1
arraylength
if_icmplt 18
13: iload 4
iload 5
isub
aload 1
arraylength
sipush 1024
iadd
invokestatic java.lang.Math.min:(II)I
istore 6
start local 6 14: iload 6
ifge 16
15: iload 4
iload 5
isub
istore 6
16: StackMap locals: int
StackMap stack:
aload 1
iload 5
iload 6
iadd
invokestatic java.util.Arrays.copyOf:([BI)[B
astore 1
17: goto 19
end local 6 18: StackMap locals:
StackMap stack:
aload 1
arraylength
iload 5
isub
istore 6
start local 6 19: StackMap locals: int
StackMap stack:
iconst_0
istore 7
start local 7 20: aload 2
aload 1
iload 5
iload 6
invokevirtual java.io.InputStream.read:([BII)I
istore 7
21: goto 25
StackMap locals: jdk.internal.loader.Resource byte[] java.io.InputStream int int int int int
StackMap stack: java.io.InterruptedIOException
22: pop
23: invokestatic java.lang.Thread.interrupted:()Z
pop
24: iconst_1
istore 3
25: StackMap locals:
StackMap stack:
iload 7
ifge 31
26: iload 4
ldc 2147483647
if_icmpeq 28
27: new java.io.EOFException
dup
ldc "Detect premature EOF"
invokespecial java.io.EOFException.<init>:(Ljava/lang/String;)V
athrow
28: StackMap locals:
StackMap stack:
aload 1
arraylength
iload 5
if_icmpeq 43
29: aload 1
iload 5
invokestatic java.util.Arrays.copyOf:([BI)[B
astore 1
30: goto 43
31: StackMap locals:
StackMap stack:
iload 5
iload 7
iadd
istore 5
end local 7 end local 6 32: StackMap locals:
StackMap stack:
iload 5
iload 4
if_icmplt 12
end local 5 33: goto 43
end local 1 StackMap locals: jdk.internal.loader.Resource top java.io.InputStream int int
StackMap stack: java.lang.Throwable
34: astore 8
35: aload 2
invokevirtual java.io.InputStream.close:()V
36: goto 40
StackMap locals: jdk.internal.loader.Resource top java.io.InputStream int int top top top java.lang.Throwable
StackMap stack: java.io.InterruptedIOException
37: pop
38: iconst_1
istore 3
goto 40
39: StackMap locals:
StackMap stack: java.io.IOException
pop
40: StackMap locals:
StackMap stack:
iload 3
ifeq 42
41: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.Thread.interrupt:()V
42: StackMap locals:
StackMap stack:
aload 8
athrow
start local 1 43: StackMap locals: jdk.internal.loader.Resource byte[] java.io.InputStream int int
StackMap stack:
aload 2
invokevirtual java.io.InputStream.close:()V
44: goto 48
StackMap locals:
StackMap stack: java.io.InterruptedIOException
45: pop
46: iconst_1
istore 3
goto 48
47: StackMap locals:
StackMap stack: java.io.IOException
pop
48: StackMap locals:
StackMap stack:
iload 3
ifeq 50
49: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.Thread.interrupt:()V
50: StackMap locals:
StackMap stack:
aload 1
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 51 0 this Ljdk/internal/loader/Resource;
9 34 1 b [B
43 51 1 b [B
1 51 2 in Ljava/io/InputStream;
2 51 3 isInterrupted Z
3 4 4 len I
8 51 4 len I
11 33 5 pos I
14 18 6 bytesToRead I
19 32 6 bytesToRead I
20 32 7 cc I
Exception table:
from to target type
2 3 4 Class java.io.InterruptedIOException
20 21 22 Class java.io.InterruptedIOException
8 34 34 any
35 36 37 Class java.io.InterruptedIOException
35 36 39 Class java.io.IOException
43 44 45 Class java.io.InterruptedIOException
43 44 47 Class java.io.IOException
Exceptions:
throws java.io.IOException
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.loader.Resource.cachedInputStream:()Ljava/io/InputStream;
astore 1
start local 1 1: aload 1
instanceof sun.nio.ByteBuffered
ifeq 3
2: aload 1
checkcast sun.nio.ByteBuffered
invokeinterface sun.nio.ByteBuffered.getByteBuffer:()Ljava/nio/ByteBuffer;
areturn
3: StackMap locals: java.io.InputStream
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/loader/Resource;
1 4 1 in Ljava/io/InputStream;
Exceptions:
throws java.io.IOException
public java.util.jar.Manifest getManifest();
descriptor: ()Ljava/util/jar/Manifest;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/loader/Resource;
Exceptions:
throws java.io.IOException
public java.security.cert.Certificate[] getCertificates();
descriptor: ()[Ljava/security/cert/Certificate;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/loader/Resource;
public java.security.CodeSigner[] getCodeSigners();
descriptor: ()[Ljava/security/CodeSigner;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/loader/Resource;
}
SourceFile: "Resource.java"