public class com.sun.tools.example.debug.tty.EventHandler implements java.lang.Runnable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.tools.example.debug.tty.EventHandler
super_class: java.lang.Object
{
com.sun.tools.example.debug.tty.EventNotifier notifier;
descriptor: Lcom/sun/tools/example/debug/tty/EventNotifier;
flags: (0x0000)
java.lang.Thread thread;
descriptor: Ljava/lang/Thread;
flags: (0x0000)
volatile boolean connected;
descriptor: Z
flags: (0x0040) ACC_VOLATILE
boolean completed;
descriptor: Z
flags: (0x0000)
java.lang.String shutdownMessageKey;
descriptor: Ljava/lang/String;
flags: (0x0000)
boolean stopOnVMStart;
descriptor: Z
flags: (0x0000)
private boolean vmDied;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
void <init>(com.sun.tools.example.debug.tty.EventNotifier, boolean);
descriptor: (Lcom/sun/tools/example/debug/tty/EventNotifier;Z)V
flags: (0x0000)
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_1
putfield com.sun.tools.example.debug.tty.EventHandler.connected:Z
2: aload 0
iconst_0
putfield com.sun.tools.example.debug.tty.EventHandler.completed:Z
3: aload 0
iconst_0
putfield com.sun.tools.example.debug.tty.EventHandler.vmDied:Z
4: aload 0
aload 1
putfield com.sun.tools.example.debug.tty.EventHandler.notifier:Lcom/sun/tools/example/debug/tty/EventNotifier;
5: aload 0
iload 2
putfield com.sun.tools.example.debug.tty.EventHandler.stopOnVMStart:Z
6: aload 0
new java.lang.Thread
dup
aload 0
ldc "event-handler"
invokespecial java.lang.Thread.<init>:(Ljava/lang/Runnable;Ljava/lang/String;)V
putfield com.sun.tools.example.debug.tty.EventHandler.thread:Ljava/lang/Thread;
7: aload 0
getfield com.sun.tools.example.debug.tty.EventHandler.thread:Ljava/lang/Thread;
invokevirtual java.lang.Thread.start:()V
8: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/tools/example/debug/tty/EventHandler;
0 9 1 notifier Lcom/sun/tools/example/debug/tty/EventNotifier;
0 9 2 stopOnVMStart Z
MethodParameters:
Name Flags
notifier
stopOnVMStart
synchronized void shutdown();
descriptor: ()V
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
putfield com.sun.tools.example.debug.tty.EventHandler.connected:Z
1: aload 0
getfield com.sun.tools.example.debug.tty.EventHandler.thread:Ljava/lang/Thread;
invokevirtual java.lang.Thread.interrupt:()V
2: goto 6
3: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.Object.wait:()V
4: goto 6
StackMap locals:
StackMap stack: java.lang.InterruptedException
5: pop
6: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.example.debug.tty.EventHandler.completed:Z
ifeq 3
7: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/tools/example/debug/tty/EventHandler;
Exception table:
from to target type
3 4 5 Class java.lang.InterruptedException
public void run();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=1
start local 0 0: invokestatic com.sun.tools.example.debug.tty.Env.vm:()Lcom/sun/jdi/VirtualMachine;
invokeinterface com.sun.jdi.VirtualMachine.eventQueue:()Lcom/sun/jdi/event/EventQueue;
astore 1
start local 1 1: goto 21
2: StackMap locals: com.sun.jdi.event.EventQueue
StackMap stack:
aload 1
invokeinterface com.sun.jdi.event.EventQueue.remove:()Lcom/sun/jdi/event/EventSet;
astore 2
start local 2 3: iconst_0
istore 3
start local 3 4: aload 2
invokeinterface com.sun.jdi.event.EventSet.eventIterator:()Lcom/sun/jdi/event/EventIterator;
astore 4
start local 4 5: goto 9
6: StackMap locals: com.sun.jdi.event.EventSet int com.sun.jdi.event.EventIterator
StackMap stack:
iload 3
aload 0
aload 4
invokeinterface com.sun.jdi.event.EventIterator.nextEvent:()Lcom/sun/jdi/event/Event;
invokevirtual com.sun.tools.example.debug.tty.EventHandler.handleEvent:(Lcom/sun/jdi/event/Event;)Z
ifeq 7
iconst_0
goto 8
StackMap locals:
StackMap stack: int
7: iconst_1
StackMap locals: com.sun.tools.example.debug.tty.EventHandler com.sun.jdi.event.EventQueue com.sun.jdi.event.EventSet int com.sun.jdi.event.EventIterator
StackMap stack: int int
8: ior
istore 3
9: StackMap locals:
StackMap stack:
aload 4
invokeinterface com.sun.jdi.event.EventIterator.hasNext:()Z
ifne 6
10: iload 3
ifeq 13
11: aload 2
invokeinterface com.sun.jdi.event.EventSet.resume:()V
12: goto 21
StackMap locals:
StackMap stack:
13: aload 2
invokeinterface com.sun.jdi.event.EventSet.suspendPolicy:()I
iconst_2
if_icmpne 21
14: aload 0
aload 2
invokevirtual com.sun.tools.example.debug.tty.EventHandler.setCurrentThread:(Lcom/sun/jdi/event/EventSet;)V
15: aload 0
getfield com.sun.tools.example.debug.tty.EventHandler.notifier:Lcom/sun/tools/example/debug/tty/EventNotifier;
invokeinterface com.sun.tools.example.debug.tty.EventNotifier.vmInterrupted:()V
end local 4 end local 3 end local 2 16: goto 21
StackMap locals: com.sun.tools.example.debug.tty.EventHandler com.sun.jdi.event.EventQueue
StackMap stack: java.lang.InterruptedException
17: pop
goto 21
18: StackMap locals:
StackMap stack: com.sun.jdi.VMDisconnectedException
pop
19: aload 0
invokevirtual com.sun.tools.example.debug.tty.EventHandler.handleDisconnectedException:()V
20: goto 22
21: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.example.debug.tty.EventHandler.connected:Z
ifne 2
22: StackMap locals:
StackMap stack:
aload 0
dup
astore 2
monitorenter
23: aload 0
iconst_1
putfield com.sun.tools.example.debug.tty.EventHandler.completed:Z
24: aload 0
invokevirtual java.lang.Object.notifyAll:()V
25: aload 2
monitorexit
26: goto 29
StackMap locals: com.sun.tools.example.debug.tty.EventHandler com.sun.jdi.event.EventQueue com.sun.tools.example.debug.tty.EventHandler
StackMap stack: java.lang.Throwable
27: aload 2
monitorexit
28: athrow
29: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 this Lcom/sun/tools/example/debug/tty/EventHandler;
1 30 1 queue Lcom/sun/jdi/event/EventQueue;
3 16 2 eventSet Lcom/sun/jdi/event/EventSet;
4 16 3 resumeStoppedApp Z
5 16 4 it Lcom/sun/jdi/event/EventIterator;
Exception table:
from to target type
2 16 17 Class java.lang.InterruptedException
2 16 18 Class com.sun.jdi.VMDisconnectedException
23 26 27 any
27 28 27 any
private boolean handleEvent(com.sun.jdi.event.Event);
descriptor: (Lcom/sun/jdi/event/Event;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.example.debug.tty.EventHandler.notifier:Lcom/sun/tools/example/debug/tty/EventNotifier;
aload 1
invokeinterface com.sun.tools.example.debug.tty.EventNotifier.receivedEvent:(Lcom/sun/jdi/event/Event;)V
1: aload 1
instanceof com.sun.jdi.event.ExceptionEvent
ifeq 3
2: aload 0
aload 1
invokevirtual com.sun.tools.example.debug.tty.EventHandler.exceptionEvent:(Lcom/sun/jdi/event/Event;)Z
ireturn
3: StackMap locals:
StackMap stack:
aload 1
instanceof com.sun.jdi.event.BreakpointEvent
ifeq 5
4: aload 0
aload 1
invokevirtual com.sun.tools.example.debug.tty.EventHandler.breakpointEvent:(Lcom/sun/jdi/event/Event;)Z
ireturn
5: StackMap locals:
StackMap stack:
aload 1
instanceof com.sun.jdi.event.WatchpointEvent
ifeq 7
6: aload 0
aload 1
invokevirtual com.sun.tools.example.debug.tty.EventHandler.fieldWatchEvent:(Lcom/sun/jdi/event/Event;)Z
ireturn
7: StackMap locals:
StackMap stack:
aload 1
instanceof com.sun.jdi.event.StepEvent
ifeq 9
8: aload 0
aload 1
invokevirtual com.sun.tools.example.debug.tty.EventHandler.stepEvent:(Lcom/sun/jdi/event/Event;)Z
ireturn
9: StackMap locals:
StackMap stack:
aload 1
instanceof com.sun.jdi.event.MethodEntryEvent
ifeq 11
10: aload 0
aload 1
invokevirtual com.sun.tools.example.debug.tty.EventHandler.methodEntryEvent:(Lcom/sun/jdi/event/Event;)Z
ireturn
11: StackMap locals:
StackMap stack:
aload 1
instanceof com.sun.jdi.event.MethodExitEvent
ifeq 13
12: aload 0
aload 1
invokevirtual com.sun.tools.example.debug.tty.EventHandler.methodExitEvent:(Lcom/sun/jdi/event/Event;)Z
ireturn
13: StackMap locals:
StackMap stack:
aload 1
instanceof com.sun.jdi.event.ClassPrepareEvent
ifeq 15
14: aload 0
aload 1
invokevirtual com.sun.tools.example.debug.tty.EventHandler.classPrepareEvent:(Lcom/sun/jdi/event/Event;)Z
ireturn
15: StackMap locals:
StackMap stack:
aload 1
instanceof com.sun.jdi.event.ClassUnloadEvent
ifeq 17
16: aload 0
aload 1
invokevirtual com.sun.tools.example.debug.tty.EventHandler.classUnloadEvent:(Lcom/sun/jdi/event/Event;)Z
ireturn
17: StackMap locals:
StackMap stack:
aload 1
instanceof com.sun.jdi.event.ThreadStartEvent
ifeq 19
18: aload 0
aload 1
invokevirtual com.sun.tools.example.debug.tty.EventHandler.threadStartEvent:(Lcom/sun/jdi/event/Event;)Z
ireturn
19: StackMap locals:
StackMap stack:
aload 1
instanceof com.sun.jdi.event.ThreadDeathEvent
ifeq 21
20: aload 0
aload 1
invokevirtual com.sun.tools.example.debug.tty.EventHandler.threadDeathEvent:(Lcom/sun/jdi/event/Event;)Z
ireturn
21: StackMap locals:
StackMap stack:
aload 1
instanceof com.sun.jdi.event.VMStartEvent
ifeq 23
22: aload 0
aload 1
invokevirtual com.sun.tools.example.debug.tty.EventHandler.vmStartEvent:(Lcom/sun/jdi/event/Event;)Z
ireturn
23: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual com.sun.tools.example.debug.tty.EventHandler.handleExitEvent:(Lcom/sun/jdi/event/Event;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lcom/sun/tools/example/debug/tty/EventHandler;
0 24 1 event Lcom/sun/jdi/event/Event;
MethodParameters:
Name Flags
event
private boolean handleExitEvent(com.sun.jdi.event.Event);
descriptor: (Lcom/sun/jdi/event/Event;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof com.sun.jdi.event.VMDeathEvent
ifeq 3
1: aload 0
iconst_1
putfield com.sun.tools.example.debug.tty.EventHandler.vmDied:Z
2: aload 0
aload 1
invokevirtual com.sun.tools.example.debug.tty.EventHandler.vmDeathEvent:(Lcom/sun/jdi/event/Event;)Z
ireturn
3: StackMap locals:
StackMap stack:
aload 1
instanceof com.sun.jdi.event.VMDisconnectEvent
ifeq 9
4: aload 0
iconst_0
putfield com.sun.tools.example.debug.tty.EventHandler.connected:Z
5: aload 0
getfield com.sun.tools.example.debug.tty.EventHandler.vmDied:Z
ifne 7
6: aload 0
aload 1
invokevirtual com.sun.tools.example.debug.tty.EventHandler.vmDisconnectEvent:(Lcom/sun/jdi/event/Event;)Z
pop
7: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.example.debug.tty.EventHandler.shutdownMessageKey:Ljava/lang/String;
invokestatic com.sun.tools.example.debug.tty.Env.shutdown:(Ljava/lang/String;)V
8: iconst_0
ireturn
9: StackMap locals:
StackMap stack:
new java.lang.InternalError
dup
ldc "Unexpected event type"
10: iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aastore
11: invokestatic com.sun.tools.example.debug.tty.MessageOutput.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/sun/tools/example/debug/tty/EventHandler;
0 12 1 event Lcom/sun/jdi/event/Event;
MethodParameters:
Name Flags
event
synchronized void handleDisconnectedException();
descriptor: ()V
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=2, locals=4, args_size=1
start local 0 0: invokestatic com.sun.tools.example.debug.tty.Env.vm:()Lcom/sun/jdi/VirtualMachine;
invokeinterface com.sun.jdi.VirtualMachine.eventQueue:()Lcom/sun/jdi/event/EventQueue;
astore 1
start local 1 1: goto 10
2: StackMap locals: com.sun.jdi.event.EventQueue
StackMap stack:
aload 1
invokeinterface com.sun.jdi.event.EventQueue.remove:()Lcom/sun/jdi/event/EventSet;
astore 2
start local 2 3: aload 2
invokeinterface com.sun.jdi.event.EventSet.eventIterator:()Lcom/sun/jdi/event/EventIterator;
astore 3
start local 3 4: goto 6
5: StackMap locals: com.sun.jdi.event.EventSet com.sun.jdi.event.EventIterator
StackMap stack:
aload 0
aload 3
invokeinterface com.sun.jdi.event.EventIterator.next:()Ljava/lang/Object;
checkcast com.sun.jdi.event.Event
invokevirtual com.sun.tools.example.debug.tty.EventHandler.handleExitEvent:(Lcom/sun/jdi/event/Event;)Z
pop
6: StackMap locals:
StackMap stack:
aload 3
invokeinterface com.sun.jdi.event.EventIterator.hasNext:()Z
ifne 5
end local 3 end local 2 7: goto 10
StackMap locals: com.sun.tools.example.debug.tty.EventHandler com.sun.jdi.event.EventQueue
StackMap stack: java.lang.InterruptedException
8: pop
goto 10
9: StackMap locals:
StackMap stack: java.lang.InternalError
pop
10: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.example.debug.tty.EventHandler.connected:Z
ifne 2
11: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/sun/tools/example/debug/tty/EventHandler;
1 12 1 queue Lcom/sun/jdi/event/EventQueue;
3 7 2 eventSet Lcom/sun/jdi/event/EventSet;
4 7 3 iter Lcom/sun/jdi/event/EventIterator;
Exception table:
from to target type
2 7 8 Class java.lang.InterruptedException
2 7 9 Class java.lang.InternalError
private com.sun.jdi.ThreadReference eventThread(com.sun.jdi.event.Event);
descriptor: (Lcom/sun/jdi/event/Event;)Lcom/sun/jdi/ThreadReference;
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof com.sun.jdi.event.ClassPrepareEvent
ifeq 2
1: aload 1
checkcast com.sun.jdi.event.ClassPrepareEvent
invokeinterface com.sun.jdi.event.ClassPrepareEvent.thread:()Lcom/sun/jdi/ThreadReference;
areturn
2: StackMap locals:
StackMap stack:
aload 1
instanceof com.sun.jdi.event.LocatableEvent
ifeq 4
3: aload 1
checkcast com.sun.jdi.event.LocatableEvent
invokeinterface com.sun.jdi.event.LocatableEvent.thread:()Lcom/sun/jdi/ThreadReference;
areturn
4: StackMap locals:
StackMap stack:
aload 1
instanceof com.sun.jdi.event.ThreadStartEvent
ifeq 6
5: aload 1
checkcast com.sun.jdi.event.ThreadStartEvent
invokeinterface com.sun.jdi.event.ThreadStartEvent.thread:()Lcom/sun/jdi/ThreadReference;
areturn
6: StackMap locals:
StackMap stack:
aload 1
instanceof com.sun.jdi.event.ThreadDeathEvent
ifeq 8
7: aload 1
checkcast com.sun.jdi.event.ThreadDeathEvent
invokeinterface com.sun.jdi.event.ThreadDeathEvent.thread:()Lcom/sun/jdi/ThreadReference;
areturn
8: StackMap locals:
StackMap stack:
aload 1
instanceof com.sun.jdi.event.VMStartEvent
ifeq 10
9: aload 1
checkcast com.sun.jdi.event.VMStartEvent
invokeinterface com.sun.jdi.event.VMStartEvent.thread:()Lcom/sun/jdi/ThreadReference;
areturn
10: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/sun/tools/example/debug/tty/EventHandler;
0 11 1 event Lcom/sun/jdi/event/Event;
MethodParameters:
Name Flags
event
private void setCurrentThread(com.sun.jdi.event.EventSet);
descriptor: (Lcom/sun/jdi/event/EventSet;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface com.sun.jdi.event.EventSet.size:()I
ifle 4
1: aload 1
invokeinterface com.sun.jdi.event.EventSet.iterator:()Ljava/util/Iterator;
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.jdi.event.Event
astore 3
start local 3 2: aload 0
aload 3
invokevirtual com.sun.tools.example.debug.tty.EventHandler.eventThread:(Lcom/sun/jdi/event/Event;)Lcom/sun/jdi/ThreadReference;
astore 2
end local 3 start local 2 3: goto 5
end local 2 4: StackMap locals:
StackMap stack:
aconst_null
astore 2
start local 2 5: StackMap locals: com.sun.jdi.ThreadReference
StackMap stack:
aload 0
aload 2
invokevirtual com.sun.tools.example.debug.tty.EventHandler.setCurrentThread:(Lcom/sun/jdi/ThreadReference;)V
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/tools/example/debug/tty/EventHandler;
0 7 1 set Lcom/sun/jdi/event/EventSet;
3 4 2 thread Lcom/sun/jdi/ThreadReference;
5 7 2 thread Lcom/sun/jdi/ThreadReference;
2 3 3 event Lcom/sun/jdi/event/Event;
MethodParameters:
Name Flags
set
private void setCurrentThread(com.sun.jdi.ThreadReference);
descriptor: (Lcom/sun/jdi/ThreadReference;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: invokestatic com.sun.tools.example.debug.tty.ThreadInfo.invalidateAll:()V
1: aload 1
invokestatic com.sun.tools.example.debug.tty.ThreadInfo.setCurrentThread:(Lcom/sun/jdi/ThreadReference;)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/EventHandler;
0 3 1 thread Lcom/sun/jdi/ThreadReference;
MethodParameters:
Name Flags
thread
private boolean vmStartEvent(com.sun.jdi.event.Event);
descriptor: (Lcom/sun/jdi/event/Event;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
checkcast com.sun.jdi.event.VMStartEvent
astore 2
start local 2 1: aload 0
getfield com.sun.tools.example.debug.tty.EventHandler.notifier:Lcom/sun/tools/example/debug/tty/EventNotifier;
aload 2
invokeinterface com.sun.tools.example.debug.tty.EventNotifier.vmStartEvent:(Lcom/sun/jdi/event/VMStartEvent;)V
2: aload 0
getfield com.sun.tools.example.debug.tty.EventHandler.stopOnVMStart:Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/example/debug/tty/EventHandler;
0 3 1 event Lcom/sun/jdi/event/Event;
1 3 2 se Lcom/sun/jdi/event/VMStartEvent;
MethodParameters:
Name Flags
event
private boolean breakpointEvent(com.sun.jdi.event.Event);
descriptor: (Lcom/sun/jdi/event/Event;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
checkcast com.sun.jdi.event.BreakpointEvent
astore 2
start local 2 1: aload 0
getfield com.sun.tools.example.debug.tty.EventHandler.notifier:Lcom/sun/tools/example/debug/tty/EventNotifier;
aload 2
invokeinterface com.sun.tools.example.debug.tty.EventNotifier.breakpointEvent:(Lcom/sun/jdi/event/BreakpointEvent;)V
2: iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/example/debug/tty/EventHandler;
0 3 1 event Lcom/sun/jdi/event/Event;
1 3 2 be Lcom/sun/jdi/event/BreakpointEvent;
MethodParameters:
Name Flags
event
private boolean methodEntryEvent(com.sun.jdi.event.Event);
descriptor: (Lcom/sun/jdi/event/Event;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
checkcast com.sun.jdi.event.MethodEntryEvent
astore 2
start local 2 1: aload 0
getfield com.sun.tools.example.debug.tty.EventHandler.notifier:Lcom/sun/tools/example/debug/tty/EventNotifier;
aload 2
invokeinterface com.sun.tools.example.debug.tty.EventNotifier.methodEntryEvent:(Lcom/sun/jdi/event/MethodEntryEvent;)V
2: iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/example/debug/tty/EventHandler;
0 3 1 event Lcom/sun/jdi/event/Event;
1 3 2 me Lcom/sun/jdi/event/MethodEntryEvent;
MethodParameters:
Name Flags
event
private boolean methodExitEvent(com.sun.jdi.event.Event);
descriptor: (Lcom/sun/jdi/event/Event;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
checkcast com.sun.jdi.event.MethodExitEvent
astore 2
start local 2 1: aload 0
getfield com.sun.tools.example.debug.tty.EventHandler.notifier:Lcom/sun/tools/example/debug/tty/EventNotifier;
aload 2
invokeinterface com.sun.tools.example.debug.tty.EventNotifier.methodExitEvent:(Lcom/sun/jdi/event/MethodExitEvent;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/example/debug/tty/EventHandler;
0 2 1 event Lcom/sun/jdi/event/Event;
1 2 2 me Lcom/sun/jdi/event/MethodExitEvent;
MethodParameters:
Name Flags
event
private boolean fieldWatchEvent(com.sun.jdi.event.Event);
descriptor: (Lcom/sun/jdi/event/Event;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
checkcast com.sun.jdi.event.WatchpointEvent
astore 2
start local 2 1: aload 0
getfield com.sun.tools.example.debug.tty.EventHandler.notifier:Lcom/sun/tools/example/debug/tty/EventNotifier;
aload 2
invokeinterface com.sun.tools.example.debug.tty.EventNotifier.fieldWatchEvent:(Lcom/sun/jdi/event/WatchpointEvent;)V
2: iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/example/debug/tty/EventHandler;
0 3 1 event Lcom/sun/jdi/event/Event;
1 3 2 fwe Lcom/sun/jdi/event/WatchpointEvent;
MethodParameters:
Name Flags
event
private boolean stepEvent(com.sun.jdi.event.Event);
descriptor: (Lcom/sun/jdi/event/Event;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
checkcast com.sun.jdi.event.StepEvent
astore 2
start local 2 1: aload 0
getfield com.sun.tools.example.debug.tty.EventHandler.notifier:Lcom/sun/tools/example/debug/tty/EventNotifier;
aload 2
invokeinterface com.sun.tools.example.debug.tty.EventNotifier.stepEvent:(Lcom/sun/jdi/event/StepEvent;)V
2: iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/example/debug/tty/EventHandler;
0 3 1 event Lcom/sun/jdi/event/Event;
1 3 2 se Lcom/sun/jdi/event/StepEvent;
MethodParameters:
Name Flags
event
private boolean classPrepareEvent(com.sun.jdi.event.Event);
descriptor: (Lcom/sun/jdi/event/Event;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
checkcast com.sun.jdi.event.ClassPrepareEvent
astore 2
start local 2 1: aload 0
getfield com.sun.tools.example.debug.tty.EventHandler.notifier:Lcom/sun/tools/example/debug/tty/EventNotifier;
aload 2
invokeinterface com.sun.tools.example.debug.tty.EventNotifier.classPrepareEvent:(Lcom/sun/jdi/event/ClassPrepareEvent;)V
2: getstatic com.sun.tools.example.debug.tty.Env.specList:Lcom/sun/tools/example/debug/tty/EventRequestSpecList;
aload 2
invokevirtual com.sun.tools.example.debug.tty.EventRequestSpecList.resolve:(Lcom/sun/jdi/event/ClassPrepareEvent;)Z
ifne 5
3: ldc "Stopping due to deferred breakpoint errors."
invokestatic com.sun.tools.example.debug.tty.MessageOutput.lnprint:(Ljava/lang/String;)V
4: iconst_1
ireturn
5: StackMap locals: com.sun.jdi.event.ClassPrepareEvent
StackMap stack:
iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/tools/example/debug/tty/EventHandler;
0 6 1 event Lcom/sun/jdi/event/Event;
1 6 2 cle Lcom/sun/jdi/event/ClassPrepareEvent;
MethodParameters:
Name Flags
event
private boolean classUnloadEvent(com.sun.jdi.event.Event);
descriptor: (Lcom/sun/jdi/event/Event;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
checkcast com.sun.jdi.event.ClassUnloadEvent
astore 2
start local 2 1: aload 0
getfield com.sun.tools.example.debug.tty.EventHandler.notifier:Lcom/sun/tools/example/debug/tty/EventNotifier;
aload 2
invokeinterface com.sun.tools.example.debug.tty.EventNotifier.classUnloadEvent:(Lcom/sun/jdi/event/ClassUnloadEvent;)V
2: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/example/debug/tty/EventHandler;
0 3 1 event Lcom/sun/jdi/event/Event;
1 3 2 cue Lcom/sun/jdi/event/ClassUnloadEvent;
MethodParameters:
Name Flags
event
private boolean exceptionEvent(com.sun.jdi.event.Event);
descriptor: (Lcom/sun/jdi/event/Event;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
checkcast com.sun.jdi.event.ExceptionEvent
astore 2
start local 2 1: aload 0
getfield com.sun.tools.example.debug.tty.EventHandler.notifier:Lcom/sun/tools/example/debug/tty/EventNotifier;
aload 2
invokeinterface com.sun.tools.example.debug.tty.EventNotifier.exceptionEvent:(Lcom/sun/jdi/event/ExceptionEvent;)V
2: iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/example/debug/tty/EventHandler;
0 3 1 event Lcom/sun/jdi/event/Event;
1 3 2 ee Lcom/sun/jdi/event/ExceptionEvent;
MethodParameters:
Name Flags
event
private boolean threadDeathEvent(com.sun.jdi.event.Event);
descriptor: (Lcom/sun/jdi/event/Event;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=3, args_size=2
start local 0 start local 1 0: aload 1
checkcast com.sun.jdi.event.ThreadDeathEvent
astore 2
start local 2 1: aload 2
invokeinterface com.sun.jdi.event.ThreadDeathEvent.thread:()Lcom/sun/jdi/ThreadReference;
invokestatic com.sun.tools.example.debug.tty.ThreadInfo.removeThread:(Lcom/sun/jdi/ThreadReference;)V
2: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/example/debug/tty/EventHandler;
0 3 1 event Lcom/sun/jdi/event/Event;
1 3 2 tee Lcom/sun/jdi/event/ThreadDeathEvent;
MethodParameters:
Name Flags
event
private boolean threadStartEvent(com.sun.jdi.event.Event);
descriptor: (Lcom/sun/jdi/event/Event;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
checkcast com.sun.jdi.event.ThreadStartEvent
astore 2
start local 2 1: aload 2
invokeinterface com.sun.jdi.event.ThreadStartEvent.thread:()Lcom/sun/jdi/ThreadReference;
invokestatic com.sun.tools.example.debug.tty.ThreadInfo.addThread:(Lcom/sun/jdi/ThreadReference;)V
2: aload 0
getfield com.sun.tools.example.debug.tty.EventHandler.notifier:Lcom/sun/tools/example/debug/tty/EventNotifier;
aload 2
invokeinterface com.sun.tools.example.debug.tty.EventNotifier.threadStartEvent:(Lcom/sun/jdi/event/ThreadStartEvent;)V
3: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/tools/example/debug/tty/EventHandler;
0 4 1 event Lcom/sun/jdi/event/Event;
1 4 2 tse Lcom/sun/jdi/event/ThreadStartEvent;
MethodParameters:
Name Flags
event
public boolean vmDeathEvent(com.sun.jdi.event.Event);
descriptor: (Lcom/sun/jdi/event/Event;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ldc "The application exited"
putfield com.sun.tools.example.debug.tty.EventHandler.shutdownMessageKey:Ljava/lang/String;
1: aload 0
getfield com.sun.tools.example.debug.tty.EventHandler.notifier:Lcom/sun/tools/example/debug/tty/EventNotifier;
aload 1
checkcast com.sun.jdi.event.VMDeathEvent
invokeinterface com.sun.tools.example.debug.tty.EventNotifier.vmDeathEvent:(Lcom/sun/jdi/event/VMDeathEvent;)V
2: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/example/debug/tty/EventHandler;
0 3 1 event Lcom/sun/jdi/event/Event;
MethodParameters:
Name Flags
event
public boolean vmDisconnectEvent(com.sun.jdi.event.Event);
descriptor: (Lcom/sun/jdi/event/Event;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ldc "The application has been disconnected"
putfield com.sun.tools.example.debug.tty.EventHandler.shutdownMessageKey:Ljava/lang/String;
1: aload 0
getfield com.sun.tools.example.debug.tty.EventHandler.notifier:Lcom/sun/tools/example/debug/tty/EventNotifier;
aload 1
checkcast com.sun.jdi.event.VMDisconnectEvent
invokeinterface com.sun.tools.example.debug.tty.EventNotifier.vmDisconnectEvent:(Lcom/sun/jdi/event/VMDisconnectEvent;)V
2: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/example/debug/tty/EventHandler;
0 3 1 event Lcom/sun/jdi/event/Event;
MethodParameters:
Name Flags
event
}
SourceFile: "EventHandler.java"