class com.oracle.truffle.llvm.tests.util.ProcessUtil$StreamReader$1 implements java.lang.Runnable
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.oracle.truffle.llvm.tests.util.ProcessUtil$StreamReader$1
super_class: java.lang.Object
{
final com.oracle.truffle.llvm.tests.util.ProcessUtil$StreamReader this$1;
descriptor: Lcom/oracle/truffle/llvm/tests/util/ProcessUtil$StreamReader;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private final java.io.InputStream val$inputStream;
descriptor: Ljava/io/InputStream;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(com.oracle.truffle.llvm.tests.util.ProcessUtil$StreamReader, java.io.InputStream);
descriptor: (Lcom/oracle/truffle/llvm/tests/util/ProcessUtil$StreamReader;Ljava/io/InputStream;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 // com.oracle.truffle.llvm.tests.util.ProcessUtil$StreamReader$1 this
0: .line 258
aload 0 /* this */
aload 1
putfield com.oracle.truffle.llvm.tests.util.ProcessUtil$StreamReader$1.this$1:Lcom/oracle/truffle/llvm/tests/util/ProcessUtil$StreamReader;
aload 0 /* this */
aload 2
putfield com.oracle.truffle.llvm.tests.util.ProcessUtil$StreamReader$1.val$inputStream:Ljava/io/InputStream;
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
return
end local 0 // com.oracle.truffle.llvm.tests.util.ProcessUtil$StreamReader$1 this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/llvm/tests/util/ProcessUtil$StreamReader$1;
MethodParameters:
Name Flags
this$0 final
val$inputStream final
public void run();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=1
start local 0 // com.oracle.truffle.llvm.tests.util.ProcessUtil$StreamReader$1 this
0: .line 263
sipush 1024
newarray 8
astore 1 /* buffer */
start local 1 // byte[] buffer
1: .line 265
goto 3
start local 2 // int length
2: .line 266
StackMap locals: byte[] int
StackMap stack:
aload 0 /* this */
getfield com.oracle.truffle.llvm.tests.util.ProcessUtil$StreamReader$1.this$1:Lcom/oracle/truffle/llvm/tests/util/ProcessUtil$StreamReader;
getfield com.oracle.truffle.llvm.tests.util.ProcessUtil$StreamReader.result:Ljava/io/ByteArrayOutputStream;
aload 1 /* buffer */
iconst_0
iload 2 /* length */
invokevirtual java.io.ByteArrayOutputStream.write:([BII)V
end local 2 // int length
3: .line 265
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield com.oracle.truffle.llvm.tests.util.ProcessUtil$StreamReader$1.val$inputStream:Ljava/io/InputStream;
aload 1 /* buffer */
invokevirtual java.io.InputStream.read:([B)I
dup
istore 2 /* length */
start local 2 // int length
4: iconst_m1
if_icmpne 2
end local 2 // int length
end local 1 // byte[] buffer
5: .line 268
goto 8
StackMap locals: com.oracle.truffle.llvm.tests.util.ProcessUtil$StreamReader$1
StackMap stack: java.io.IOException
6: astore 1 /* ex */
start local 1 // java.io.IOException ex
7: .line 270
aload 0 /* this */
getfield com.oracle.truffle.llvm.tests.util.ProcessUtil$StreamReader$1.this$1:Lcom/oracle/truffle/llvm/tests/util/ProcessUtil$StreamReader;
aload 1 /* ex */
putfield com.oracle.truffle.llvm.tests.util.ProcessUtil$StreamReader.exception:Ljava/io/IOException;
end local 1 // java.io.IOException ex
8: .line 272
StackMap locals:
StackMap stack:
return
end local 0 // com.oracle.truffle.llvm.tests.util.ProcessUtil$StreamReader$1 this
LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/oracle/truffle/llvm/tests/util/ProcessUtil$StreamReader$1;
1 5 1 buffer [B
2 3 2 length I
4 5 2 length I
7 8 1 ex Ljava/io/IOException;
Exception table:
from to target type
0 5 6 Class java.io.IOException
}
SourceFile: "ProcessUtil.java"
EnclosingMethod: com.oracle.truffle.llvm.tests.util.ProcessUtil$StreamReader.<init>:(Ljava/io/InputStream;)V
NestHost: com.oracle.truffle.llvm.tests.util.ProcessUtil
InnerClasses:
private StreamReader = com.oracle.truffle.llvm.tests.util.ProcessUtil$StreamReader of com.oracle.truffle.llvm.tests.util.ProcessUtil
com.oracle.truffle.llvm.tests.util.ProcessUtil$StreamReader$1