public class com.sun.tools.javac.jvm.ModuleNameReader
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.tools.javac.jvm.ModuleNameReader
super_class: java.lang.Object
{
private static final int INITIAL_BUFFER_SIZE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 65520
private byte[] buf;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
private int bp;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int[] poolIdx;
descriptor: [I
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
ldc 65520
newarray 8
putfield com.sun.tools.javac.jvm.ModuleNameReader.buf:[B
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/javac/jvm/ModuleNameReader;
public java.lang.String readModuleName(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
aconst_null
astore 3
1: aload 1
iconst_0
anewarray java.nio.file.OpenOption
invokestatic java.nio.file.Files.newInputStream:(Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Ljava/io/InputStream;
astore 4
start local 4 2: aload 0
aload 4
invokevirtual com.sun.tools.javac.jvm.ModuleNameReader.readModuleName:(Ljava/io/InputStream;)Ljava/lang/String;
3: aload 4
ifnull 4
aload 4
invokevirtual java.io.InputStream.close:()V
4: StackMap locals: com.sun.tools.javac.jvm.ModuleNameReader java.nio.file.Path java.lang.Throwable java.lang.Throwable java.io.InputStream
StackMap stack: java.lang.String
areturn
StackMap locals:
StackMap stack: java.lang.Throwable
5: astore 2
6: aload 4
ifnull 7
aload 4
invokevirtual java.io.InputStream.close:()V
end local 4 StackMap locals:
StackMap stack:
7: aload 2
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
8: astore 3
aload 2
ifnonnull 9
aload 3
astore 2
goto 10
StackMap locals:
StackMap stack:
9: aload 2
aload 3
if_acmpeq 10
aload 2
aload 3
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
10: aload 2
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/sun/tools/javac/jvm/ModuleNameReader;
0 11 1 p Ljava/nio/file/Path;
2 7 4 in Ljava/io/InputStream;
Exception table:
from to target type
2 3 5 any
1 4 8 any
5 8 8 any
Exceptions:
throws java.io.IOException, com.sun.tools.javac.jvm.ModuleNameReader$BadClassFile
MethodParameters:
Name Flags
p
public java.lang.String readModuleName(javax.tools.JavaFileObject);
descriptor: (Ljavax/tools/JavaFileObject;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
aconst_null
astore 3
1: aload 1
invokeinterface javax.tools.JavaFileObject.openInputStream:()Ljava/io/InputStream;
astore 4
start local 4 2: aload 0
aload 4
invokevirtual com.sun.tools.javac.jvm.ModuleNameReader.readModuleName:(Ljava/io/InputStream;)Ljava/lang/String;
3: aload 4
ifnull 4
aload 4
invokevirtual java.io.InputStream.close:()V
4: StackMap locals: com.sun.tools.javac.jvm.ModuleNameReader javax.tools.JavaFileObject java.lang.Throwable java.lang.Throwable java.io.InputStream
StackMap stack: java.lang.String
areturn
StackMap locals:
StackMap stack: java.lang.Throwable
5: astore 2
6: aload 4
ifnull 7
aload 4
invokevirtual java.io.InputStream.close:()V
end local 4 StackMap locals:
StackMap stack:
7: aload 2
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
8: astore 3
aload 2
ifnonnull 9
aload 3
astore 2
goto 10
StackMap locals:
StackMap stack:
9: aload 2
aload 3
if_acmpeq 10
aload 2
aload 3
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
10: aload 2
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/sun/tools/javac/jvm/ModuleNameReader;
0 11 1 jfo Ljavax/tools/JavaFileObject;
2 7 4 in Ljava/io/InputStream;
Exception table:
from to target type
2 3 5 any
1 4 8 any
5 8 8 any
Exceptions:
throws java.io.IOException, com.sun.tools.javac.jvm.ModuleNameReader$BadClassFile
MethodParameters:
Name Flags
jfo
public java.lang.String readModuleName(java.io.InputStream);
descriptor: (Ljava/io/InputStream;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=9, args_size=2
start local 0 start local 1 0: aload 0
iconst_0
putfield com.sun.tools.javac.jvm.ModuleNameReader.bp:I
1: aload 0
aload 0
getfield com.sun.tools.javac.jvm.ModuleNameReader.buf:[B
aload 1
invokestatic com.sun.tools.javac.jvm.ModuleNameReader.readInputStream:([BLjava/io/InputStream;)[B
putfield com.sun.tools.javac.jvm.ModuleNameReader.buf:[B
2: aload 0
invokevirtual com.sun.tools.javac.jvm.ModuleNameReader.nextInt:()I
istore 2
start local 2 3: iload 2
ldc -889275714
if_icmpeq 5
4: new com.sun.tools.javac.jvm.ModuleNameReader$BadClassFile
dup
ldc "illegal.start.of.class.file"
invokespecial com.sun.tools.javac.jvm.ModuleNameReader$BadClassFile.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: int
StackMap stack:
aload 0
invokevirtual com.sun.tools.javac.jvm.ModuleNameReader.nextChar:()C
pop
6: aload 0
invokevirtual com.sun.tools.javac.jvm.ModuleNameReader.nextChar:()C
istore 3
start local 3 7: iload 3
bipush 53
if_icmpge 9
8: new com.sun.tools.javac.jvm.ModuleNameReader$BadClassFile
dup
new java.lang.StringBuilder
dup
ldc "bad major version number for module: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 3
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial com.sun.tools.javac.jvm.ModuleNameReader$BadClassFile.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals: int
StackMap stack:
aload 0
invokevirtual com.sun.tools.javac.jvm.ModuleNameReader.indexPool:()V
10: aload 0
invokevirtual com.sun.tools.javac.jvm.ModuleNameReader.nextChar:()C
istore 4
start local 4 11: iload 4
ldc 32768
if_icmpeq 13
12: new com.sun.tools.javac.jvm.ModuleNameReader$BadClassFile
dup
new java.lang.StringBuilder
dup
ldc "invalid access flags for module: 0x"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 4
invokestatic java.lang.Integer.toHexString:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial com.sun.tools.javac.jvm.ModuleNameReader$BadClassFile.<init>:(Ljava/lang/String;)V
athrow
13: StackMap locals: int
StackMap stack:
aload 0
invokevirtual com.sun.tools.javac.jvm.ModuleNameReader.nextChar:()C
pop
14: aload 0
aload 0
invokevirtual com.sun.tools.javac.jvm.ModuleNameReader.nextChar:()C
ldc "super_class"
invokevirtual com.sun.tools.javac.jvm.ModuleNameReader.checkZero:(ILjava/lang/String;)V
15: aload 0
aload 0
invokevirtual com.sun.tools.javac.jvm.ModuleNameReader.nextChar:()C
ldc "interface_count"
invokevirtual com.sun.tools.javac.jvm.ModuleNameReader.checkZero:(ILjava/lang/String;)V
16: aload 0
aload 0
invokevirtual com.sun.tools.javac.jvm.ModuleNameReader.nextChar:()C
ldc "fields_count"
invokevirtual com.sun.tools.javac.jvm.ModuleNameReader.checkZero:(ILjava/lang/String;)V
17: aload 0
aload 0
invokevirtual com.sun.tools.javac.jvm.ModuleNameReader.nextChar:()C
ldc "methods_count"
invokevirtual com.sun.tools.javac.jvm.ModuleNameReader.checkZero:(ILjava/lang/String;)V
18: aload 0
invokevirtual com.sun.tools.javac.jvm.ModuleNameReader.nextChar:()C
istore 5
start local 5 19: iconst_0
istore 6
start local 6 20: goto 27
21: StackMap locals: int int
StackMap stack:
aload 0
invokevirtual com.sun.tools.javac.jvm.ModuleNameReader.nextChar:()C
istore 7
start local 7 22: aload 0
invokevirtual com.sun.tools.javac.jvm.ModuleNameReader.nextInt:()I
istore 8
start local 8 23: aload 0
iload 7
iconst_0
invokevirtual com.sun.tools.javac.jvm.ModuleNameReader.getUtf8Value:(IZ)Ljava/lang/String;
ldc "Module"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 25
iload 8
iconst_2
if_icmple 25
24: aload 0
aload 0
invokevirtual com.sun.tools.javac.jvm.ModuleNameReader.nextChar:()C
invokevirtual com.sun.tools.javac.jvm.ModuleNameReader.getModuleName:(I)Ljava/lang/String;
areturn
25: StackMap locals: int int
StackMap stack:
aload 0
dup
getfield com.sun.tools.javac.jvm.ModuleNameReader.bp:I
iload 8
iadd
putfield com.sun.tools.javac.jvm.ModuleNameReader.bp:I
end local 8 end local 7 26: iinc 6 1
StackMap locals:
StackMap stack:
27: iload 6
iload 5
if_icmplt 21
end local 6 28: new com.sun.tools.javac.jvm.ModuleNameReader$BadClassFile
dup
ldc "no Module attribute"
invokespecial com.sun.tools.javac.jvm.ModuleNameReader$BadClassFile.<init>:(Ljava/lang/String;)V
athrow
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 this Lcom/sun/tools/javac/jvm/ModuleNameReader;
0 29 1 in Ljava/io/InputStream;
3 29 2 magic I
7 29 3 majorVersion I
11 29 4 access_flags I
19 29 5 attributes_count I
20 28 6 i I
22 26 7 attr_name I
23 26 8 attr_length I
Exceptions:
throws java.io.IOException, com.sun.tools.javac.jvm.ModuleNameReader$BadClassFile
MethodParameters:
Name Flags
in
void checkZero(int, java.lang.String);
descriptor: (ILjava/lang/String;)V
flags: (0x0000)
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 1
ifeq 2
1: new com.sun.tools.javac.jvm.ModuleNameReader$BadClassFile
dup
new java.lang.StringBuilder
dup
ldc "invalid "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " for module: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial com.sun.tools.javac.jvm.ModuleNameReader$BadClassFile.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/javac/jvm/ModuleNameReader;
0 3 1 count I
0 3 2 name Ljava/lang/String;
Exceptions:
throws com.sun.tools.javac.jvm.ModuleNameReader$BadClassFile
MethodParameters:
Name Flags
count
name
char getChar(int);
descriptor: (I)C
flags: (0x0000)
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.javac.jvm.ModuleNameReader.buf:[B
iload 1
baload
sipush 255
iand
bipush 8
ishl
aload 0
getfield com.sun.tools.javac.jvm.ModuleNameReader.buf:[B
iload 1
iconst_1
iadd
baload
sipush 255
iand
iadd
i2c
1: ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/javac/jvm/ModuleNameReader;
0 2 1 bp I
MethodParameters:
Name Flags
bp
char nextChar();
descriptor: ()C
flags: (0x0000)
Code:
stack=6, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.javac.jvm.ModuleNameReader.buf:[B
aload 0
dup
getfield com.sun.tools.javac.jvm.ModuleNameReader.bp:I
dup_x1
iconst_1
iadd
putfield com.sun.tools.javac.jvm.ModuleNameReader.bp:I
baload
sipush 255
iand
bipush 8
ishl
aload 0
getfield com.sun.tools.javac.jvm.ModuleNameReader.buf:[B
aload 0
dup
getfield com.sun.tools.javac.jvm.ModuleNameReader.bp:I
dup_x1
iconst_1
iadd
putfield com.sun.tools.javac.jvm.ModuleNameReader.bp:I
baload
sipush 255
iand
iadd
i2c
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/javac/jvm/ModuleNameReader;
int nextInt();
descriptor: ()I
flags: (0x0000)
Code:
stack=6, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.javac.jvm.ModuleNameReader.buf:[B
aload 0
dup
getfield com.sun.tools.javac.jvm.ModuleNameReader.bp:I
dup_x1
iconst_1
iadd
putfield com.sun.tools.javac.jvm.ModuleNameReader.bp:I
baload
sipush 255
iand
bipush 24
ishl
1: aload 0
getfield com.sun.tools.javac.jvm.ModuleNameReader.buf:[B
aload 0
dup
getfield com.sun.tools.javac.jvm.ModuleNameReader.bp:I
dup_x1
iconst_1
iadd
putfield com.sun.tools.javac.jvm.ModuleNameReader.bp:I
baload
sipush 255
iand
bipush 16
ishl
2: iadd
3: aload 0
getfield com.sun.tools.javac.jvm.ModuleNameReader.buf:[B
aload 0
dup
getfield com.sun.tools.javac.jvm.ModuleNameReader.bp:I
dup_x1
iconst_1
iadd
putfield com.sun.tools.javac.jvm.ModuleNameReader.bp:I
baload
sipush 255
iand
bipush 8
ishl
4: iadd
5: aload 0
getfield com.sun.tools.javac.jvm.ModuleNameReader.buf:[B
aload 0
dup
getfield com.sun.tools.javac.jvm.ModuleNameReader.bp:I
dup_x1
iconst_1
iadd
putfield com.sun.tools.javac.jvm.ModuleNameReader.bp:I
baload
sipush 255
iand
6: iadd
7: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/tools/javac/jvm/ModuleNameReader;
void indexPool();
descriptor: ()V
flags: (0x0000)
Code:
stack=5, locals=4, args_size=1
start local 0 0: aload 0
aload 0
invokevirtual com.sun.tools.javac.jvm.ModuleNameReader.nextChar:()C
newarray 10
putfield com.sun.tools.javac.jvm.ModuleNameReader.poolIdx:[I
1: iconst_1
istore 1
start local 1 2: goto 19
3: StackMap locals: int
StackMap stack:
aload 0
getfield com.sun.tools.javac.jvm.ModuleNameReader.poolIdx:[I
iload 1
iinc 1 1
aload 0
getfield com.sun.tools.javac.jvm.ModuleNameReader.bp:I
iastore
4: aload 0
getfield com.sun.tools.javac.jvm.ModuleNameReader.buf:[B
aload 0
dup
getfield com.sun.tools.javac.jvm.ModuleNameReader.bp:I
dup_x1
iconst_1
iadd
putfield com.sun.tools.javac.jvm.ModuleNameReader.bp:I
baload
istore 2
start local 2 5: iload 2
tableswitch { // 1 - 20
1: 6
2: 6
3: 13
4: 13
5: 15
6: 15
7: 9
8: 9
9: 13
10: 13
11: 13
12: 13
13: 18
14: 18
15: 11
16: 9
17: 18
18: 13
19: 9
20: 9
default: 18
}
6: StackMap locals: int
StackMap stack:
aload 0
invokevirtual com.sun.tools.javac.jvm.ModuleNameReader.nextChar:()C
istore 3
start local 3 7: aload 0
dup
getfield com.sun.tools.javac.jvm.ModuleNameReader.bp:I
iload 3
iadd
putfield com.sun.tools.javac.jvm.ModuleNameReader.bp:I
8: goto 19
end local 3 9: StackMap locals:
StackMap stack:
aload 0
dup
getfield com.sun.tools.javac.jvm.ModuleNameReader.bp:I
iconst_2
iadd
putfield com.sun.tools.javac.jvm.ModuleNameReader.bp:I
10: goto 19
11: StackMap locals:
StackMap stack:
aload 0
dup
getfield com.sun.tools.javac.jvm.ModuleNameReader.bp:I
iconst_3
iadd
putfield com.sun.tools.javac.jvm.ModuleNameReader.bp:I
12: goto 19
13: StackMap locals:
StackMap stack:
aload 0
dup
getfield com.sun.tools.javac.jvm.ModuleNameReader.bp:I
iconst_4
iadd
putfield com.sun.tools.javac.jvm.ModuleNameReader.bp:I
14: goto 19
15: StackMap locals:
StackMap stack:
aload 0
dup
getfield com.sun.tools.javac.jvm.ModuleNameReader.bp:I
bipush 8
iadd
putfield com.sun.tools.javac.jvm.ModuleNameReader.bp:I
16: iinc 1 1
17: goto 19
18: StackMap locals:
StackMap stack:
new com.sun.tools.javac.jvm.ModuleNameReader$BadClassFile
dup
ldc "malformed constant pool"
invokespecial com.sun.tools.javac.jvm.ModuleNameReader$BadClassFile.<init>:(Ljava/lang/String;)V
athrow
end local 2 19: StackMap locals:
StackMap stack:
iload 1
aload 0
getfield com.sun.tools.javac.jvm.ModuleNameReader.poolIdx:[I
arraylength
if_icmplt 3
20: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lcom/sun/tools/javac/jvm/ModuleNameReader;
2 21 1 i I
5 19 2 tag B
7 9 3 len I
Exceptions:
throws com.sun.tools.javac.jvm.ModuleNameReader$BadClassFile
java.lang.String getUtf8Value(int, boolean);
descriptor: (IZ)Ljava/lang/String;
flags: (0x0000)
Code:
stack=5, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.sun.tools.javac.jvm.ModuleNameReader.poolIdx:[I
iload 1
iaload
istore 3
start local 3 1: aload 0
getfield com.sun.tools.javac.jvm.ModuleNameReader.buf:[B
iload 3
baload
iconst_1
if_icmpne 7
2: aload 0
iload 3
iconst_1
iadd
invokevirtual com.sun.tools.javac.jvm.ModuleNameReader.getChar:(I)C
istore 4
start local 4 3: iload 3
iconst_3
iadd
istore 5
start local 5 4: iload 2
ifeq 6
5: aload 0
getfield com.sun.tools.javac.jvm.ModuleNameReader.buf:[B
iload 5
iload 4
invokestatic com.sun.tools.javac.jvm.ClassFile.internalize:([BII)[B
invokestatic com.sun.tools.javac.util.Convert.utf2string:([B)Ljava/lang/String;
areturn
6: StackMap locals: int int int
StackMap stack:
aload 0
getfield com.sun.tools.javac.jvm.ModuleNameReader.buf:[B
iload 5
iload 4
invokestatic com.sun.tools.javac.util.Convert.utf2string:([BII)Ljava/lang/String;
areturn
end local 5 end local 4 7: StackMap locals:
StackMap stack:
new com.sun.tools.javac.jvm.ModuleNameReader$BadClassFile
dup
new java.lang.StringBuilder
dup
ldc "bad name at index "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial com.sun.tools.javac.jvm.ModuleNameReader$BadClassFile.<init>:(Ljava/lang/String;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/tools/javac/jvm/ModuleNameReader;
0 8 1 index I
0 8 2 internalize Z
1 8 3 utf8Index I
3 7 4 len I
4 7 5 start I
Exceptions:
throws com.sun.tools.javac.jvm.ModuleNameReader$BadClassFile
MethodParameters:
Name Flags
index
internalize
java.lang.String getModuleName(int);
descriptor: (I)Ljava/lang/String;
flags: (0x0000)
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.javac.jvm.ModuleNameReader.poolIdx:[I
iload 1
iaload
istore 2
start local 2 1: aload 0
getfield com.sun.tools.javac.jvm.ModuleNameReader.buf:[B
iload 2
baload
bipush 19
if_icmpne 3
2: aload 0
aload 0
iload 2
iconst_1
iadd
invokevirtual com.sun.tools.javac.jvm.ModuleNameReader.getChar:(I)C
iconst_1
invokevirtual com.sun.tools.javac.jvm.ModuleNameReader.getUtf8Value:(IZ)Ljava/lang/String;
areturn
3: StackMap locals: int
StackMap stack:
new com.sun.tools.javac.jvm.ModuleNameReader$BadClassFile
dup
new java.lang.StringBuilder
dup
ldc "bad module name at index "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial com.sun.tools.javac.jvm.ModuleNameReader$BadClassFile.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/tools/javac/jvm/ModuleNameReader;
0 4 1 index I
1 4 2 infoIndex I
Exceptions:
throws com.sun.tools.javac.jvm.ModuleNameReader$BadClassFile
MethodParameters:
Name Flags
index
private static byte[] readInputStream(byte[], java.io.InputStream);
descriptor: ([BLjava/io/InputStream;)[B
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual java.io.InputStream.available:()I
invokestatic com.sun.tools.javac.jvm.ModuleNameReader.ensureCapacity:([BI)[B
astore 0
1: aload 1
aload 0
invokevirtual java.io.InputStream.read:([B)I
istore 2
start local 2 2: iconst_0
istore 3
start local 3 3: goto 7
4: StackMap locals: int int
StackMap stack:
iload 3
iload 2
iadd
istore 3
5: aload 0
iload 3
invokestatic com.sun.tools.javac.jvm.ModuleNameReader.ensureCapacity:([BI)[B
astore 0
6: aload 1
aload 0
iload 3
aload 0
arraylength
iload 3
isub
invokevirtual java.io.InputStream.read:([BII)I
istore 2
7: StackMap locals:
StackMap stack:
iload 2
iconst_m1
if_icmpne 4
8: aload 0
astore 5
9: aload 1
invokevirtual java.io.InputStream.close:()V
10: goto 12
StackMap locals: byte[] java.io.InputStream int int top byte[]
StackMap stack: java.io.IOException
11: pop
12: StackMap locals:
StackMap stack:
aload 5
areturn
end local 3 end local 2 13: StackMap locals: byte[] java.io.InputStream
StackMap stack: java.lang.Throwable
astore 4
14: aload 1
invokevirtual java.io.InputStream.close:()V
15: goto 17
StackMap locals: byte[] java.io.InputStream top top java.lang.Throwable
StackMap stack: java.io.IOException
16: pop
17: StackMap locals:
StackMap stack:
aload 4
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 buf [B
0 18 1 s Ljava/io/InputStream;
2 13 2 r I
3 13 3 bp I
Exception table:
from to target type
9 10 11 Class java.io.IOException
0 9 13 any
14 15 16 Class java.io.IOException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
buf
s
private static byte[] ensureCapacity(byte[], int);
descriptor: ([BI)[B
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
arraylength
iload 1
if_icmpgt 4
1: aload 0
astore 2
start local 2 2: iload 1
invokestatic java.lang.Integer.highestOneBit:(I)I
iconst_1
ishl
newarray 8
astore 0
3: aload 2
iconst_0
aload 0
iconst_0
aload 2
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
end local 2 4: StackMap locals:
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 buf [B
0 5 1 needed I
2 4 2 old [B
MethodParameters:
Name Flags
buf
needed
}
SourceFile: "ModuleNameReader.java"
NestMembers:
com.sun.tools.javac.jvm.ModuleNameReader$BadClassFile
InnerClasses:
public BadClassFile = com.sun.tools.javac.jvm.ModuleNameReader$BadClassFile of com.sun.tools.javac.jvm.ModuleNameReader