final class com.sun.jndi.ldap.EventQueue implements java.lang.Runnable
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.sun.jndi.ldap.EventQueue
super_class: java.lang.Object
{
private static final boolean debug;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private com.sun.jndi.ldap.EventQueue$QueueElement head;
descriptor: Lcom/sun/jndi/ldap/EventQueue$QueueElement;
flags: (0x0002) ACC_PRIVATE
private com.sun.jndi.ldap.EventQueue$QueueElement tail;
descriptor: Lcom/sun/jndi/ldap/EventQueue$QueueElement;
flags: (0x0002) ACC_PRIVATE
private java.lang.Thread qThread;
descriptor: Ljava/lang/Thread;
flags: (0x0002) ACC_PRIVATE
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield com.sun.jndi.ldap.EventQueue.head:Lcom/sun/jndi/ldap/EventQueue$QueueElement;
2: aload 0
aconst_null
putfield com.sun.jndi.ldap.EventQueue.tail:Lcom/sun/jndi/ldap/EventQueue$QueueElement;
3: aload 0
getstatic com.sun.jndi.ldap.Obj.helper:Lcom/sun/jndi/ldap/VersionHelper;
aload 0
invokevirtual com.sun.jndi.ldap.VersionHelper.createThread:(Ljava/lang/Runnable;)Ljava/lang/Thread;
putfield com.sun.jndi.ldap.EventQueue.qThread:Ljava/lang/Thread;
4: aload 0
getfield com.sun.jndi.ldap.EventQueue.qThread:Ljava/lang/Thread;
iconst_1
invokevirtual java.lang.Thread.setDaemon:(Z)V
5: aload 0
getfield com.sun.jndi.ldap.EventQueue.qThread:Ljava/lang/Thread;
invokevirtual java.lang.Thread.start:()V
6: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/jndi/ldap/EventQueue;
synchronized void enqueue(java.util.EventObject, java.util.Vector);
descriptor: (Ljava/util/EventObject;Ljava/util/Vector;)V
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: new com.sun.jndi.ldap.EventQueue$QueueElement
dup
aload 1
aload 2
invokespecial com.sun.jndi.ldap.EventQueue$QueueElement.<init>:(Ljava/util/EventObject;Ljava/util/Vector;)V
astore 3
start local 3 1: aload 0
getfield com.sun.jndi.ldap.EventQueue.head:Lcom/sun/jndi/ldap/EventQueue$QueueElement;
ifnonnull 5
2: aload 0
aload 3
putfield com.sun.jndi.ldap.EventQueue.head:Lcom/sun/jndi/ldap/EventQueue$QueueElement;
3: aload 0
aload 3
putfield com.sun.jndi.ldap.EventQueue.tail:Lcom/sun/jndi/ldap/EventQueue$QueueElement;
4: goto 8
5: StackMap locals: com.sun.jndi.ldap.EventQueue$QueueElement
StackMap stack:
aload 3
aload 0
getfield com.sun.jndi.ldap.EventQueue.head:Lcom/sun/jndi/ldap/EventQueue$QueueElement;
putfield com.sun.jndi.ldap.EventQueue$QueueElement.next:Lcom/sun/jndi/ldap/EventQueue$QueueElement;
6: aload 0
getfield com.sun.jndi.ldap.EventQueue.head:Lcom/sun/jndi/ldap/EventQueue$QueueElement;
aload 3
putfield com.sun.jndi.ldap.EventQueue$QueueElement.prev:Lcom/sun/jndi/ldap/EventQueue$QueueElement;
7: aload 0
aload 3
putfield com.sun.jndi.ldap.EventQueue.head:Lcom/sun/jndi/ldap/EventQueue$QueueElement;
8: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.Object.notify:()V
9: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/jndi/ldap/EventQueue;
0 10 1 event Ljava/util/EventObject;
0 10 2 vector Ljava/util/Vector;
1 10 3 newElt Lcom/sun/jndi/ldap/EventQueue$QueueElement;
MethodParameters:
Name Flags
event
vector
private synchronized com.sun.jndi.ldap.EventQueue$QueueElement dequeue();
descriptor: ()Lcom/sun/jndi/ldap/EventQueue$QueueElement;
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=4, locals=2, args_size=1
start local 0 0: goto 2
1: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.Object.wait:()V
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.jndi.ldap.EventQueue.tail:Lcom/sun/jndi/ldap/EventQueue$QueueElement;
ifnull 1
3: aload 0
getfield com.sun.jndi.ldap.EventQueue.tail:Lcom/sun/jndi/ldap/EventQueue$QueueElement;
astore 1
start local 1 4: aload 0
aload 1
getfield com.sun.jndi.ldap.EventQueue$QueueElement.prev:Lcom/sun/jndi/ldap/EventQueue$QueueElement;
putfield com.sun.jndi.ldap.EventQueue.tail:Lcom/sun/jndi/ldap/EventQueue$QueueElement;
5: aload 0
getfield com.sun.jndi.ldap.EventQueue.tail:Lcom/sun/jndi/ldap/EventQueue$QueueElement;
ifnonnull 8
6: aload 0
aconst_null
putfield com.sun.jndi.ldap.EventQueue.head:Lcom/sun/jndi/ldap/EventQueue$QueueElement;
7: goto 9
8: StackMap locals: com.sun.jndi.ldap.EventQueue$QueueElement
StackMap stack:
aload 0
getfield com.sun.jndi.ldap.EventQueue.tail:Lcom/sun/jndi/ldap/EventQueue$QueueElement;
aconst_null
putfield com.sun.jndi.ldap.EventQueue$QueueElement.next:Lcom/sun/jndi/ldap/EventQueue$QueueElement;
9: StackMap locals:
StackMap stack:
aload 1
aload 1
aconst_null
dup_x1
putfield com.sun.jndi.ldap.EventQueue$QueueElement.next:Lcom/sun/jndi/ldap/EventQueue$QueueElement;
putfield com.sun.jndi.ldap.EventQueue$QueueElement.prev:Lcom/sun/jndi/ldap/EventQueue$QueueElement;
10: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/sun/jndi/ldap/EventQueue;
4 11 1 elt Lcom/sun/jndi/ldap/EventQueue$QueueElement;
Exceptions:
throws java.lang.InterruptedException
public void run();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=1
start local 0 0: goto 20
start local 1 1: StackMap locals: com.sun.jndi.ldap.EventQueue$QueueElement
StackMap stack:
aload 1
getfield com.sun.jndi.ldap.EventQueue$QueueElement.event:Ljava/util/EventObject;
astore 2
start local 2 2: aload 1
getfield com.sun.jndi.ldap.EventQueue$QueueElement.vector:Ljava/util/Vector;
astore 3
start local 3 3: iconst_0
istore 4
start local 4 4: goto 18
5: StackMap locals: java.util.EventObject java.util.Vector int
StackMap stack:
aload 2
instanceof javax.naming.event.NamingEvent
ifeq 8
6: aload 2
checkcast javax.naming.event.NamingEvent
aload 3
iload 4
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
checkcast javax.naming.event.NamingListener
invokevirtual javax.naming.event.NamingEvent.dispatch:(Ljavax/naming/event/NamingListener;)V
7: goto 17
StackMap locals:
StackMap stack:
8: aload 2
instanceof javax.naming.event.NamingExceptionEvent
ifeq 13
9: aload 2
checkcast javax.naming.event.NamingExceptionEvent
10: aload 3
iload 4
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
checkcast javax.naming.event.NamingListener
11: invokevirtual javax.naming.event.NamingExceptionEvent.dispatch:(Ljavax/naming/event/NamingListener;)V
12: goto 17
StackMap locals:
StackMap stack:
13: aload 2
instanceof javax.naming.ldap.UnsolicitedNotificationEvent
ifeq 17
14: aload 2
checkcast javax.naming.ldap.UnsolicitedNotificationEvent
15: aload 3
iload 4
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
checkcast javax.naming.ldap.UnsolicitedNotificationListener
16: invokevirtual javax.naming.ldap.UnsolicitedNotificationEvent.dispatch:(Ljavax/naming/ldap/UnsolicitedNotificationListener;)V
17: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
18: iload 4
aload 3
invokevirtual java.util.Vector.size:()I
if_icmplt 5
end local 4 19: aconst_null
astore 1
aconst_null
astore 2
aconst_null
astore 3
end local 3 end local 2 end local 1 20: StackMap locals: com.sun.jndi.ldap.EventQueue
StackMap stack:
aload 0
invokevirtual com.sun.jndi.ldap.EventQueue.dequeue:()Lcom/sun/jndi/ldap/EventQueue$QueueElement;
dup
astore 1
start local 1 21: ifnonnull 1
22: goto 24
end local 1 StackMap locals:
StackMap stack: java.lang.InterruptedException
23: pop
24: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lcom/sun/jndi/ldap/EventQueue;
1 20 1 qe Lcom/sun/jndi/ldap/EventQueue$QueueElement;
21 23 1 qe Lcom/sun/jndi/ldap/EventQueue$QueueElement;
2 20 2 e Ljava/util/EventObject;
3 20 3 v Ljava/util/Vector;
4 19 4 i I
Exception table:
from to target type
0 22 23 Class java.lang.InterruptedException
void stop();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.jndi.ldap.EventQueue.qThread:Ljava/lang/Thread;
ifnull 3
1: aload 0
getfield com.sun.jndi.ldap.EventQueue.qThread:Ljava/lang/Thread;
invokevirtual java.lang.Thread.interrupt:()V
2: aload 0
aconst_null
putfield com.sun.jndi.ldap.EventQueue.qThread:Ljava/lang/Thread;
3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/jndi/ldap/EventQueue;
}
SourceFile: "EventQueue.java"
NestMembers:
com.sun.jndi.ldap.EventQueue$QueueElement
InnerClasses:
private QueueElement = com.sun.jndi.ldap.EventQueue$QueueElement of com.sun.jndi.ldap.EventQueue