class com.oracle.truffle.llvm.tests.util.ProcessUtil$StreamReader
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.oracle.truffle.llvm.tests.util.ProcessUtil$StreamReader
super_class: java.lang.Object
{
private final java.lang.Thread thread;
descriptor: Ljava/lang/Thread;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.io.ByteArrayOutputStream result;
descriptor: Ljava/io/ByteArrayOutputStream;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.io.IOException exception;
descriptor: Ljava/io/IOException;
flags: (0x0002) ACC_PRIVATE
static com.oracle.truffle.llvm.tests.util.ProcessUtil$StreamReader read(java.io.InputStream);
descriptor: (Ljava/io/InputStream;)Lcom/oracle/truffle/llvm/tests/util/ProcessUtil$StreamReader;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 // java.io.InputStream inputStream
0: .line 251
new com.oracle.truffle.llvm.tests.util.ProcessUtil$StreamReader
dup
aload 0 /* inputStream */
invokespecial com.oracle.truffle.llvm.tests.util.ProcessUtil$StreamReader.<init>:(Ljava/io/InputStream;)V
astore 1 /* ret */
start local 1 // com.oracle.truffle.llvm.tests.util.ProcessUtil$StreamReader ret
1: .line 252
aload 1 /* ret */
getfield com.oracle.truffle.llvm.tests.util.ProcessUtil$StreamReader.thread:Ljava/lang/Thread;
invokevirtual java.lang.Thread.start:()V
2: .line 253
aload 1 /* ret */
areturn
end local 1 // com.oracle.truffle.llvm.tests.util.ProcessUtil$StreamReader ret
end local 0 // java.io.InputStream inputStream
LocalVariableTable:
Start End Slot Name Signature
0 3 0 inputStream Ljava/io/InputStream;
1 3 1 ret Lcom/oracle/truffle/llvm/tests/util/ProcessUtil$StreamReader;
MethodParameters:
Name Flags
inputStream
void <init>(java.io.InputStream);
descriptor: (Ljava/io/InputStream;)V
flags: (0x0000)
Code:
stack=7, locals=2, args_size=2
start local 0 // com.oracle.truffle.llvm.tests.util.ProcessUtil$StreamReader this
start local 1 // java.io.InputStream inputStream
0: .line 256
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 257
aload 0 /* this */
new java.io.ByteArrayOutputStream
dup
invokespecial java.io.ByteArrayOutputStream.<init>:()V
putfield com.oracle.truffle.llvm.tests.util.ProcessUtil$StreamReader.result:Ljava/io/ByteArrayOutputStream;
2: .line 258
aload 0 /* this */
new java.lang.Thread
dup
new com.oracle.truffle.llvm.tests.util.ProcessUtil$StreamReader$1
dup
aload 0 /* this */
aload 1 /* inputStream */
invokespecial com.oracle.truffle.llvm.tests.util.ProcessUtil$StreamReader$1.<init>:(Lcom/oracle/truffle/llvm/tests/util/ProcessUtil$StreamReader;Ljava/io/InputStream;)V
invokespecial java.lang.Thread.<init>:(Ljava/lang/Runnable;)V
putfield com.oracle.truffle.llvm.tests.util.ProcessUtil$StreamReader.thread:Ljava/lang/Thread;
3: .line 274
return
end local 1 // java.io.InputStream inputStream
end local 0 // com.oracle.truffle.llvm.tests.util.ProcessUtil$StreamReader this
LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/truffle/llvm/tests/util/ProcessUtil$StreamReader;
0 4 1 inputStream Ljava/io/InputStream;
MethodParameters:
Name Flags
inputStream
java.lang.String getResult();
descriptor: ()Ljava/lang/String;
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 // com.oracle.truffle.llvm.tests.util.ProcessUtil$StreamReader this
0: .line 278
aload 0 /* this */
getfield com.oracle.truffle.llvm.tests.util.ProcessUtil$StreamReader.thread:Ljava/lang/Thread;
ldc 5000
invokevirtual java.lang.Thread.join:(J)V
1: .line 279
aload 0 /* this */
getfield com.oracle.truffle.llvm.tests.util.ProcessUtil$StreamReader.result:Ljava/io/ByteArrayOutputStream;
invokevirtual java.io.ByteArrayOutputStream.close:()V
2: .line 280
goto 4
StackMap locals:
StackMap stack: java.lang.InterruptedException
3: pop
4: .line 283
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield com.oracle.truffle.llvm.tests.util.ProcessUtil$StreamReader.exception:Ljava/io/IOException;
ifnull 6
5: .line 284
aload 0 /* this */
getfield com.oracle.truffle.llvm.tests.util.ProcessUtil$StreamReader.exception:Ljava/io/IOException;
athrow
6: .line 286
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield com.oracle.truffle.llvm.tests.util.ProcessUtil$StreamReader.result:Ljava/io/ByteArrayOutputStream;
invokevirtual java.io.ByteArrayOutputStream.toString:()Ljava/lang/String;
areturn
end local 0 // com.oracle.truffle.llvm.tests.util.ProcessUtil$StreamReader this
LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/oracle/truffle/llvm/tests/util/ProcessUtil$StreamReader;
Exception table:
from to target type
0 2 3 Class java.lang.InterruptedException
Exceptions:
throws java.io.IOException
}
SourceFile: "ProcessUtil.java"
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