class com.sun.tools.example.debug.bdi.ChildSession$OutputReader extends java.lang.Thread
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.tools.example.debug.bdi.ChildSession$OutputReader
super_class: java.lang.Thread
{
private java.lang.String streamName;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.io.BufferedReader stream;
descriptor: Ljava/io/BufferedReader;
flags: (0x0002) ACC_PRIVATE
private com.sun.tools.example.debug.bdi.OutputListener output;
descriptor: Lcom/sun/tools/example/debug/bdi/OutputListener;
flags: (0x0002) ACC_PRIVATE
private com.sun.tools.example.debug.bdi.OutputListener diagnostics;
descriptor: Lcom/sun/tools/example/debug/bdi/OutputListener;
flags: (0x0002) ACC_PRIVATE
private boolean running;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private char[] buffer;
descriptor: [C
flags: (0x0002) ACC_PRIVATE
void <init>(java.lang.String, java.lang.String, java.io.BufferedReader, com.sun.tools.example.debug.bdi.OutputListener, com.sun.tools.example.debug.bdi.OutputListener);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/io/BufferedReader;Lcom/sun/tools/example/debug/bdi/OutputListener;Lcom/sun/tools/example/debug/bdi/OutputListener;)V
flags: (0x0000)
Code:
stack=2, locals=6, args_size=6
start local 0 // com.sun.tools.example.debug.bdi.ChildSession$OutputReader this
start local 1 // java.lang.String threadName
start local 2 // java.lang.String streamName
start local 3 // java.io.BufferedReader stream
start local 4 // com.sun.tools.example.debug.bdi.OutputListener output
start local 5 // com.sun.tools.example.debug.bdi.OutputListener diagnostics
0: .line 245
aload 0 /* this */
aload 1 /* threadName */
invokespecial java.lang.Thread.<init>:(Ljava/lang/String;)V
1: .line 237
aload 0 /* this */
iconst_1
putfield com.sun.tools.example.debug.bdi.ChildSession$OutputReader.running:Z
2: .line 238
aload 0 /* this */
sipush 512
newarray 5
putfield com.sun.tools.example.debug.bdi.ChildSession$OutputReader.buffer:[C
3: .line 246
aload 0 /* this */
aload 2 /* streamName */
putfield com.sun.tools.example.debug.bdi.ChildSession$OutputReader.streamName:Ljava/lang/String;
4: .line 247
aload 0 /* this */
aload 3 /* stream */
putfield com.sun.tools.example.debug.bdi.ChildSession$OutputReader.stream:Ljava/io/BufferedReader;
5: .line 248
aload 0 /* this */
aload 4 /* output */
putfield com.sun.tools.example.debug.bdi.ChildSession$OutputReader.output:Lcom/sun/tools/example/debug/bdi/OutputListener;
6: .line 249
aload 0 /* this */
aload 5 /* diagnostics */
putfield com.sun.tools.example.debug.bdi.ChildSession$OutputReader.diagnostics:Lcom/sun/tools/example/debug/bdi/OutputListener;
7: .line 250
return
end local 5 // com.sun.tools.example.debug.bdi.OutputListener diagnostics
end local 4 // com.sun.tools.example.debug.bdi.OutputListener output
end local 3 // java.io.BufferedReader stream
end local 2 // java.lang.String streamName
end local 1 // java.lang.String threadName
end local 0 // com.sun.tools.example.debug.bdi.ChildSession$OutputReader this
LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/tools/example/debug/bdi/ChildSession$OutputReader;
0 8 1 threadName Ljava/lang/String;
0 8 2 streamName Ljava/lang/String;
0 8 3 stream Ljava/io/BufferedReader;
0 8 4 output Lcom/sun/tools/example/debug/bdi/OutputListener;
0 8 5 diagnostics Lcom/sun/tools/example/debug/bdi/OutputListener;
MethodParameters:
Name Flags
threadName
streamName
stream
output
diagnostics
public void run();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=1
start local 0 // com.sun.tools.example.debug.bdi.ChildSession$OutputReader this
0: .line 256
goto 4
start local 1 // int count
1: .line 257
StackMap locals: int
StackMap stack:
iload 1 /* count */
ifle 4
2: .line 259
new java.lang.String
dup
aload 0 /* this */
getfield com.sun.tools.example.debug.bdi.ChildSession$OutputReader.buffer:[C
iconst_0
iload 1 /* count */
invokespecial java.lang.String.<init>:([CII)V
astore 2 /* chars */
start local 2 // java.lang.String chars
3: .line 260
new com.sun.tools.example.debug.bdi.ChildSession$OutputReader$1
dup
aload 0 /* this */
aload 2 /* chars */
invokespecial com.sun.tools.example.debug.bdi.ChildSession$OutputReader$1.<init>:(Lcom/sun/tools/example/debug/bdi/ChildSession$OutputReader;Ljava/lang/String;)V
invokestatic javax.swing.SwingUtilities.invokeLater:(Ljava/lang/Runnable;)V
end local 2 // java.lang.String chars
end local 1 // int count
4: .line 256
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield com.sun.tools.example.debug.bdi.ChildSession$OutputReader.running:Z
ifeq 9
aload 0 /* this */
getfield com.sun.tools.example.debug.bdi.ChildSession$OutputReader.stream:Ljava/io/BufferedReader;
aload 0 /* this */
getfield com.sun.tools.example.debug.bdi.ChildSession$OutputReader.buffer:[C
iconst_0
sipush 512
invokevirtual java.io.BufferedReader.read:([CII)I
dup
istore 1 /* count */
start local 1 // int count
5: iconst_m1
if_icmpne 1
end local 1 // int count
6: .line 269
goto 9
StackMap locals:
StackMap stack: java.io.IOException
7: pop
8: .line 271
new com.sun.tools.example.debug.bdi.ChildSession$OutputReader$2
dup
aload 0 /* this */
invokespecial com.sun.tools.example.debug.bdi.ChildSession$OutputReader$2.<init>:(Lcom/sun/tools/example/debug/bdi/ChildSession$OutputReader;)V
invokestatic javax.swing.SwingUtilities.invokeLater:(Ljava/lang/Runnable;)V
9: .line 280
StackMap locals:
StackMap stack:
return
end local 0 // com.sun.tools.example.debug.bdi.ChildSession$OutputReader this
LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/tools/example/debug/bdi/ChildSession$OutputReader;
1 4 1 count I
5 6 1 count I
3 4 2 chars Ljava/lang/String;
Exception table:
from to target type
0 6 7 Class java.io.IOException
}
SourceFile: "ChildSession.java"
NestHost: com.sun.tools.example.debug.bdi.ChildSession
InnerClasses:
private OutputReader = com.sun.tools.example.debug.bdi.ChildSession$OutputReader of com.sun.tools.example.debug.bdi.ChildSession
com.sun.tools.example.debug.bdi.ChildSession$OutputReader$1
com.sun.tools.example.debug.bdi.ChildSession$OutputReader$2