class com.sun.tools.jdi.AbstractLauncher$Helper
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.tools.jdi.AbstractLauncher$Helper
super_class: java.lang.Object
{
private final java.lang.String address;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private com.sun.jdi.connect.spi.TransportService$ListenKey listenKey;
descriptor: Lcom/sun/jdi/connect/spi/TransportService$ListenKey;
flags: (0x0002) ACC_PRIVATE
private com.sun.jdi.connect.spi.TransportService ts;
descriptor: Lcom/sun/jdi/connect/spi/TransportService;
flags: (0x0002) ACC_PRIVATE
private final java.lang.String[] commandArray;
descriptor: [Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.lang.Process process;
descriptor: Ljava/lang/Process;
flags: (0x0002) ACC_PRIVATE
private com.sun.jdi.connect.spi.Connection connection;
descriptor: Lcom/sun/jdi/connect/spi/Connection;
flags: (0x0002) ACC_PRIVATE
private java.io.IOException acceptException;
descriptor: Ljava/io/IOException;
flags: (0x0002) ACC_PRIVATE
private boolean exited;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
final com.sun.tools.jdi.AbstractLauncher this$0;
descriptor: Lcom/sun/tools/jdi/AbstractLauncher;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(com.sun.tools.jdi.AbstractLauncher, java.lang.String[], java.lang.String, com.sun.jdi.connect.spi.TransportService$ListenKey, com.sun.jdi.connect.spi.TransportService);
descriptor: (Lcom/sun/tools/jdi/AbstractLauncher;[Ljava/lang/String;Ljava/lang/String;Lcom/sun/jdi/connect/spi/TransportService$ListenKey;Lcom/sun/jdi/connect/spi/TransportService;)V
flags: (0x0000)
Code:
stack=2, locals=6, args_size=6
start local 0 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
putfield com.sun.tools.jdi.AbstractLauncher$Helper.this$0:Lcom/sun/tools/jdi/AbstractLauncher;
1: aload 0
invokespecial java.lang.Object.<init>:()V
2: aload 0
aconst_null
putfield com.sun.tools.jdi.AbstractLauncher$Helper.process:Ljava/lang/Process;
3: aload 0
aconst_null
putfield com.sun.tools.jdi.AbstractLauncher$Helper.connection:Lcom/sun/jdi/connect/spi/Connection;
4: aload 0
aconst_null
putfield com.sun.tools.jdi.AbstractLauncher$Helper.acceptException:Ljava/io/IOException;
5: aload 0
iconst_0
putfield com.sun.tools.jdi.AbstractLauncher$Helper.exited:Z
6: aload 0
aload 2
putfield com.sun.tools.jdi.AbstractLauncher$Helper.commandArray:[Ljava/lang/String;
7: aload 0
aload 3
putfield com.sun.tools.jdi.AbstractLauncher$Helper.address:Ljava/lang/String;
8: aload 0
aload 4
putfield com.sun.tools.jdi.AbstractLauncher$Helper.listenKey:Lcom/sun/jdi/connect/spi/TransportService$ListenKey;
9: aload 0
aload 5
putfield com.sun.tools.jdi.AbstractLauncher$Helper.ts:Lcom/sun/jdi/connect/spi/TransportService;
10: return
end local 5 end local 4 end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/sun/tools/jdi/AbstractLauncher$Helper;
0 11 2 commandArray [Ljava/lang/String;
0 11 3 address Ljava/lang/String;
0 11 4 listenKey Lcom/sun/jdi/connect/spi/TransportService$ListenKey;
0 11 5 ts Lcom/sun/jdi/connect/spi/TransportService;
MethodParameters:
Name Flags
this$0 final
commandArray
address
listenKey
ts
java.lang.String commandString();
descriptor: ()Ljava/lang/String;
flags: (0x0000)
Code:
stack=3, locals=3, args_size=1
start local 0 0: ldc ""
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 7
3: StackMap locals: java.lang.String int
StackMap stack:
iload 2
ifle 5
4: new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
5: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.sun.tools.jdi.AbstractLauncher$Helper.commandArray:[Ljava/lang/String;
iload 2
aaload
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
6: iinc 2 1
StackMap locals:
StackMap stack:
7: iload 2
aload 0
getfield com.sun.tools.jdi.AbstractLauncher$Helper.commandArray:[Ljava/lang/String;
arraylength
if_icmplt 3
end local 2 8: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/tools/jdi/AbstractLauncher$Helper;
1 9 1 str Ljava/lang/String;
2 8 2 i I
synchronized void launchAndAccept();
descriptor: ()V
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=5, locals=4, args_size=1
start local 0 0: aload 0
invokestatic java.lang.Runtime.getRuntime:()Ljava/lang/Runtime;
aload 0
getfield com.sun.tools.jdi.AbstractLauncher$Helper.commandArray:[Ljava/lang/String;
invokevirtual java.lang.Runtime.exec:([Ljava/lang/String;)Ljava/lang/Process;
putfield com.sun.tools.jdi.AbstractLauncher$Helper.process:Ljava/lang/Process;
1: aload 0
invokevirtual com.sun.tools.jdi.AbstractLauncher$Helper.acceptConnection:()Ljava/lang/Thread;
astore 1
start local 1 2: aload 0
invokevirtual com.sun.tools.jdi.AbstractLauncher$Helper.monitorTarget:()Ljava/lang/Thread;
astore 2
start local 2 3: goto 5
4: StackMap locals: java.lang.Thread java.lang.Thread
StackMap stack:
aload 0
invokevirtual java.lang.Object.wait:()V
5: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.jdi.AbstractLauncher$Helper.connection:Lcom/sun/jdi/connect/spi/Connection;
ifnonnull 8
6: aload 0
getfield com.sun.tools.jdi.AbstractLauncher$Helper.acceptException:Ljava/io/IOException;
ifnonnull 8
7: aload 0
getfield com.sun.tools.jdi.AbstractLauncher$Helper.exited:Z
ifeq 4
8: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.jdi.AbstractLauncher$Helper.exited:Z
ifeq 12
9: new com.sun.jdi.connect.VMStartException
dup
10: new java.lang.StringBuilder
dup
ldc "VM initialization failed for: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual com.sun.tools.jdi.AbstractLauncher$Helper.commandString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 0
getfield com.sun.tools.jdi.AbstractLauncher$Helper.process:Ljava/lang/Process;
11: invokespecial com.sun.jdi.connect.VMStartException.<init>:(Ljava/lang/String;Ljava/lang/Process;)V
athrow
12: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.jdi.AbstractLauncher$Helper.acceptException:Ljava/io/IOException;
ifnull 20
13: aload 0
getfield com.sun.tools.jdi.AbstractLauncher$Helper.acceptException:Ljava/io/IOException;
athrow
14: StackMap locals:
StackMap stack: java.lang.InterruptedException
pop
15: new java.io.InterruptedIOException
dup
ldc "Interrupted during accept"
invokespecial java.io.InterruptedIOException.<init>:(Ljava/lang/String;)V
athrow
16: StackMap locals:
StackMap stack: java.lang.Throwable
astore 3
17: aload 1
invokevirtual java.lang.Thread.interrupt:()V
18: aload 2
invokevirtual java.lang.Thread.interrupt:()V
19: aload 3
athrow
20: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.Thread.interrupt:()V
21: aload 2
invokevirtual java.lang.Thread.interrupt:()V
22: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lcom/sun/tools/jdi/AbstractLauncher$Helper;
2 23 1 acceptingThread Ljava/lang/Thread;
3 23 2 monitoringThread Ljava/lang/Thread;
Exception table:
from to target type
3 14 14 Class java.lang.InterruptedException
3 16 16 any
Exceptions:
throws java.io.IOException, com.sun.jdi.connect.VMStartException
java.lang.Process process();
descriptor: ()Ljava/lang/Process;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.jdi.AbstractLauncher$Helper.process:Ljava/lang/Process;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/jdi/AbstractLauncher$Helper;
com.sun.jdi.connect.spi.Connection connection();
descriptor: ()Lcom/sun/jdi/connect/spi/Connection;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.jdi.AbstractLauncher$Helper.connection:Lcom/sun/jdi/connect/spi/Connection;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/jdi/AbstractLauncher$Helper;
synchronized void notifyOfExit();
descriptor: ()V
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
putfield com.sun.tools.jdi.AbstractLauncher$Helper.exited:Z
1: aload 0
invokevirtual java.lang.Object.notify:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/jdi/AbstractLauncher$Helper;
synchronized void notifyOfConnection(com.sun.jdi.connect.spi.Connection);
descriptor: (Lcom/sun/jdi/connect/spi/Connection;)V
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield com.sun.tools.jdi.AbstractLauncher$Helper.connection:Lcom/sun/jdi/connect/spi/Connection;
1: aload 0
invokevirtual java.lang.Object.notify:()V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/jdi/AbstractLauncher$Helper;
0 3 1 connection Lcom/sun/jdi/connect/spi/Connection;
MethodParameters:
Name Flags
connection
synchronized void notifyOfAcceptException(java.io.IOException);
descriptor: (Ljava/io/IOException;)V
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield com.sun.tools.jdi.AbstractLauncher$Helper.acceptException:Ljava/io/IOException;
1: aload 0
invokevirtual java.lang.Object.notify:()V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/jdi/AbstractLauncher$Helper;
0 3 1 acceptException Ljava/io/IOException;
MethodParameters:
Name Flags
acceptException
java.lang.Thread monitorTarget();
descriptor: ()Ljava/lang/Thread;
flags: (0x0000)
Code:
stack=5, locals=2, args_size=1
start local 0 0: new com.sun.tools.jdi.AbstractLauncher$Helper$1
dup
aload 0
aload 0
getfield com.sun.tools.jdi.AbstractLauncher$Helper.this$0:Lcom/sun/tools/jdi/AbstractLauncher;
getfield com.sun.tools.jdi.AbstractLauncher.grp:Ljava/lang/ThreadGroup;
ldc "launched target monitor"
invokespecial com.sun.tools.jdi.AbstractLauncher$Helper$1.<init>:(Lcom/sun/tools/jdi/AbstractLauncher$Helper;Ljava/lang/ThreadGroup;Ljava/lang/String;)V
astore 1
start local 1 1: aload 1
iconst_1
invokevirtual java.lang.Thread.setDaemon:(Z)V
2: aload 1
invokevirtual java.lang.Thread.start:()V
3: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/tools/jdi/AbstractLauncher$Helper;
1 4 1 thread Ljava/lang/Thread;
java.lang.Thread acceptConnection();
descriptor: ()Ljava/lang/Thread;
flags: (0x0000)
Code:
stack=5, locals=2, args_size=1
start local 0 0: new com.sun.tools.jdi.AbstractLauncher$Helper$2
dup
aload 0
aload 0
getfield com.sun.tools.jdi.AbstractLauncher$Helper.this$0:Lcom/sun/tools/jdi/AbstractLauncher;
getfield com.sun.tools.jdi.AbstractLauncher.grp:Ljava/lang/ThreadGroup;
ldc "connection acceptor"
invokespecial com.sun.tools.jdi.AbstractLauncher$Helper$2.<init>:(Lcom/sun/tools/jdi/AbstractLauncher$Helper;Ljava/lang/ThreadGroup;Ljava/lang/String;)V
astore 1
start local 1 1: aload 1
iconst_1
invokevirtual java.lang.Thread.setDaemon:(Z)V
2: aload 1
invokevirtual java.lang.Thread.start:()V
3: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/tools/jdi/AbstractLauncher$Helper;
1 4 1 thread Ljava/lang/Thread;
}
SourceFile: "AbstractLauncher.java"
NestHost: com.sun.tools.jdi.AbstractLauncher
InnerClasses:
public abstract ListenKey = com.sun.jdi.connect.spi.TransportService$ListenKey of com.sun.jdi.connect.spi.TransportService
private Helper = com.sun.tools.jdi.AbstractLauncher$Helper of com.sun.tools.jdi.AbstractLauncher
com.sun.tools.jdi.AbstractLauncher$Helper$1
com.sun.tools.jdi.AbstractLauncher$Helper$2