public class com.sun.tools.example.debug.tty.TTY implements com.sun.tools.example.debug.tty.EventNotifier
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.tools.example.debug.tty.TTY
super_class: java.lang.Object
{
com.sun.tools.example.debug.tty.EventHandler handler;
descriptor: Lcom/sun/tools/example/debug/tty/EventHandler;
flags: (0x0000)
private java.util.List<java.lang.String> monitorCommands;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Ljava/lang/String;>;
private int monitorCount;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private static final java.lang.String progname;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "jdb"
private volatile boolean shuttingDown;
descriptor: Z
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private static final java.lang.String[][] commandList;
descriptor: [[Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=7, locals=0, args_size=0
0: bipush 63
anewarray java.lang.String[]
dup
iconst_0
1: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "!!"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "y"
aastore
aastore
dup
iconst_1
2: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "?"
aastore
dup
iconst_1
ldc "y"
aastore
dup
iconst_2
ldc "y"
aastore
aastore
dup
iconst_2
3: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "bytecodes"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "y"
aastore
aastore
dup
iconst_3
4: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "catch"
aastore
dup
iconst_1
ldc "y"
aastore
dup
iconst_2
ldc "n"
aastore
aastore
dup
iconst_4
5: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "class"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "y"
aastore
aastore
dup
iconst_5
6: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "classes"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "y"
aastore
aastore
dup
bipush 6
7: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "classpath"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "y"
aastore
aastore
dup
bipush 7
8: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "clear"
aastore
dup
iconst_1
ldc "y"
aastore
dup
iconst_2
ldc "n"
aastore
aastore
dup
bipush 8
9: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "connectors"
aastore
dup
iconst_1
ldc "y"
aastore
dup
iconst_2
ldc "y"
aastore
aastore
dup
bipush 9
10: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "cont"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "n"
aastore
aastore
dup
bipush 10
11: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "disablegc"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "n"
aastore
aastore
dup
bipush 11
12: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "down"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "y"
aastore
aastore
dup
bipush 12
13: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "dump"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "y"
aastore
aastore
dup
bipush 13
14: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "enablegc"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "n"
aastore
aastore
dup
bipush 14
15: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "eval"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "y"
aastore
aastore
dup
bipush 15
16: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "exclude"
aastore
dup
iconst_1
ldc "y"
aastore
dup
iconst_2
ldc "n"
aastore
aastore
dup
bipush 16
17: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "exit"
aastore
dup
iconst_1
ldc "y"
aastore
dup
iconst_2
ldc "y"
aastore
aastore
dup
bipush 17
18: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "extension"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "y"
aastore
aastore
dup
bipush 18
19: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "fields"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "y"
aastore
aastore
dup
bipush 19
20: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "gc"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "n"
aastore
aastore
dup
bipush 20
21: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "help"
aastore
dup
iconst_1
ldc "y"
aastore
dup
iconst_2
ldc "y"
aastore
aastore
dup
bipush 21
22: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "ignore"
aastore
dup
iconst_1
ldc "y"
aastore
dup
iconst_2
ldc "n"
aastore
aastore
dup
bipush 22
23: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "interrupt"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "n"
aastore
aastore
dup
bipush 23
24: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "kill"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "n"
aastore
aastore
dup
bipush 24
25: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "lines"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "y"
aastore
aastore
dup
bipush 25
26: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "list"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "y"
aastore
aastore
dup
bipush 26
27: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "load"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "y"
aastore
aastore
dup
bipush 27
28: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "locals"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "y"
aastore
aastore
dup
bipush 28
29: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "lock"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "n"
aastore
aastore
dup
bipush 29
30: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "memory"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "y"
aastore
aastore
dup
bipush 30
31: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "methods"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "y"
aastore
aastore
dup
bipush 31
32: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "monitor"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "n"
aastore
aastore
dup
bipush 32
33: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "next"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "n"
aastore
aastore
dup
bipush 33
34: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "pop"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "n"
aastore
aastore
dup
bipush 34
35: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "print"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "y"
aastore
aastore
dup
bipush 35
36: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "quit"
aastore
dup
iconst_1
ldc "y"
aastore
dup
iconst_2
ldc "y"
aastore
aastore
dup
bipush 36
37: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "read"
aastore
dup
iconst_1
ldc "y"
aastore
dup
iconst_2
ldc "y"
aastore
aastore
dup
bipush 37
38: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "redefine"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "n"
aastore
aastore
dup
bipush 38
39: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "reenter"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "n"
aastore
aastore
dup
bipush 39
40: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "resume"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "n"
aastore
aastore
dup
bipush 40
41: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "run"
aastore
dup
iconst_1
ldc "y"
aastore
dup
iconst_2
ldc "n"
aastore
aastore
dup
bipush 41
42: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "save"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "n"
aastore
aastore
dup
bipush 42
43: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "set"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "n"
aastore
aastore
dup
bipush 43
44: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "sourcepath"
aastore
dup
iconst_1
ldc "y"
aastore
dup
iconst_2
ldc "y"
aastore
aastore
dup
bipush 44
45: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "step"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "n"
aastore
aastore
dup
bipush 45
46: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "stepi"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "n"
aastore
aastore
dup
bipush 46
47: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "stop"
aastore
dup
iconst_1
ldc "y"
aastore
dup
iconst_2
ldc "n"
aastore
aastore
dup
bipush 47
48: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "suspend"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "n"
aastore
aastore
dup
bipush 48
49: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "thread"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "y"
aastore
aastore
dup
bipush 49
50: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "threadgroup"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "y"
aastore
aastore
dup
bipush 50
51: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "threadgroups"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "y"
aastore
aastore
dup
bipush 51
52: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "threadlocks"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "y"
aastore
aastore
dup
bipush 52
53: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "threads"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "y"
aastore
aastore
dup
bipush 53
54: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "trace"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "n"
aastore
aastore
dup
bipush 54
55: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "unmonitor"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "n"
aastore
aastore
dup
bipush 55
56: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "untrace"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "n"
aastore
aastore
dup
bipush 56
57: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "unwatch"
aastore
dup
iconst_1
ldc "y"
aastore
dup
iconst_2
ldc "n"
aastore
aastore
dup
bipush 57
58: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "up"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "y"
aastore
aastore
dup
bipush 58
59: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "use"
aastore
dup
iconst_1
ldc "y"
aastore
dup
iconst_2
ldc "y"
aastore
aastore
dup
bipush 59
60: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "version"
aastore
dup
iconst_1
ldc "y"
aastore
dup
iconst_2
ldc "y"
aastore
aastore
dup
bipush 60
61: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "watch"
aastore
dup
iconst_1
ldc "y"
aastore
dup
iconst_2
ldc "n"
aastore
aastore
dup
bipush 61
62: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "where"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "y"
aastore
aastore
dup
bipush 62
63: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "wherei"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "y"
aastore
aastore
64: putstatic com.sun.tools.example.debug.tty.TTY.commandList:[[Ljava/lang/String;
65: return
LocalVariableTable:
Start End Slot Name Signature
public void setShuttingDown(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield com.sun.tools.example.debug.tty.TTY.shuttingDown:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/example/debug/tty/TTY;
0 2 1 s Z
MethodParameters:
Name Flags
s
public boolean isShuttingDown();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.example.debug.tty.TTY.shuttingDown:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/example/debug/tty/TTY;
public void vmStartEvent(com.sun.jdi.event.VMStartEvent);
descriptor: (Lcom/sun/jdi/event/VMStartEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: invokestatic java.lang.Thread.yield:()V
1: ldc "VM Started:"
invokestatic com.sun.tools.example.debug.tty.MessageOutput.lnprint:(Ljava/lang/String;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/example/debug/tty/TTY;
0 3 1 se Lcom/sun/jdi/event/VMStartEvent;
MethodParameters:
Name Flags
se
public void vmDeathEvent(com.sun.jdi.event.VMDeathEvent);
descriptor: (Lcom/sun/jdi/event/VMDeathEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/example/debug/tty/TTY;
0 1 1 e Lcom/sun/jdi/event/VMDeathEvent;
MethodParameters:
Name Flags
e
public void vmDisconnectEvent(com.sun.jdi.event.VMDisconnectEvent);
descriptor: (Lcom/sun/jdi/event/VMDisconnectEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/example/debug/tty/TTY;
0 1 1 e Lcom/sun/jdi/event/VMDisconnectEvent;
MethodParameters:
Name Flags
e
public void threadStartEvent(com.sun.jdi.event.ThreadStartEvent);
descriptor: (Lcom/sun/jdi/event/ThreadStartEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/example/debug/tty/TTY;
0 1 1 e Lcom/sun/jdi/event/ThreadStartEvent;
MethodParameters:
Name Flags
e
public void threadDeathEvent(com.sun.jdi.event.ThreadDeathEvent);
descriptor: (Lcom/sun/jdi/event/ThreadDeathEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/example/debug/tty/TTY;
0 1 1 e Lcom/sun/jdi/event/ThreadDeathEvent;
MethodParameters:
Name Flags
e
public void classPrepareEvent(com.sun.jdi.event.ClassPrepareEvent);
descriptor: (Lcom/sun/jdi/event/ClassPrepareEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/example/debug/tty/TTY;
0 1 1 e Lcom/sun/jdi/event/ClassPrepareEvent;
MethodParameters:
Name Flags
e
public void classUnloadEvent(com.sun.jdi.event.ClassUnloadEvent);
descriptor: (Lcom/sun/jdi/event/ClassUnloadEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/example/debug/tty/TTY;
0 1 1 e Lcom/sun/jdi/event/ClassUnloadEvent;
MethodParameters:
Name Flags
e
public void breakpointEvent(com.sun.jdi.event.BreakpointEvent);
descriptor: (Lcom/sun/jdi/event/BreakpointEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: invokestatic java.lang.Thread.yield:()V
1: ldc "Breakpoint hit:"
invokestatic com.sun.tools.example.debug.tty.MessageOutput.lnprint:(Ljava/lang/String;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/example/debug/tty/TTY;
0 3 1 be Lcom/sun/jdi/event/BreakpointEvent;
MethodParameters:
Name Flags
be
public void fieldWatchEvent(com.sun.jdi.event.WatchpointEvent);
descriptor: (Lcom/sun/jdi/event/WatchpointEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface com.sun.jdi.event.WatchpointEvent.field:()Lcom/sun/jdi/Field;
astore 2
start local 2 1: aload 1
invokeinterface com.sun.jdi.event.WatchpointEvent.object:()Lcom/sun/jdi/ObjectReference;
pop
2: invokestatic java.lang.Thread.yield:()V
3: aload 1
instanceof com.sun.jdi.event.ModificationWatchpointEvent
ifeq 10
4: ldc "Field access encountered before after"
5: iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
dup
iconst_1
6: aload 1
invokeinterface com.sun.jdi.event.WatchpointEvent.valueCurrent:()Lcom/sun/jdi/Value;
aastore
dup
iconst_2
7: aload 1
checkcast com.sun.jdi.event.ModificationWatchpointEvent
invokeinterface com.sun.jdi.event.ModificationWatchpointEvent.valueToBe:()Lcom/sun/jdi/Value;
aastore
8: invokestatic com.sun.tools.example.debug.tty.MessageOutput.lnprint:(Ljava/lang/String;[Ljava/lang/Object;)V
9: goto 11
10: StackMap locals: com.sun.jdi.Field
StackMap stack:
ldc "Field access encountered"
aload 2
invokeinterface com.sun.jdi.Field.toString:()Ljava/lang/String;
invokestatic com.sun.tools.example.debug.tty.MessageOutput.lnprint:(Ljava/lang/String;Ljava/lang/String;)V
11: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/sun/tools/example/debug/tty/TTY;
0 12 1 fwe Lcom/sun/jdi/event/WatchpointEvent;
1 12 2 field Lcom/sun/jdi/Field;
MethodParameters:
Name Flags
fwe
public void stepEvent(com.sun.jdi.event.StepEvent);
descriptor: (Lcom/sun/jdi/event/StepEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: invokestatic java.lang.Thread.yield:()V
1: ldc "Step completed:"
invokestatic com.sun.tools.example.debug.tty.MessageOutput.lnprint:(Ljava/lang/String;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/example/debug/tty/TTY;
0 3 1 se Lcom/sun/jdi/event/StepEvent;
MethodParameters:
Name Flags
se
public void exceptionEvent(com.sun.jdi.event.ExceptionEvent);
descriptor: (Lcom/sun/jdi/event/ExceptionEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: invokestatic java.lang.Thread.yield:()V
1: aload 1
invokeinterface com.sun.jdi.event.ExceptionEvent.catchLocation:()Lcom/sun/jdi/Location;
astore 2
start local 2 2: aload 2
ifnonnull 7
3: ldc "Exception occurred uncaught"
4: aload 1
invokeinterface com.sun.jdi.event.ExceptionEvent.exception:()Lcom/sun/jdi/ObjectReference;
invokeinterface com.sun.jdi.ObjectReference.referenceType:()Lcom/sun/jdi/ReferenceType;
invokeinterface com.sun.jdi.ReferenceType.name:()Ljava/lang/String;
5: invokestatic com.sun.tools.example.debug.tty.MessageOutput.lnprint:(Ljava/lang/String;Ljava/lang/String;)V
6: goto 11
7: StackMap locals: com.sun.jdi.Location
StackMap stack:
ldc "Exception occurred caught"
8: iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 1
invokeinterface com.sun.jdi.event.ExceptionEvent.exception:()Lcom/sun/jdi/ObjectReference;
invokeinterface com.sun.jdi.ObjectReference.referenceType:()Lcom/sun/jdi/ReferenceType;
invokeinterface com.sun.jdi.ReferenceType.name:()Ljava/lang/String;
aastore
dup
iconst_1
9: aload 2
invokestatic com.sun.tools.example.debug.tty.Commands.locationString:(Lcom/sun/jdi/Location;)Ljava/lang/String;
aastore
10: invokestatic com.sun.tools.example.debug.tty.MessageOutput.lnprint:(Ljava/lang/String;[Ljava/lang/Object;)V
11: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/sun/tools/example/debug/tty/TTY;
0 12 1 ee Lcom/sun/jdi/event/ExceptionEvent;
2 12 2 catchLocation Lcom/sun/jdi/Location;
MethodParameters:
Name Flags
ee
public void methodEntryEvent(com.sun.jdi.event.MethodEntryEvent);
descriptor: (Lcom/sun/jdi/event/MethodEntryEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: invokestatic java.lang.Thread.yield:()V
1: aload 1
invokeinterface com.sun.jdi.event.MethodEntryEvent.request:()Lcom/sun/jdi/request/EventRequest;
invokeinterface com.sun.jdi.request.EventRequest.suspendPolicy:()I
ifeq 4
2: ldc "Method entered:"
invokestatic com.sun.tools.example.debug.tty.MessageOutput.lnprint:(Ljava/lang/String;)V
3: goto 6
4: StackMap locals:
StackMap stack:
ldc "Method entered:"
invokestatic com.sun.tools.example.debug.tty.MessageOutput.print:(Ljava/lang/String;)V
5: aload 0
aload 1
invokevirtual com.sun.tools.example.debug.tty.TTY.printLocationOfEvent:(Lcom/sun/jdi/event/LocatableEvent;)V
6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/tools/example/debug/tty/TTY;
0 7 1 me Lcom/sun/jdi/event/MethodEntryEvent;
MethodParameters:
Name Flags
me
public boolean methodExitEvent(com.sun.jdi.event.MethodExitEvent);
descriptor: (Lcom/sun/jdi/event/MethodExitEvent;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: invokestatic java.lang.Thread.yield:()V
1: invokestatic com.sun.tools.example.debug.tty.Env.atExitMethod:()Lcom/sun/jdi/Method;
astore 2
start local 2 2: aload 1
invokeinterface com.sun.jdi.event.MethodExitEvent.method:()Lcom/sun/jdi/Method;
astore 3
start local 3 3: aload 2
ifnull 4
aload 2
aload 3
invokeinterface com.sun.jdi.Method.equals:(Ljava/lang/Object;)Z
ifeq 13
4: StackMap locals: com.sun.jdi.Method com.sun.jdi.Method
StackMap stack:
aload 1
invokeinterface com.sun.jdi.event.MethodExitEvent.request:()Lcom/sun/jdi/request/EventRequest;
invokeinterface com.sun.jdi.request.EventRequest.suspendPolicy:()I
ifeq 6
5: invokestatic com.sun.tools.example.debug.tty.MessageOutput.println:()V
6: StackMap locals:
StackMap stack:
invokestatic com.sun.tools.example.debug.tty.Env.vm:()Lcom/sun/jdi/VirtualMachine;
invokeinterface com.sun.jdi.VirtualMachine.canGetMethodReturnValues:()Z
ifeq 9
7: ldc "Method exitedValue:"
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 1
invokeinterface com.sun.jdi.event.MethodExitEvent.returnValue:()Lcom/sun/jdi/Value;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic com.sun.tools.example.debug.tty.MessageOutput.print:(Ljava/lang/String;Ljava/lang/String;)V
8: goto 10
9: StackMap locals:
StackMap stack:
ldc "Method exited:"
invokestatic com.sun.tools.example.debug.tty.MessageOutput.print:(Ljava/lang/String;)V
10: StackMap locals:
StackMap stack:
aload 1
invokeinterface com.sun.jdi.event.MethodExitEvent.request:()Lcom/sun/jdi/request/EventRequest;
invokeinterface com.sun.jdi.request.EventRequest.suspendPolicy:()I
ifne 12
11: aload 0
aload 1
invokevirtual com.sun.tools.example.debug.tty.TTY.printLocationOfEvent:(Lcom/sun/jdi/event/LocatableEvent;)V
12: StackMap locals:
StackMap stack:
iconst_1
ireturn
13: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/sun/tools/example/debug/tty/TTY;
0 14 1 me Lcom/sun/jdi/event/MethodExitEvent;
2 14 2 mmm Lcom/sun/jdi/Method;
3 14 3 meMethod Lcom/sun/jdi/Method;
MethodParameters:
Name Flags
me
public void vmInterrupted();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: invokestatic java.lang.Thread.yield:()V
1: aload 0
invokevirtual com.sun.tools.example.debug.tty.TTY.printCurrentLocation:()V
2: aload 0
getfield com.sun.tools.example.debug.tty.TTY.monitorCommands:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 2
goto 7
StackMap locals: com.sun.tools.example.debug.tty.TTY top java.util.Iterator
StackMap stack:
3: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 1
start local 1 4: new java.util.StringTokenizer
dup
aload 1
invokespecial java.util.StringTokenizer.<init>:(Ljava/lang/String;)V
astore 3
start local 3 5: aload 3
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
pop
6: aload 0
aload 3
invokevirtual com.sun.tools.example.debug.tty.TTY.executeCommand:(Ljava/util/StringTokenizer;)V
end local 3 end local 1 7: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
8: invokestatic com.sun.tools.example.debug.tty.MessageOutput.printPrompt:()V
9: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/tools/example/debug/tty/TTY;
4 7 1 cmd Ljava/lang/String;
5 7 3 t Ljava/util/StringTokenizer;
public void receivedEvent(com.sun.jdi.event.Event);
descriptor: (Lcom/sun/jdi/event/Event;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/example/debug/tty/TTY;
0 1 1 event Lcom/sun/jdi/event/Event;
MethodParameters:
Name Flags
event
private void printBaseLocation(java.lang.String, com.sun.jdi.Location);
descriptor: (Ljava/lang/String;Lcom/sun/jdi/Location;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: ldc "location"
1: iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
dup
iconst_1
2: aload 2
invokestatic com.sun.tools.example.debug.tty.Commands.locationString:(Lcom/sun/jdi/Location;)Ljava/lang/String;
aastore
3: invokestatic com.sun.tools.example.debug.tty.MessageOutput.println:(Ljava/lang/String;[Ljava/lang/Object;)V
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/tools/example/debug/tty/TTY;
0 5 1 threadName Ljava/lang/String;
0 5 2 loc Lcom/sun/jdi/Location;
MethodParameters:
Name Flags
threadName
loc
private void printCurrentLocation();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=1
start local 0 0: invokestatic com.sun.tools.example.debug.tty.ThreadInfo.getCurrentThreadInfo:()Lcom/sun/tools/example/debug/tty/ThreadInfo;
astore 1
start local 1 1: aload 1
invokevirtual com.sun.tools.example.debug.tty.ThreadInfo.getCurrentFrame:()Lcom/sun/jdi/StackFrame;
astore 2
start local 2 2: goto 6
end local 2 StackMap locals: com.sun.tools.example.debug.tty.TTY com.sun.tools.example.debug.tty.ThreadInfo
StackMap stack: com.sun.jdi.IncompatibleThreadStateException
3: pop
4: ldc "<location unavailable>"
invokestatic com.sun.tools.example.debug.tty.MessageOutput.println:(Ljava/lang/String;)V
5: return
start local 2 6: StackMap locals: com.sun.jdi.StackFrame
StackMap stack:
aload 2
ifnonnull 9
7: ldc "No frames on the current call stack"
invokestatic com.sun.tools.example.debug.tty.MessageOutput.println:(Ljava/lang/String;)V
8: goto 21
9: StackMap locals:
StackMap stack:
aload 2
invokeinterface com.sun.jdi.StackFrame.location:()Lcom/sun/jdi/Location;
astore 3
start local 3 10: aload 0
aload 1
invokevirtual com.sun.tools.example.debug.tty.ThreadInfo.getThread:()Lcom/sun/jdi/ThreadReference;
invokeinterface com.sun.jdi.ThreadReference.name:()Ljava/lang/String;
aload 3
invokevirtual com.sun.tools.example.debug.tty.TTY.printBaseLocation:(Ljava/lang/String;Lcom/sun/jdi/Location;)V
11: aload 3
invokeinterface com.sun.jdi.Location.lineNumber:()I
iconst_m1
if_icmpeq 21
12: aload 3
aload 3
invokeinterface com.sun.jdi.Location.lineNumber:()I
invokestatic com.sun.tools.example.debug.tty.Env.sourceLine:(Lcom/sun/jdi/Location;I)Ljava/lang/String;
astore 4
start local 4 13: goto 16
end local 4 StackMap locals: com.sun.tools.example.debug.tty.TTY com.sun.tools.example.debug.tty.ThreadInfo com.sun.jdi.StackFrame com.sun.jdi.Location
StackMap stack: java.io.IOException
14: pop
15: aconst_null
astore 4
start local 4 16: StackMap locals: java.lang.String
StackMap stack:
aload 4
ifnull 21
17: ldc "source line number and line"
18: iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 3
invokeinterface com.sun.jdi.Location.lineNumber:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
19: aload 4
aastore
20: invokestatic com.sun.tools.example.debug.tty.MessageOutput.println:(Ljava/lang/String;[Ljava/lang/Object;)V
end local 4 end local 3 21: StackMap locals:
StackMap stack:
invokestatic com.sun.tools.example.debug.tty.MessageOutput.println:()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/example/debug/tty/TTY;
1 23 1 threadInfo Lcom/sun/tools/example/debug/tty/ThreadInfo;
2 3 2 frame Lcom/sun/jdi/StackFrame;
6 23 2 frame Lcom/sun/jdi/StackFrame;
10 21 3 loc Lcom/sun/jdi/Location;
13 14 4 line Ljava/lang/String;
16 21 4 line Ljava/lang/String;
Exception table:
from to target type
1 2 3 Class com.sun.jdi.IncompatibleThreadStateException
12 13 14 Class java.io.IOException
private void printLocationOfEvent(com.sun.jdi.event.LocatableEvent);
descriptor: (Lcom/sun/jdi/event/LocatableEvent;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokeinterface com.sun.jdi.event.LocatableEvent.thread:()Lcom/sun/jdi/ThreadReference;
invokeinterface com.sun.jdi.ThreadReference.name:()Ljava/lang/String;
aload 1
invokeinterface com.sun.jdi.event.LocatableEvent.location:()Lcom/sun/jdi/Location;
invokevirtual com.sun.tools.example.debug.tty.TTY.printBaseLocation:(Ljava/lang/String;Lcom/sun/jdi/Location;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/example/debug/tty/TTY;
0 2 1 theEvent Lcom/sun/jdi/event/LocatableEvent;
MethodParameters:
Name Flags
theEvent
void help();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "zz help text"
invokestatic com.sun.tools.example.debug.tty.MessageOutput.println:(Ljava/lang/String;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/example/debug/tty/TTY;
private int isCommand(java.lang.String);
descriptor: (Ljava/lang/String;)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=7, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: getstatic com.sun.tools.example.debug.tty.TTY.commandList:[[Ljava/lang/String;
arraylength
iconst_1
isub
istore 3
start local 3 2: goto 13
3: StackMap locals: int int
StackMap stack:
iload 2
iload 3
iadd
iconst_1
iushr
istore 4
start local 4 4: getstatic com.sun.tools.example.debug.tty.TTY.commandList:[[Ljava/lang/String;
iload 4
aaload
iconst_0
aaload
astore 5
start local 5 5: aload 5
aload 1
invokevirtual java.lang.String.compareTo:(Ljava/lang/String;)I
istore 6
start local 6 6: iload 6
ifge 9
7: iload 4
iconst_1
iadd
istore 2
8: goto 13
StackMap locals: int java.lang.String int
StackMap stack:
9: iload 6
ifle 12
10: iload 4
iconst_1
isub
istore 3
11: goto 13
12: StackMap locals:
StackMap stack:
iload 4
ireturn
end local 6 end local 5 end local 4 13: StackMap locals:
StackMap stack:
iload 2
iload 3
if_icmple 3
14: iload 2
iconst_1
iadd
ineg
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lcom/sun/tools/example/debug/tty/TTY;
0 15 1 key Ljava/lang/String;
1 15 2 low I
2 15 3 high I
4 13 4 mid I
5 13 5 midVal Ljava/lang/String;
6 13 6 compare I
MethodParameters:
Name Flags
key
private boolean isDisconnectCmd(int);
descriptor: (I)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
iflt 1
iload 1
getstatic com.sun.tools.example.debug.tty.TTY.commandList:[[Ljava/lang/String;
arraylength
if_icmplt 2
1: StackMap locals:
StackMap stack:
iconst_0
ireturn
2: StackMap locals:
StackMap stack:
getstatic com.sun.tools.example.debug.tty.TTY.commandList:[[Ljava/lang/String;
iload 1
aaload
iconst_1
aaload
ldc "y"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/example/debug/tty/TTY;
0 3 1 ii I
MethodParameters:
Name Flags
ii
private boolean isReadOnlyCmd(int);
descriptor: (I)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
iflt 1
iload 1
getstatic com.sun.tools.example.debug.tty.TTY.commandList:[[Ljava/lang/String;
arraylength
if_icmplt 2
1: StackMap locals:
StackMap stack:
iconst_0
ireturn
2: StackMap locals:
StackMap stack:
getstatic com.sun.tools.example.debug.tty.TTY.commandList:[[Ljava/lang/String;
iload 1
aaload
iconst_2
aaload
ldc "y"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/example/debug/tty/TTY;
0 3 1 ii I
MethodParameters:
Name Flags
ii
void executeCommand(java.util.StringTokenizer);
descriptor: (Ljava/util/StringTokenizer;)V
flags: (0x0000)
Code:
stack=5, locals=7, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
astore 2
start local 2 1: iconst_1
istore 3
start local 3 2: aload 2
ldc "#"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 241
3: aload 2
iconst_0
invokevirtual java.lang.String.charAt:(I)C
invokestatic java.lang.Character.isDigit:(C)Z
ifeq 14
aload 1
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifeq 14
4: aload 2
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
istore 4
start local 4 5: aload 1
ldc ""
invokevirtual java.util.StringTokenizer.nextToken:(Ljava/lang/String;)Ljava/lang/String;
astore 5
start local 5 6: goto 9
7: StackMap locals: com.sun.tools.example.debug.tty.TTY java.util.StringTokenizer java.lang.String int int java.lang.String
StackMap stack:
aload 0
new java.util.StringTokenizer
dup
aload 5
invokespecial java.util.StringTokenizer.<init>:(Ljava/lang/String;)V
invokevirtual com.sun.tools.example.debug.tty.TTY.executeCommand:(Ljava/util/StringTokenizer;)V
8: iconst_0
istore 3
9: StackMap locals:
StackMap stack:
iload 4
iinc 4 -1
ifgt 7
end local 5 end local 4 10: goto 241
StackMap locals: com.sun.tools.example.debug.tty.TTY java.util.StringTokenizer java.lang.String int
StackMap stack: java.lang.NumberFormatException
11: pop
12: ldc "Unrecognized command. Try help..."
aload 2
invokestatic com.sun.tools.example.debug.tty.MessageOutput.println:(Ljava/lang/String;Ljava/lang/String;)V
13: goto 241
14: StackMap locals:
StackMap stack:
aload 0
aload 2
invokevirtual com.sun.tools.example.debug.tty.TTY.isCommand:(Ljava/lang/String;)I
istore 4
start local 4 15: iload 4
ifge 18
16: ldc "Unrecognized command. Try help..."
aload 2
invokestatic com.sun.tools.example.debug.tty.MessageOutput.println:(Ljava/lang/String;Ljava/lang/String;)V
17: goto 241
StackMap locals: int
StackMap stack:
18: invokestatic com.sun.tools.example.debug.tty.Env.connection:()Lcom/sun/tools/example/debug/tty/VMConnection;
invokevirtual com.sun.tools.example.debug.tty.VMConnection.isOpen:()Z
ifne 23
aload 0
iload 4
invokevirtual com.sun.tools.example.debug.tty.TTY.isDisconnectCmd:(I)Z
ifne 23
19: ldc "Command not valid until the VM is started with the run command"
20: aload 2
21: invokestatic com.sun.tools.example.debug.tty.MessageOutput.println:(Ljava/lang/String;Ljava/lang/String;)V
22: goto 241
StackMap locals:
StackMap stack:
23: invokestatic com.sun.tools.example.debug.tty.Env.connection:()Lcom/sun/tools/example/debug/tty/VMConnection;
invokevirtual com.sun.tools.example.debug.tty.VMConnection.isOpen:()Z
ifeq 29
invokestatic com.sun.tools.example.debug.tty.Env.vm:()Lcom/sun/jdi/VirtualMachine;
invokeinterface com.sun.jdi.VirtualMachine.canBeModified:()Z
ifne 29
24: aload 0
iload 4
invokevirtual com.sun.tools.example.debug.tty.TTY.isReadOnlyCmd:(I)Z
ifne 29
25: ldc "Command is not supported on a read-only VM connection"
26: aload 2
27: invokestatic com.sun.tools.example.debug.tty.MessageOutput.println:(Ljava/lang/String;Ljava/lang/String;)V
28: goto 241
29: StackMap locals:
StackMap stack:
new com.sun.tools.example.debug.tty.Commands
dup
invokespecial com.sun.tools.example.debug.tty.Commands.<init>:()V
astore 5
start local 5 30: aload 2
ldc "print"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 34
31: aload 5
aload 1
iconst_0
invokevirtual com.sun.tools.example.debug.tty.Commands.commandPrint:(Ljava/util/StringTokenizer;Z)V
32: iconst_0
istore 3
33: goto 241
StackMap locals: com.sun.tools.example.debug.tty.Commands
StackMap stack:
34: aload 2
ldc "eval"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 38
35: aload 5
aload 1
iconst_0
invokevirtual com.sun.tools.example.debug.tty.Commands.commandPrint:(Ljava/util/StringTokenizer;Z)V
36: iconst_0
istore 3
37: goto 241
StackMap locals:
StackMap stack:
38: aload 2
ldc "set"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 42
39: aload 5
aload 1
invokevirtual com.sun.tools.example.debug.tty.Commands.commandSet:(Ljava/util/StringTokenizer;)V
40: iconst_0
istore 3
41: goto 241
StackMap locals:
StackMap stack:
42: aload 2
ldc "dump"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 46
43: aload 5
aload 1
iconst_1
invokevirtual com.sun.tools.example.debug.tty.Commands.commandPrint:(Ljava/util/StringTokenizer;Z)V
44: iconst_0
istore 3
45: goto 241
StackMap locals:
StackMap stack:
46: aload 2
ldc "locals"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 49
47: aload 5
invokevirtual com.sun.tools.example.debug.tty.Commands.commandLocals:()V
48: goto 241
StackMap locals:
StackMap stack:
49: aload 2
ldc "classes"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 52
50: aload 5
invokevirtual com.sun.tools.example.debug.tty.Commands.commandClasses:()V
51: goto 241
StackMap locals:
StackMap stack:
52: aload 2
ldc "class"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 55
53: aload 5
aload 1
invokevirtual com.sun.tools.example.debug.tty.Commands.commandClass:(Ljava/util/StringTokenizer;)V
54: goto 241
StackMap locals:
StackMap stack:
55: aload 2
ldc "connectors"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 58
56: aload 5
invokestatic com.sun.jdi.Bootstrap.virtualMachineManager:()Lcom/sun/jdi/VirtualMachineManager;
invokevirtual com.sun.tools.example.debug.tty.Commands.commandConnectors:(Lcom/sun/jdi/VirtualMachineManager;)V
57: goto 241
StackMap locals:
StackMap stack:
58: aload 2
ldc "methods"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 61
59: aload 5
aload 1
invokevirtual com.sun.tools.example.debug.tty.Commands.commandMethods:(Ljava/util/StringTokenizer;)V
60: goto 241
StackMap locals:
StackMap stack:
61: aload 2
ldc "fields"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 64
62: aload 5
aload 1
invokevirtual com.sun.tools.example.debug.tty.Commands.commandFields:(Ljava/util/StringTokenizer;)V
63: goto 241
StackMap locals:
StackMap stack:
64: aload 2
ldc "threads"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 67
65: aload 5
aload 1
invokevirtual com.sun.tools.example.debug.tty.Commands.commandThreads:(Ljava/util/StringTokenizer;)V
66: goto 241
StackMap locals:
StackMap stack:
67: aload 2
ldc "thread"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 70
68: aload 5
aload 1
invokevirtual com.sun.tools.example.debug.tty.Commands.commandThread:(Ljava/util/StringTokenizer;)V
69: goto 241
StackMap locals:
StackMap stack:
70: aload 2
ldc "suspend"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 73
71: aload 5
aload 1
invokevirtual com.sun.tools.example.debug.tty.Commands.commandSuspend:(Ljava/util/StringTokenizer;)V
72: goto 241
StackMap locals:
StackMap stack:
73: aload 2
ldc "resume"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 76
74: aload 5
aload 1
invokevirtual com.sun.tools.example.debug.tty.Commands.commandResume:(Ljava/util/StringTokenizer;)V
75: goto 241
StackMap locals:
StackMap stack:
76: aload 2
ldc "cont"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 81
77: iconst_1
invokestatic com.sun.tools.example.debug.tty.MessageOutput.printPrompt:(Z)V
78: iconst_0
istore 3
79: aload 5
invokevirtual com.sun.tools.example.debug.tty.Commands.commandCont:()V
80: goto 241
StackMap locals:
StackMap stack:
81: aload 2
ldc "threadgroups"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 84
82: aload 5
invokevirtual com.sun.tools.example.debug.tty.Commands.commandThreadGroups:()V
83: goto 241
StackMap locals:
StackMap stack:
84: aload 2
ldc "threadgroup"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 87
85: aload 5
aload 1
invokevirtual com.sun.tools.example.debug.tty.Commands.commandThreadGroup:(Ljava/util/StringTokenizer;)V
86: goto 241
StackMap locals:
StackMap stack:
87: aload 2
ldc "catch"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 90
88: aload 5
aload 1
invokevirtual com.sun.tools.example.debug.tty.Commands.commandCatchException:(Ljava/util/StringTokenizer;)V
89: goto 241
StackMap locals:
StackMap stack:
90: aload 2
ldc "ignore"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 93
91: aload 5
aload 1
invokevirtual com.sun.tools.example.debug.tty.Commands.commandIgnoreException:(Ljava/util/StringTokenizer;)V
92: goto 241
StackMap locals:
StackMap stack:
93: aload 2
ldc "step"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 98
94: iconst_1
invokestatic com.sun.tools.example.debug.tty.MessageOutput.printPrompt:(Z)V
95: iconst_0
istore 3
96: aload 5
aload 1
invokevirtual com.sun.tools.example.debug.tty.Commands.commandStep:(Ljava/util/StringTokenizer;)V
97: goto 241
StackMap locals:
StackMap stack:
98: aload 2
ldc "stepi"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 103
99: iconst_1
invokestatic com.sun.tools.example.debug.tty.MessageOutput.printPrompt:(Z)V
100: iconst_0
istore 3
101: aload 5
invokevirtual com.sun.tools.example.debug.tty.Commands.commandStepi:()V
102: goto 241
StackMap locals:
StackMap stack:
103: aload 2
ldc "next"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 108
104: iconst_1
invokestatic com.sun.tools.example.debug.tty.MessageOutput.printPrompt:(Z)V
105: iconst_0
istore 3
106: aload 5
invokevirtual com.sun.tools.example.debug.tty.Commands.commandNext:()V
107: goto 241
StackMap locals:
StackMap stack:
108: aload 2
ldc "kill"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 111
109: aload 5
aload 1
invokevirtual com.sun.tools.example.debug.tty.Commands.commandKill:(Ljava/util/StringTokenizer;)V
110: goto 241
StackMap locals:
StackMap stack:
111: aload 2
ldc "interrupt"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 114
112: aload 5
aload 1
invokevirtual com.sun.tools.example.debug.tty.Commands.commandInterrupt:(Ljava/util/StringTokenizer;)V
113: goto 241
StackMap locals:
StackMap stack:
114: aload 2
ldc "trace"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 117
115: aload 5
aload 1
invokevirtual com.sun.tools.example.debug.tty.Commands.commandTrace:(Ljava/util/StringTokenizer;)V
116: goto 241
StackMap locals:
StackMap stack:
117: aload 2
ldc "untrace"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 120
118: aload 5
aload 1
invokevirtual com.sun.tools.example.debug.tty.Commands.commandUntrace:(Ljava/util/StringTokenizer;)V
119: goto 241
StackMap locals:
StackMap stack:
120: aload 2
ldc "where"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 123
121: aload 5
aload 1
iconst_0
invokevirtual com.sun.tools.example.debug.tty.Commands.commandWhere:(Ljava/util/StringTokenizer;Z)V
122: goto 241
StackMap locals:
StackMap stack:
123: aload 2
ldc "wherei"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 126
124: aload 5
aload 1
iconst_1
invokevirtual com.sun.tools.example.debug.tty.Commands.commandWhere:(Ljava/util/StringTokenizer;Z)V
125: goto 241
StackMap locals:
StackMap stack:
126: aload 2
ldc "up"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 129
127: aload 5
aload 1
invokevirtual com.sun.tools.example.debug.tty.Commands.commandUp:(Ljava/util/StringTokenizer;)V
128: goto 241
StackMap locals:
StackMap stack:
129: aload 2
ldc "down"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 132
130: aload 5
aload 1
invokevirtual com.sun.tools.example.debug.tty.Commands.commandDown:(Ljava/util/StringTokenizer;)V
131: goto 241
StackMap locals:
StackMap stack:
132: aload 2
ldc "load"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 135
133: aload 5
aload 1
invokevirtual com.sun.tools.example.debug.tty.Commands.commandLoad:(Ljava/util/StringTokenizer;)V
134: goto 241
StackMap locals:
StackMap stack:
135: aload 2
ldc "run"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 140
136: aload 5
aload 1
invokevirtual com.sun.tools.example.debug.tty.Commands.commandRun:(Ljava/util/StringTokenizer;)V
137: aload 0
getfield com.sun.tools.example.debug.tty.TTY.handler:Lcom/sun/tools/example/debug/tty/EventHandler;
ifnonnull 241
invokestatic com.sun.tools.example.debug.tty.Env.connection:()Lcom/sun/tools/example/debug/tty/VMConnection;
invokevirtual com.sun.tools.example.debug.tty.VMConnection.isOpen:()Z
ifeq 241
138: aload 0
new com.sun.tools.example.debug.tty.EventHandler
dup
aload 0
iconst_0
invokespecial com.sun.tools.example.debug.tty.EventHandler.<init>:(Lcom/sun/tools/example/debug/tty/EventNotifier;Z)V
putfield com.sun.tools.example.debug.tty.TTY.handler:Lcom/sun/tools/example/debug/tty/EventHandler;
139: goto 241
StackMap locals:
StackMap stack:
140: aload 2
ldc "memory"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 143
141: aload 5
invokevirtual com.sun.tools.example.debug.tty.Commands.commandMemory:()V
142: goto 241
StackMap locals:
StackMap stack:
143: aload 2
ldc "gc"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 146
144: aload 5
invokevirtual com.sun.tools.example.debug.tty.Commands.commandGC:()V
145: goto 241
StackMap locals:
StackMap stack:
146: aload 2
ldc "stop"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 149
147: aload 5
aload 1
invokevirtual com.sun.tools.example.debug.tty.Commands.commandStop:(Ljava/util/StringTokenizer;)V
148: goto 241
StackMap locals:
StackMap stack:
149: aload 2
ldc "clear"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 152
150: aload 5
aload 1
invokevirtual com.sun.tools.example.debug.tty.Commands.commandClear:(Ljava/util/StringTokenizer;)V
151: goto 241
StackMap locals:
StackMap stack:
152: aload 2
ldc "watch"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 155
153: aload 5
aload 1
invokevirtual com.sun.tools.example.debug.tty.Commands.commandWatch:(Ljava/util/StringTokenizer;)V
154: goto 241
StackMap locals:
StackMap stack:
155: aload 2
ldc "unwatch"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 158
156: aload 5
aload 1
invokevirtual com.sun.tools.example.debug.tty.Commands.commandUnwatch:(Ljava/util/StringTokenizer;)V
157: goto 241
StackMap locals:
StackMap stack:
158: aload 2
ldc "list"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 161
159: aload 5
aload 1
invokevirtual com.sun.tools.example.debug.tty.Commands.commandList:(Ljava/util/StringTokenizer;)V
160: goto 241
StackMap locals:
StackMap stack:
161: aload 2
ldc "lines"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 164
162: aload 5
aload 1
invokevirtual com.sun.tools.example.debug.tty.Commands.commandLines:(Ljava/util/StringTokenizer;)V
163: goto 241
StackMap locals:
StackMap stack:
164: aload 2
ldc "classpath"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 167
165: aload 5
aload 1
invokevirtual com.sun.tools.example.debug.tty.Commands.commandClasspath:(Ljava/util/StringTokenizer;)V
166: goto 241
StackMap locals:
StackMap stack:
167: aload 2
ldc "use"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 168
aload 2
ldc "sourcepath"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 170
168: StackMap locals:
StackMap stack:
aload 5
aload 1
invokevirtual com.sun.tools.example.debug.tty.Commands.commandUse:(Ljava/util/StringTokenizer;)V
169: goto 241
StackMap locals:
StackMap stack:
170: aload 2
ldc "monitor"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 173
171: aload 0
aload 1
invokevirtual com.sun.tools.example.debug.tty.TTY.monitorCommand:(Ljava/util/StringTokenizer;)V
172: goto 241
StackMap locals:
StackMap stack:
173: aload 2
ldc "unmonitor"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 176
174: aload 0
aload 1
invokevirtual com.sun.tools.example.debug.tty.TTY.unmonitorCommand:(Ljava/util/StringTokenizer;)V
175: goto 241
StackMap locals:
StackMap stack:
176: aload 2
ldc "lock"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 180
177: aload 5
aload 1
invokevirtual com.sun.tools.example.debug.tty.Commands.commandLock:(Ljava/util/StringTokenizer;)V
178: iconst_0
istore 3
179: goto 241
StackMap locals:
StackMap stack:
180: aload 2
ldc "threadlocks"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 183
181: aload 5
aload 1
invokevirtual com.sun.tools.example.debug.tty.Commands.commandThreadlocks:(Ljava/util/StringTokenizer;)V
182: goto 241
StackMap locals:
StackMap stack:
183: aload 2
ldc "disablegc"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 187
184: aload 5
aload 1
invokevirtual com.sun.tools.example.debug.tty.Commands.commandDisableGC:(Ljava/util/StringTokenizer;)V
185: iconst_0
istore 3
186: goto 241
StackMap locals:
StackMap stack:
187: aload 2
ldc "enablegc"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 191
188: aload 5
aload 1
invokevirtual com.sun.tools.example.debug.tty.Commands.commandEnableGC:(Ljava/util/StringTokenizer;)V
189: iconst_0
istore 3
190: goto 241
StackMap locals:
StackMap stack:
191: aload 2
ldc "save"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 195
192: aload 5
aload 1
invokevirtual com.sun.tools.example.debug.tty.Commands.commandSave:(Ljava/util/StringTokenizer;)V
193: iconst_0
istore 3
194: goto 241
StackMap locals:
StackMap stack:
195: aload 2
ldc "bytecodes"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 198
196: aload 5
aload 1
invokevirtual com.sun.tools.example.debug.tty.Commands.commandBytecodes:(Ljava/util/StringTokenizer;)V
197: goto 241
StackMap locals:
StackMap stack:
198: aload 2
ldc "redefine"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 201
199: aload 5
aload 1
invokevirtual com.sun.tools.example.debug.tty.Commands.commandRedefine:(Ljava/util/StringTokenizer;)V
200: goto 241
StackMap locals:
StackMap stack:
201: aload 2
ldc "pop"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 204
202: aload 5
aload 1
iconst_0
invokevirtual com.sun.tools.example.debug.tty.Commands.commandPopFrames:(Ljava/util/StringTokenizer;Z)V
203: goto 241
StackMap locals:
StackMap stack:
204: aload 2
ldc "reenter"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 207
205: aload 5
aload 1
iconst_1
invokevirtual com.sun.tools.example.debug.tty.Commands.commandPopFrames:(Ljava/util/StringTokenizer;Z)V
206: goto 241
StackMap locals:
StackMap stack:
207: aload 2
ldc "extension"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 210
208: aload 5
aload 1
invokevirtual com.sun.tools.example.debug.tty.Commands.commandExtension:(Ljava/util/StringTokenizer;)V
209: goto 241
StackMap locals:
StackMap stack:
210: aload 2
ldc "exclude"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 213
211: aload 5
aload 1
invokevirtual com.sun.tools.example.debug.tty.Commands.commandExclude:(Ljava/util/StringTokenizer;)V
212: goto 241
StackMap locals:
StackMap stack:
213: aload 2
ldc "read"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 216
214: aload 0
aload 1
invokevirtual com.sun.tools.example.debug.tty.TTY.readCommand:(Ljava/util/StringTokenizer;)V
215: goto 241
StackMap locals:
StackMap stack:
216: aload 2
ldc "help"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 217
aload 2
ldc "?"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 219
217: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.sun.tools.example.debug.tty.TTY.help:()V
218: goto 241
StackMap locals:
StackMap stack:
219: aload 2
ldc "version"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 224
220: aload 5
ldc "jdb"
221: invokestatic com.sun.jdi.Bootstrap.virtualMachineManager:()Lcom/sun/jdi/VirtualMachineManager;
222: invokevirtual com.sun.tools.example.debug.tty.Commands.commandVersion:(Ljava/lang/String;Lcom/sun/jdi/VirtualMachineManager;)V
223: goto 241
StackMap locals:
StackMap stack:
224: aload 2
ldc "quit"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 225
aload 2
ldc "exit"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 229
225: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.example.debug.tty.TTY.handler:Lcom/sun/tools/example/debug/tty/EventHandler;
ifnull 227
226: aload 0
getfield com.sun.tools.example.debug.tty.TTY.handler:Lcom/sun/tools/example/debug/tty/EventHandler;
invokevirtual com.sun.tools.example.debug.tty.EventHandler.shutdown:()V
227: StackMap locals:
StackMap stack:
invokestatic com.sun.tools.example.debug.tty.Env.shutdown:()V
228: goto 241
229: StackMap locals:
StackMap stack:
ldc "Unrecognized command. Try help..."
aload 2
invokestatic com.sun.tools.example.debug.tty.MessageOutput.println:(Ljava/lang/String;Ljava/lang/String;)V
230: goto 241
StackMap locals:
StackMap stack: com.sun.jdi.VMCannotBeModifiedException
231: pop
232: ldc "Command is not supported on a read-only VM connection"
aload 2
invokestatic com.sun.tools.example.debug.tty.MessageOutput.println:(Ljava/lang/String;Ljava/lang/String;)V
goto 241
233: StackMap locals:
StackMap stack: java.lang.UnsupportedOperationException
pop
234: ldc "Command is not supported on the target VM"
aload 2
invokestatic com.sun.tools.example.debug.tty.MessageOutput.println:(Ljava/lang/String;Ljava/lang/String;)V
goto 241
235: StackMap locals:
StackMap stack: com.sun.tools.example.debug.tty.VMNotConnectedException
pop
236: ldc "Command not valid until the VM is started with the run command"
237: aload 2
238: invokestatic com.sun.tools.example.debug.tty.MessageOutput.println:(Ljava/lang/String;Ljava/lang/String;)V
goto 241
239: StackMap locals:
StackMap stack: java.lang.Exception
astore 6
start local 6 240: ldc "Internal exception:"
aload 6
invokestatic com.sun.tools.example.debug.tty.MessageOutput.printException:(Ljava/lang/String;Ljava/lang/Exception;)V
end local 6 end local 5 end local 4 241: StackMap locals:
StackMap stack:
iload 3
ifeq 243
242: invokestatic com.sun.tools.example.debug.tty.MessageOutput.printPrompt:()V
243: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 244 0 this Lcom/sun/tools/example/debug/tty/TTY;
0 244 1 t Ljava/util/StringTokenizer;
1 244 2 cmd Ljava/lang/String;
2 244 3 showPrompt Z
5 10 4 repeat I
6 10 5 subcom Ljava/lang/String;
15 241 4 commandNumber I
30 241 5 evaluator Lcom/sun/tools/example/debug/tty/Commands;
240 241 6 e Ljava/lang/Exception;
Exception table:
from to target type
4 10 11 Class java.lang.NumberFormatException
30 230 231 Class com.sun.jdi.VMCannotBeModifiedException
30 230 233 Class java.lang.UnsupportedOperationException
30 230 235 Class com.sun.tools.example.debug.tty.VMNotConnectedException
30 230 239 Class java.lang.Exception
MethodParameters:
Name Flags
t
void monitorCommand(java.util.StringTokenizer);
descriptor: (Ljava/util/StringTokenizer;)V
flags: (0x0000)
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifeq 4
1: aload 0
dup
getfield com.sun.tools.example.debug.tty.TTY.monitorCount:I
iconst_1
iadd
putfield com.sun.tools.example.debug.tty.TTY.monitorCount:I
2: aload 0
getfield com.sun.tools.example.debug.tty.TTY.monitorCommands:Ljava/util/List;
new java.lang.StringBuilder
dup
aload 0
getfield com.sun.tools.example.debug.tty.TTY.monitorCount:I
invokestatic java.lang.String.valueOf:(I)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ": "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
ldc ""
invokevirtual java.util.StringTokenizer.nextToken:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
3: goto 8
4: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.example.debug.tty.TTY.monitorCommands:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 7
StackMap locals: com.sun.tools.example.debug.tty.TTY java.util.StringTokenizer top java.util.Iterator
StackMap stack:
5: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 2
start local 2 6: aload 2
invokestatic com.sun.tools.example.debug.tty.MessageOutput.printDirectln:(Ljava/lang/String;)V
end local 2 7: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
8: StackMap locals: com.sun.tools.example.debug.tty.TTY java.util.StringTokenizer
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/tools/example/debug/tty/TTY;
0 9 1 t Ljava/util/StringTokenizer;
6 7 2 cmd Ljava/lang/String;
MethodParameters:
Name Flags
t
void unmonitorCommand(java.util.StringTokenizer);
descriptor: (Ljava/util/StringTokenizer;)V
flags: (0x0000)
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifeq 18
1: aload 1
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
astore 2
start local 2 2: aload 2
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
pop
3: goto 7
StackMap locals: com.sun.tools.example.debug.tty.TTY java.util.StringTokenizer java.lang.String
StackMap stack: java.lang.NumberFormatException
4: pop
5: ldc "Not a monitor number:"
aload 2
invokestatic com.sun.tools.example.debug.tty.MessageOutput.println:(Ljava/lang/String;Ljava/lang/String;)V
6: return
7: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 2
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 3
start local 3 8: aload 0
getfield com.sun.tools.example.debug.tty.TTY.monitorCommands:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 15
StackMap locals: com.sun.tools.example.debug.tty.TTY java.util.StringTokenizer java.lang.String java.lang.String top java.util.Iterator
StackMap stack:
9: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 4
start local 4 10: new java.util.StringTokenizer
dup
aload 4
invokespecial java.util.StringTokenizer.<init>:(Ljava/lang/String;)V
astore 6
start local 6 11: aload 6
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
aload 3
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 15
12: aload 0
getfield com.sun.tools.example.debug.tty.TTY.monitorCommands:Ljava/util/List;
aload 4
invokeinterface java.util.List.remove:(Ljava/lang/Object;)Z
pop
13: ldc "Unmonitoring"
aload 4
invokestatic com.sun.tools.example.debug.tty.MessageOutput.println:(Ljava/lang/String;Ljava/lang/String;)V
14: return
end local 6 end local 4 15: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 9
16: ldc "No monitor numbered:"
aload 2
invokestatic com.sun.tools.example.debug.tty.MessageOutput.println:(Ljava/lang/String;Ljava/lang/String;)V
end local 3 end local 2 17: goto 19
18: StackMap locals: com.sun.tools.example.debug.tty.TTY java.util.StringTokenizer
StackMap stack:
ldc "Usage: unmonitor <monitor#>"
invokestatic com.sun.tools.example.debug.tty.MessageOutput.println:(Ljava/lang/String;)V
19: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lcom/sun/tools/example/debug/tty/TTY;
0 20 1 t Ljava/util/StringTokenizer;
2 17 2 monTok Ljava/lang/String;
8 17 3 monStr Ljava/lang/String;
10 15 4 cmd Ljava/lang/String;
11 15 6 ct Ljava/util/StringTokenizer;
Exception table:
from to target type
2 3 4 Class java.lang.NumberFormatException
MethodParameters:
Name Flags
t
void readCommand(java.util.StringTokenizer);
descriptor: (Ljava/util/StringTokenizer;)V
flags: (0x0000)
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifeq 5
1: aload 1
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
astore 2
start local 2 2: aload 0
new java.io.File
dup
aload 2
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
invokevirtual com.sun.tools.example.debug.tty.TTY.readCommandFile:(Ljava/io/File;)Z
ifne 6
3: ldc "Could not open:"
aload 2
invokestatic com.sun.tools.example.debug.tty.MessageOutput.println:(Ljava/lang/String;Ljava/lang/String;)V
end local 2 4: goto 6
5: StackMap locals:
StackMap stack:
ldc "Usage: read <command-filename>"
invokestatic com.sun.tools.example.debug.tty.MessageOutput.println:(Ljava/lang/String;)V
6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/tools/example/debug/tty/TTY;
0 7 1 t Ljava/util/StringTokenizer;
2 4 2 cmdfname Ljava/lang/String;
MethodParameters:
Name Flags
t
boolean readCommandFile(java.io.File);
descriptor: (Ljava/io/File;)Z
flags: (0x0000)
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 1
invokevirtual java.io.File.canRead:()Z
ifeq 22
2: ldc "*** Reading commands from"
aload 1
invokevirtual java.io.File.getPath:()Ljava/lang/String;
invokestatic com.sun.tools.example.debug.tty.MessageOutput.println:(Ljava/lang/String;Ljava/lang/String;)V
3: new java.io.BufferedReader
dup
new java.io.FileReader
dup
aload 1
invokespecial java.io.FileReader.<init>:(Ljava/io/File;)V
invokespecial java.io.BufferedReader.<init>:(Ljava/io/Reader;)V
astore 2
4: goto 8
start local 3 5: StackMap locals: java.io.BufferedReader java.lang.String
StackMap stack:
new java.util.StringTokenizer
dup
aload 3
invokespecial java.util.StringTokenizer.<init>:(Ljava/lang/String;)V
astore 4
start local 4 6: aload 4
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifeq 8
7: aload 0
aload 4
invokevirtual com.sun.tools.example.debug.tty.TTY.executeCommand:(Ljava/util/StringTokenizer;)V
end local 4 end local 3 8: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.io.BufferedReader.readLine:()Ljava/lang/String;
dup
astore 3
start local 3 9: ifnonnull 5
end local 3 10: goto 22
StackMap locals:
StackMap stack: java.io.IOException
11: pop
12: aload 2
ifnull 26
13: aload 2
invokevirtual java.io.BufferedReader.close:()V
14: goto 26
StackMap locals:
StackMap stack: java.lang.Exception
15: pop
goto 26
16: StackMap locals:
StackMap stack: java.lang.Throwable
astore 5
17: aload 2
ifnull 21
18: aload 2
invokevirtual java.io.BufferedReader.close:()V
19: goto 21
StackMap locals: com.sun.tools.example.debug.tty.TTY java.io.File java.io.BufferedReader top top java.lang.Throwable
StackMap stack: java.lang.Exception
20: pop
21: StackMap locals:
StackMap stack:
aload 5
athrow
22: StackMap locals: com.sun.tools.example.debug.tty.TTY java.io.File java.io.BufferedReader
StackMap stack:
aload 2
ifnull 26
23: aload 2
invokevirtual java.io.BufferedReader.close:()V
24: goto 26
StackMap locals:
StackMap stack: java.lang.Exception
25: pop
26: StackMap locals:
StackMap stack:
aload 2
ifnull 27
iconst_1
ireturn
StackMap locals:
StackMap stack:
27: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Lcom/sun/tools/example/debug/tty/TTY;
0 28 1 f Ljava/io/File;
1 28 2 inFile Ljava/io/BufferedReader;
5 8 3 ln Ljava/lang/String;
9 10 3 ln Ljava/lang/String;
6 8 4 t Ljava/util/StringTokenizer;
Exception table:
from to target type
1 10 11 Class java.io.IOException
13 14 15 Class java.lang.Exception
1 12 16 any
18 19 20 Class java.lang.Exception
23 24 25 Class java.lang.Exception
MethodParameters:
Name Flags
f
java.lang.String readStartupCommandFile(java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0000)
Code:
stack=4, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new java.io.File
dup
aload 1
aload 2
invokespecial java.io.File.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 4
start local 4 1: aload 4
invokevirtual java.io.File.exists:()Z
ifne 3
2: aconst_null
areturn
3: StackMap locals: java.io.File
StackMap stack:
aload 4
invokevirtual java.io.File.getCanonicalPath:()Ljava/lang/String;
astore 5
start local 5 4: goto 8
end local 5 StackMap locals:
StackMap stack: java.io.IOException
5: pop
6: ldc "Could not open:"
aload 4
invokevirtual java.io.File.getPath:()Ljava/lang/String;
invokestatic com.sun.tools.example.debug.tty.MessageOutput.println:(Ljava/lang/String;Ljava/lang/String;)V
7: aconst_null
areturn
start local 5 8: StackMap locals: java.lang.String
StackMap stack:
aload 3
ifnull 9
aload 3
aload 5
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 11
9: StackMap locals:
StackMap stack:
aload 0
aload 4
invokevirtual com.sun.tools.example.debug.tty.TTY.readCommandFile:(Ljava/io/File;)Z
ifne 11
10: ldc "Could not open:"
aload 4
invokevirtual java.io.File.getPath:()Ljava/lang/String;
invokestatic com.sun.tools.example.debug.tty.MessageOutput.println:(Ljava/lang/String;Ljava/lang/String;)V
11: StackMap locals:
StackMap stack:
aload 5
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/sun/tools/example/debug/tty/TTY;
0 12 1 dir Ljava/lang/String;
0 12 2 fname Ljava/lang/String;
0 12 3 canonPath Ljava/lang/String;
1 12 4 dotInitFile Ljava/io/File;
4 5 5 myCanonFile Ljava/lang/String;
8 12 5 myCanonFile Ljava/lang/String;
Exception table:
from to target type
3 4 5 Class java.io.IOException
MethodParameters:
Name Flags
dir
fname
canonPath
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield com.sun.tools.example.debug.tty.TTY.handler:Lcom/sun/tools/example/debug/tty/EventHandler;
2: aload 0
new java.util.concurrent.CopyOnWriteArrayList
dup
invokespecial java.util.concurrent.CopyOnWriteArrayList.<init>:()V
putfield com.sun.tools.example.debug.tty.TTY.monitorCommands:Ljava/util/List;
3: aload 0
iconst_0
putfield com.sun.tools.example.debug.tty.TTY.monitorCount:I
4: aload 0
iconst_0
putfield com.sun.tools.example.debug.tty.TTY.shuttingDown:Z
5: ldc "Initializing progname"
ldc "jdb"
invokestatic com.sun.tools.example.debug.tty.MessageOutput.println:(Ljava/lang/String;Ljava/lang/String;)V
6: invokestatic com.sun.tools.example.debug.tty.Env.connection:()Lcom/sun/tools/example/debug/tty/VMConnection;
invokevirtual com.sun.tools.example.debug.tty.VMConnection.isOpen:()Z
ifeq 8
invokestatic com.sun.tools.example.debug.tty.Env.vm:()Lcom/sun/jdi/VirtualMachine;
invokeinterface com.sun.jdi.VirtualMachine.canBeModified:()Z
ifeq 8
7: aload 0
new com.sun.tools.example.debug.tty.EventHandler
dup
aload 0
iconst_1
invokespecial com.sun.tools.example.debug.tty.EventHandler.<init>:(Lcom/sun/tools/example/debug/tty/EventNotifier;Z)V
putfield com.sun.tools.example.debug.tty.TTY.handler:Lcom/sun/tools/example/debug/tty/EventHandler;
8: StackMap locals: com.sun.tools.example.debug.tty.TTY
StackMap stack:
new java.io.BufferedReader
dup
new java.io.InputStreamReader
dup
getstatic java.lang.System.in:Ljava/io/InputStream;
invokespecial java.io.InputStreamReader.<init>:(Ljava/io/InputStream;)V
invokespecial java.io.BufferedReader.<init>:(Ljava/io/Reader;)V
9: astore 1
start local 1 10: aconst_null
astore 2
start local 2 11: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
iconst_5
invokevirtual java.lang.Thread.setPriority:(I)V
12: ldc "user.home"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 3
start local 3 13: aload 0
aload 3
ldc "jdb.ini"
aconst_null
invokevirtual com.sun.tools.example.debug.tty.TTY.readStartupCommandFile:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
dup
astore 4
start local 4 14: ifnonnull 16
15: aload 0
aload 3
ldc ".jdbrc"
aconst_null
invokevirtual com.sun.tools.example.debug.tty.TTY.readStartupCommandFile:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 4
16: StackMap locals: com.sun.tools.example.debug.tty.TTY java.io.BufferedReader java.lang.String java.lang.String java.lang.String
StackMap stack:
ldc "user.dir"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 5
start local 5 17: aload 0
aload 5
ldc "jdb.ini"
aload 4
invokevirtual com.sun.tools.example.debug.tty.TTY.readStartupCommandFile:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
ifnonnull 19
18: aload 0
aload 5
ldc ".jdbrc"
aload 4
invokevirtual com.sun.tools.example.debug.tty.TTY.readStartupCommandFile:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
pop
end local 5 end local 4 end local 3 19: StackMap locals:
StackMap stack:
invokestatic com.sun.tools.example.debug.tty.MessageOutput.printPrompt:()V
20: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.io.BufferedReader.readLine:()Ljava/lang/String;
astore 3
start local 3 21: aload 3
ifnonnull 25
22: aload 0
invokevirtual com.sun.tools.example.debug.tty.TTY.isShuttingDown:()Z
ifne 24
23: ldc "Input stream closed."
invokestatic com.sun.tools.example.debug.tty.MessageOutput.println:(Ljava/lang/String;)V
24: StackMap locals: java.lang.String
StackMap stack:
ldc "quit"
astore 3
25: StackMap locals:
StackMap stack:
aload 3
ldc "!!"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 28
aload 2
ifnull 28
26: new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
iconst_2
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3
27: aload 3
invokestatic com.sun.tools.example.debug.tty.MessageOutput.printDirectln:(Ljava/lang/String;)V
28: StackMap locals:
StackMap stack:
new java.util.StringTokenizer
dup
aload 3
invokespecial java.util.StringTokenizer.<init>:(Ljava/lang/String;)V
astore 4
start local 4 29: aload 4
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifeq 33
30: aload 3
astore 2
31: aload 0
aload 4
invokevirtual com.sun.tools.example.debug.tty.TTY.executeCommand:(Ljava/util/StringTokenizer;)V
32: goto 20
33: StackMap locals: java.util.StringTokenizer
StackMap stack:
invokestatic com.sun.tools.example.debug.tty.MessageOutput.printPrompt:()V
end local 4 end local 3 34: goto 20
end local 2 end local 1 35: StackMap locals: com.sun.tools.example.debug.tty.TTY
StackMap stack: com.sun.jdi.VMDisconnectedException
pop
36: aload 0
getfield com.sun.tools.example.debug.tty.TTY.handler:Lcom/sun/tools/example/debug/tty/EventHandler;
invokevirtual com.sun.tools.example.debug.tty.EventHandler.handleDisconnectedException:()V
37: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 38 0 this Lcom/sun/tools/example/debug/tty/TTY;
10 35 1 in Ljava/io/BufferedReader;
11 35 2 lastLine Ljava/lang/String;
13 19 3 userHome Ljava/lang/String;
14 19 4 canonPath Ljava/lang/String;
17 19 5 userDir Ljava/lang/String;
21 34 3 ln Ljava/lang/String;
29 34 4 t Ljava/util/StringTokenizer;
Exception table:
from to target type
8 35 35 Class com.sun.jdi.VMDisconnectedException
Exceptions:
throws java.lang.Exception
private static void usage();
descriptor: ()V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=0, args_size=0
0: ldc "zz usage text"
iconst_2
anewarray java.lang.Object
dup
iconst_0
ldc "jdb"
aastore
dup
iconst_1
1: getstatic java.io.File.pathSeparator:Ljava/lang/String;
aastore
2: invokestatic com.sun.tools.example.debug.tty.MessageOutput.println:(Ljava/lang/String;[Ljava/lang/Object;)V
3: iconst_0
invokestatic java.lang.System.exit:(I)V
4: return
LocalVariableTable:
Start End Slot Name Signature
static void usageError(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic com.sun.tools.example.debug.tty.MessageOutput.println:(Ljava/lang/String;)V
1: invokestatic com.sun.tools.example.debug.tty.MessageOutput.println:()V
2: invokestatic com.sun.tools.example.debug.tty.TTY.usage:()V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 messageKey Ljava/lang/String;
MethodParameters:
Name Flags
messageKey
static void usageError(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic com.sun.tools.example.debug.tty.MessageOutput.println:(Ljava/lang/String;Ljava/lang/String;)V
1: invokestatic com.sun.tools.example.debug.tty.MessageOutput.println:()V
2: invokestatic com.sun.tools.example.debug.tty.TTY.usage:()V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 messageKey Ljava/lang/String;
0 4 1 argument Ljava/lang/String;
MethodParameters:
Name Flags
messageKey
argument
private static boolean supportsSharedMemory();
descriptor: ()Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=0
0: invokestatic com.sun.jdi.Bootstrap.virtualMachineManager:()Lcom/sun/jdi/VirtualMachineManager;
invokeinterface com.sun.jdi.VirtualMachineManager.allConnectors:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 1
goto 6
StackMap locals: top java.util.Iterator
StackMap stack:
1: aload 1
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.jdi.connect.Connector
astore 0
start local 0 2: aload 0
invokeinterface com.sun.jdi.connect.Connector.transport:()Lcom/sun/jdi/connect/Transport;
ifnonnull 4
3: goto 6
4: StackMap locals: com.sun.jdi.connect.Connector java.util.Iterator
StackMap stack:
ldc "dt_shmem"
aload 0
invokeinterface com.sun.jdi.connect.Connector.transport:()Lcom/sun/jdi/connect/Transport;
invokeinterface com.sun.jdi.connect.Transport.name:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
5: iconst_1
ireturn
end local 0 6: StackMap locals: top java.util.Iterator
StackMap stack:
aload 1
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
7: iconst_0
ireturn
LocalVariableTable:
Start End Slot Name Signature
2 6 0 connector Lcom/sun/jdi/connect/Connector;
private static java.lang.String addressToSocketArgs(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: aload 0
bipush 58
invokevirtual java.lang.String.indexOf:(I)I
istore 1
start local 1 1: iload 1
iconst_m1
if_icmpeq 5
2: aload 0
iconst_0
iload 1
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 2
start local 2 3: aload 0
iload 1
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 3
start local 3 4: new java.lang.StringBuilder
dup
ldc "hostname="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ",port="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 3 end local 2 5: StackMap locals: int
StackMap stack:
new java.lang.StringBuilder
dup
ldc "port="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 address Ljava/lang/String;
1 6 1 index I
3 5 2 hostString Ljava/lang/String;
4 5 3 portString Ljava/lang/String;
MethodParameters:
Name Flags
address
private static boolean hasWhitespace(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.String.length:()I
istore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 6
3: StackMap locals: int int
StackMap stack:
aload 0
iload 2
invokevirtual java.lang.String.charAt:(I)C
invokestatic java.lang.Character.isWhitespace:(C)Z
ifeq 5
4: iconst_1
ireturn
5: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
6: iload 2
iload 1
if_icmplt 3
end local 2 7: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 string Ljava/lang/String;
1 8 1 length I
2 7 2 i I
MethodParameters:
Name Flags
string
private static java.lang.String addArgument(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokestatic com.sun.tools.example.debug.tty.TTY.hasWhitespace:(Ljava/lang/String;)Z
ifne 1
aload 1
bipush 44
invokevirtual java.lang.String.indexOf:(I)I
iconst_m1
if_icmpeq 13
1: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 0
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
astore 2
start local 2 2: aload 2
bipush 34
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
3: iconst_0
istore 3
start local 3 4: goto 10
5: StackMap locals: java.lang.StringBuilder int
StackMap stack:
aload 1
iload 3
invokevirtual java.lang.String.charAt:(I)C
istore 4
start local 4 6: iload 4
bipush 34
if_icmpne 8
7: aload 2
bipush 92
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
8: StackMap locals: int
StackMap stack:
aload 2
iload 4
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
end local 4 9: iinc 3 1
StackMap locals:
StackMap stack:
10: iload 3
aload 1
invokevirtual java.lang.String.length:()I
if_icmplt 5
end local 3 11: aload 2
ldc "\" "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
12: aload 2
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 2 13: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 0
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 string Ljava/lang/String;
0 14 1 argument Ljava/lang/String;
2 13 2 sb Ljava/lang/StringBuilder;
4 11 3 i I
6 9 4 c C
MethodParameters:
Name Flags
string
argument
public static void main(java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=10, args_size=1
start local 0 0: ldc ""
astore 1
start local 1 1: ldc ""
astore 2
start local 2 2: iconst_0
istore 3
start local 3 3: iconst_0
istore 4
start local 4 4: aconst_null
astore 5
start local 5 5: ldc "com.sun.tools.example.debug.tty.TTYResources"
6: invokestatic java.util.Locale.getDefault:()Ljava/util/Locale;
7: invokestatic java.util.ResourceBundle.getBundle:(Ljava/lang/String;Ljava/util/Locale;)Ljava/util/ResourceBundle;
putstatic com.sun.tools.example.debug.tty.MessageOutput.textResources:Ljava/util/ResourceBundle;
8: iconst_0
istore 6
start local 6 9: goto 136
10: StackMap locals: java.lang.String[] java.lang.String java.lang.String int int java.lang.String int
StackMap stack:
aload 0
iload 6
aaload
astore 7
start local 7 11: aload 7
ldc "-dbgtrace"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 25
12: iload 6
aload 0
arraylength
iconst_1
isub
if_icmpeq 14
13: aload 0
iload 6
iconst_1
iadd
aaload
iconst_0
invokevirtual java.lang.String.charAt:(I)C
invokestatic java.lang.Character.isDigit:(C)Z
ifne 16
14: StackMap locals: java.lang.String
StackMap stack:
ldc 16777215
istore 3
15: goto 135
16: StackMap locals:
StackMap stack:
ldc ""
astore 8
start local 8 17: aload 0
iinc 6 1
iload 6
aaload
astore 8
18: aload 8
invokestatic java.lang.Integer.decode:(Ljava/lang/String;)Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
istore 3
19: goto 135
StackMap locals: java.lang.String[] java.lang.String java.lang.String int int java.lang.String int java.lang.String java.lang.String
StackMap stack: java.lang.NumberFormatException
20: pop
21: ldc "dbgtrace flag value must be an integer:"
22: aload 8
23: invokestatic com.sun.tools.example.debug.tty.TTY.usageError:(Ljava/lang/String;Ljava/lang/String;)V
24: return
end local 8 25: StackMap locals:
StackMap stack:
aload 7
ldc "-X"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 28
26: ldc "Use java minus X to see"
invokestatic com.sun.tools.example.debug.tty.TTY.usageError:(Ljava/lang/String;)V
27: return
28: StackMap locals:
StackMap stack:
aload 7
ldc "-v"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 38
aload 7
ldc "-v:"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 38
29: aload 7
ldc "-verbose"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 38
30: aload 7
ldc "-D"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 38
31: aload 7
ldc "-X"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 38
32: aload 7
ldc "-noasyncgc"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 38
aload 7
ldc "-prof"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 38
33: aload 7
ldc "-verify"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 38
aload 7
ldc "-noverify"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 38
34: aload 7
ldc "-verifyremote"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 38
35: aload 7
ldc "-verbosegc"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 38
36: aload 7
ldc "-ms"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 38
aload 7
ldc "-mx"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 38
37: aload 7
ldc "-ss"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 38
aload 7
ldc "-oss"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 40
38: StackMap locals:
StackMap stack:
aload 2
aload 7
invokestatic com.sun.tools.example.debug.tty.TTY.addArgument:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 2
39: goto 135
StackMap locals:
StackMap stack:
40: aload 7
ldc "-tclassic"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 43
41: ldc "Classic VM no longer supported."
invokestatic com.sun.tools.example.debug.tty.TTY.usageError:(Ljava/lang/String;)V
42: return
43: StackMap locals:
StackMap stack:
aload 7
ldc "-tclient"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 46
44: new java.lang.StringBuilder
dup
ldc "-client "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
45: goto 135
StackMap locals:
StackMap stack:
46: aload 7
ldc "-tserver"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 49
47: new java.lang.StringBuilder
dup
ldc "-server "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
48: goto 135
StackMap locals:
StackMap stack:
49: aload 7
ldc "-sourcepath"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 55
50: iload 6
aload 0
arraylength
iconst_1
isub
if_icmpne 53
51: ldc "No sourcepath specified."
invokestatic com.sun.tools.example.debug.tty.TTY.usageError:(Ljava/lang/String;)V
52: return
53: StackMap locals:
StackMap stack:
aload 0
iinc 6 1
iload 6
aaload
invokestatic com.sun.tools.example.debug.tty.Env.setSourcePath:(Ljava/lang/String;)V
54: goto 135
StackMap locals:
StackMap stack:
55: aload 7
ldc "-classpath"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 62
56: iload 6
aload 0
arraylength
iconst_1
isub
if_icmpne 59
57: ldc "No classpath specified."
invokestatic com.sun.tools.example.debug.tty.TTY.usageError:(Ljava/lang/String;)V
58: return
59: StackMap locals:
StackMap stack:
aload 2
aload 7
invokestatic com.sun.tools.example.debug.tty.TTY.addArgument:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 2
60: aload 2
aload 0
iinc 6 1
iload 6
aaload
invokestatic com.sun.tools.example.debug.tty.TTY.addArgument:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 2
61: goto 135
StackMap locals:
StackMap stack:
62: aload 7
ldc "-attach"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 78
63: aload 5
ifnull 66
64: ldc "cannot redefine existing connection"
aload 7
invokestatic com.sun.tools.example.debug.tty.TTY.usageError:(Ljava/lang/String;Ljava/lang/String;)V
65: return
66: StackMap locals:
StackMap stack:
iload 6
aload 0
arraylength
iconst_1
isub
if_icmpne 69
67: ldc "No attach address specified."
invokestatic com.sun.tools.example.debug.tty.TTY.usageError:(Ljava/lang/String;)V
68: return
69: StackMap locals:
StackMap stack:
aload 0
iinc 6 1
iload 6
aaload
astore 8
start local 8 70: invokestatic com.sun.tools.example.debug.tty.TTY.supportsSharedMemory:()Z
ifeq 75
71: new java.lang.StringBuilder
dup
ldc "com.sun.jdi.SharedMemoryAttach:name="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
72: aload 8
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
73: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 5
74: goto 135
75: StackMap locals: java.lang.String
StackMap stack:
aload 8
invokestatic com.sun.tools.example.debug.tty.TTY.addressToSocketArgs:(Ljava/lang/String;)Ljava/lang/String;
astore 9
start local 9 76: new java.lang.StringBuilder
dup
ldc "com.sun.jdi.SocketAttach:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 9
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 5
end local 9 end local 8 77: goto 135
StackMap locals:
StackMap stack:
78: aload 7
ldc "-listen"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 79
aload 7
ldc "-listenany"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 97
79: StackMap locals:
StackMap stack:
aload 5
ifnull 82
80: ldc "cannot redefine existing connection"
aload 7
invokestatic com.sun.tools.example.debug.tty.TTY.usageError:(Ljava/lang/String;Ljava/lang/String;)V
81: return
82: StackMap locals:
StackMap stack:
aconst_null
astore 8
start local 8 83: aload 7
ldc "-listen"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 88
84: iload 6
aload 0
arraylength
iconst_1
isub
if_icmpne 87
85: ldc "No attach address specified."
invokestatic com.sun.tools.example.debug.tty.TTY.usageError:(Ljava/lang/String;)V
86: return
87: StackMap locals: java.lang.String
StackMap stack:
aload 0
iinc 6 1
iload 6
aaload
astore 8
88: StackMap locals:
StackMap stack:
invokestatic com.sun.tools.example.debug.tty.TTY.supportsSharedMemory:()Z
ifeq 93
89: ldc "com.sun.jdi.SharedMemoryListen:"
astore 5
90: aload 8
ifnull 135
91: new java.lang.StringBuilder
dup
aload 5
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "name="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 8
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 5
92: goto 135
93: StackMap locals:
StackMap stack:
ldc "com.sun.jdi.SocketListen:"
astore 5
94: aload 8
ifnull 135
95: new java.lang.StringBuilder
dup
aload 5
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 8
invokestatic com.sun.tools.example.debug.tty.TTY.addressToSocketArgs:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 5
end local 8 96: goto 135
StackMap locals:
StackMap stack:
97: aload 7
ldc "-launch"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 100
98: iconst_1
istore 4
99: goto 135
StackMap locals:
StackMap stack:
100: aload 7
ldc "-listconnectors"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 104
101: new com.sun.tools.example.debug.tty.Commands
dup
invokespecial com.sun.tools.example.debug.tty.Commands.<init>:()V
astore 8
start local 8 102: aload 8
invokestatic com.sun.jdi.Bootstrap.virtualMachineManager:()Lcom/sun/jdi/VirtualMachineManager;
invokevirtual com.sun.tools.example.debug.tty.Commands.commandConnectors:(Lcom/sun/jdi/VirtualMachineManager;)V
103: return
end local 8 104: StackMap locals:
StackMap stack:
aload 7
ldc "-connect"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 113
105: aload 5
ifnull 108
106: ldc "cannot redefine existing connection"
aload 7
invokestatic com.sun.tools.example.debug.tty.TTY.usageError:(Ljava/lang/String;Ljava/lang/String;)V
107: return
108: StackMap locals:
StackMap stack:
iload 6
aload 0
arraylength
iconst_1
isub
if_icmpne 111
109: ldc "No connect specification."
invokestatic com.sun.tools.example.debug.tty.TTY.usageError:(Ljava/lang/String;)V
110: return
111: StackMap locals:
StackMap stack:
aload 0
iinc 6 1
iload 6
aaload
astore 5
112: goto 135
StackMap locals:
StackMap stack:
113: aload 7
ldc "-?"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 117
114: aload 7
ldc "-h"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 117
115: aload 7
ldc "--help"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 117
116: aload 7
ldc "-help"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 119
117: StackMap locals:
StackMap stack:
invokestatic com.sun.tools.example.debug.tty.TTY.usage:()V
118: goto 135
StackMap locals:
StackMap stack:
119: aload 7
ldc "-version"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 126
120: new com.sun.tools.example.debug.tty.Commands
dup
invokespecial com.sun.tools.example.debug.tty.Commands.<init>:()V
astore 8
start local 8 121: aload 8
ldc "jdb"
122: invokestatic com.sun.jdi.Bootstrap.virtualMachineManager:()Lcom/sun/jdi/VirtualMachineManager;
123: invokevirtual com.sun.tools.example.debug.tty.Commands.commandVersion:(Ljava/lang/String;Lcom/sun/jdi/VirtualMachineManager;)V
124: iconst_0
invokestatic java.lang.System.exit:(I)V
end local 8 125: goto 135
StackMap locals:
StackMap stack:
126: aload 7
ldc "-"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 129
127: ldc "invalid option"
aload 7
invokestatic com.sun.tools.example.debug.tty.TTY.usageError:(Ljava/lang/String;Ljava/lang/String;)V
128: return
129: StackMap locals:
StackMap stack:
ldc ""
aload 7
invokestatic com.sun.tools.example.debug.tty.TTY.addArgument:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 1
130: iinc 6 1
goto 133
131: StackMap locals:
StackMap stack:
aload 1
aload 0
iload 6
aaload
invokestatic com.sun.tools.example.debug.tty.TTY.addArgument:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 1
132: iinc 6 1
StackMap locals:
StackMap stack:
133: iload 6
aload 0
arraylength
if_icmplt 131
134: goto 137
end local 7 135: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
136: iload 6
aload 0
arraylength
if_icmplt 10
end local 6 137: StackMap locals:
StackMap stack:
aload 5
ifnonnull 140
138: ldc "com.sun.jdi.CommandLineLaunch:"
astore 5
139: goto 142
StackMap locals:
StackMap stack:
140: aload 5
ldc ","
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifne 142
aload 5
ldc ":"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifne 142
141: new java.lang.StringBuilder
dup
aload 5
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 5
142: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 1
143: aload 2
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 2
144: aload 1
invokevirtual java.lang.String.length:()I
ifle 151
145: aload 5
ldc "com.sun.jdi.CommandLineLaunch:"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 150
146: ldc "Cannot specify command line with connector:"
147: aload 5
148: invokestatic com.sun.tools.example.debug.tty.TTY.usageError:(Ljava/lang/String;Ljava/lang/String;)V
149: return
150: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 5
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "main="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ","
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 5
151: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.lang.String.length:()I
ifle 158
152: aload 5
ldc "com.sun.jdi.CommandLineLaunch:"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 157
153: ldc "Cannot specify target vm arguments with connector:"
154: aload 5
155: invokestatic com.sun.tools.example.debug.tty.TTY.usageError:(Ljava/lang/String;Ljava/lang/String;)V
156: return
157: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 5
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "options="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ","
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 5
158: StackMap locals:
StackMap stack:
aload 5
ldc ","
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifne 160
159: new java.lang.StringBuilder
dup
aload 5
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 5
160: StackMap locals:
StackMap stack:
aload 5
iload 4
iload 3
invokestatic com.sun.tools.example.debug.tty.Env.init:(Ljava/lang/String;ZI)V
161: new com.sun.tools.example.debug.tty.TTY
invokespecial com.sun.tools.example.debug.tty.TTY.<init>:()V
162: goto 165
StackMap locals:
StackMap stack: java.lang.Exception
163: astore 6
start local 6 164: ldc "Internal exception:"
aload 6
invokestatic com.sun.tools.example.debug.tty.MessageOutput.printException:(Ljava/lang/String;Ljava/lang/Exception;)V
end local 6 165: StackMap locals:
StackMap stack:
return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 166 0 argv [Ljava/lang/String;
1 166 1 cmdLine Ljava/lang/String;
2 166 2 javaArgs Ljava/lang/String;
3 166 3 traceFlags I
4 166 4 launchImmediately Z
5 166 5 connectSpec Ljava/lang/String;
9 137 6 i I
11 135 7 token Ljava/lang/String;
17 25 8 flagStr Ljava/lang/String;
70 77 8 address Ljava/lang/String;
76 77 9 suboptions Ljava/lang/String;
83 96 8 address Ljava/lang/String;
102 104 8 evaluator Lcom/sun/tools/example/debug/tty/Commands;
121 125 8 evaluator Lcom/sun/tools/example/debug/tty/Commands;
164 165 6 e Ljava/lang/Exception;
Exception table:
from to target type
17 19 20 Class java.lang.NumberFormatException
158 162 163 Class java.lang.Exception
Exceptions:
throws java.util.MissingResourceException
MethodParameters:
Name Flags
argv
}
SourceFile: "TTY.java"