public class com.oracle.truffle.api.instrumentation.test.InstrumentationTest$TestOutputConsumerPiped extends com.oracle.truffle.api.instrumentation.TruffleInstrument
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.oracle.truffle.api.instrumentation.test.InstrumentationTest$TestOutputConsumerPiped
super_class: com.oracle.truffle.api.instrumentation.TruffleInstrument
{
static java.io.PipedOutputStream out;
descriptor: Ljava/io/PipedOutputStream;
flags: (0x0008) ACC_STATIC
static java.io.Reader fromOut;
descriptor: Ljava/io/Reader;
flags: (0x0008) ACC_STATIC
static java.io.PipedOutputStream err;
descriptor: Ljava/io/PipedOutputStream;
flags: (0x0008) ACC_STATIC
static java.io.Reader fromErr;
descriptor: Ljava/io/Reader;
flags: (0x0008) ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new java.io.PipedOutputStream
dup
invokespecial java.io.PipedOutputStream.<init>:()V
putstatic com.oracle.truffle.api.instrumentation.test.InstrumentationTest$TestOutputConsumerPiped.out:Ljava/io/PipedOutputStream;
1: new java.io.PipedOutputStream
dup
invokespecial java.io.PipedOutputStream.<init>:()V
putstatic com.oracle.truffle.api.instrumentation.test.InstrumentationTest$TestOutputConsumerPiped.err:Ljava/io/PipedOutputStream;
2: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial com.oracle.truffle.api.instrumentation.TruffleInstrument.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/api/instrumentation/test/InstrumentationTest$TestOutputConsumerPiped;
protected void onCreate(com.oracle.truffle.api.instrumentation.TruffleInstrument$Env);
descriptor: (Lcom/oracle/truffle/api/instrumentation/TruffleInstrument$Env;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: new java.io.InputStreamReader
dup
new java.io.PipedInputStream
dup
getstatic com.oracle.truffle.api.instrumentation.test.InstrumentationTest$TestOutputConsumerPiped.out:Ljava/io/PipedOutputStream;
invokespecial java.io.PipedInputStream.<init>:(Ljava/io/PipedOutputStream;)V
invokespecial java.io.InputStreamReader.<init>:(Ljava/io/InputStream;)V
putstatic com.oracle.truffle.api.instrumentation.test.InstrumentationTest$TestOutputConsumerPiped.fromOut:Ljava/io/Reader;
1: new java.io.InputStreamReader
dup
new java.io.PipedInputStream
dup
getstatic com.oracle.truffle.api.instrumentation.test.InstrumentationTest$TestOutputConsumerPiped.err:Ljava/io/PipedOutputStream;
invokespecial java.io.PipedInputStream.<init>:(Ljava/io/PipedOutputStream;)V
invokespecial java.io.InputStreamReader.<init>:(Ljava/io/InputStream;)V
putstatic com.oracle.truffle.api.instrumentation.test.InstrumentationTest$TestOutputConsumerPiped.fromErr:Ljava/io/Reader;
2: goto 5
StackMap locals:
StackMap stack: java.io.IOException
3: astore 2
start local 2 4: new java.lang.AssertionError
dup
aload 2
invokevirtual java.io.IOException.getLocalizedMessage:()Ljava/lang/String;
aload 2
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 5: StackMap locals:
StackMap stack:
aload 1
invokevirtual com.oracle.truffle.api.instrumentation.TruffleInstrument$Env.getInstrumenter:()Lcom/oracle/truffle/api/instrumentation/Instrumenter;
getstatic com.oracle.truffle.api.instrumentation.test.InstrumentationTest$TestOutputConsumerPiped.out:Ljava/io/PipedOutputStream;
invokevirtual com.oracle.truffle.api.instrumentation.Instrumenter.attachOutConsumer:(Ljava/io/OutputStream;)Lcom/oracle/truffle/api/instrumentation/EventBinding;
pop
6: aload 1
invokevirtual com.oracle.truffle.api.instrumentation.TruffleInstrument$Env.getInstrumenter:()Lcom/oracle/truffle/api/instrumentation/Instrumenter;
getstatic com.oracle.truffle.api.instrumentation.test.InstrumentationTest$TestOutputConsumerPiped.err:Ljava/io/PipedOutputStream;
invokevirtual com.oracle.truffle.api.instrumentation.Instrumenter.attachErrConsumer:(Ljava/io/OutputStream;)Lcom/oracle/truffle/api/instrumentation/EventBinding;
pop
7: aload 1
new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
invokevirtual com.oracle.truffle.api.instrumentation.TruffleInstrument$Env.registerService:(Ljava/lang/Object;)V
8: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/oracle/truffle/api/instrumentation/test/InstrumentationTest$TestOutputConsumerPiped;
0 9 1 env Lcom/oracle/truffle/api/instrumentation/TruffleInstrument$Env;
4 5 2 ex Ljava/io/IOException;
Exception table:
from to target type
0 2 3 Class java.io.IOException
MethodParameters:
Name Flags
env
java.io.Reader fromOut();
descriptor: ()Ljava/io/Reader;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic com.oracle.truffle.api.instrumentation.test.InstrumentationTest$TestOutputConsumerPiped.fromOut:Ljava/io/Reader;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/api/instrumentation/test/InstrumentationTest$TestOutputConsumerPiped;
java.io.Reader fromErr();
descriptor: ()Ljava/io/Reader;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic com.oracle.truffle.api.instrumentation.test.InstrumentationTest$TestOutputConsumerPiped.fromErr:Ljava/io/Reader;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/api/instrumentation/test/InstrumentationTest$TestOutputConsumerPiped;
}
SourceFile: "InstrumentationTest.java"
NestHost: com.oracle.truffle.api.instrumentation.test.InstrumentationTest
InnerClasses:
public final Env = com.oracle.truffle.api.instrumentation.TruffleInstrument$Env of com.oracle.truffle.api.instrumentation.TruffleInstrument
public abstract Registration = com.oracle.truffle.api.instrumentation.TruffleInstrument$Registration of com.oracle.truffle.api.instrumentation.TruffleInstrument
public TestOutputConsumerPiped = com.oracle.truffle.api.instrumentation.test.InstrumentationTest$TestOutputConsumerPiped of com.oracle.truffle.api.instrumentation.test.InstrumentationTest
RuntimeVisibleAnnotations:
com.oracle.truffle.api.instrumentation.TruffleInstrument$Registration(id = "testOutputConsumerPiped", services = {Ljava/lang/Object;})