public class sun.awt.X11.XEmbedServerTester implements sun.awt.X11.XEventDispatcher
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.awt.X11.XEmbedServerTester
super_class: java.lang.Object
{
private static final sun.util.logging.PlatformLogger xembedLog;
descriptor: Lsun/util/logging/PlatformLogger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final java.lang.Object EVENT_LOCK;
descriptor: Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static final int SYSTEM_EVENT_MASK;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 32768
int my_version;
descriptor: I
flags: (0x0000)
int server_version;
descriptor: I
flags: (0x0000)
sun.awt.X11.XEmbedHelper xembed;
descriptor: Lsun/awt/X11/XEmbedHelper;
flags: (0x0000)
boolean focused;
descriptor: Z
flags: (0x0000)
int focusedKind;
descriptor: I
flags: (0x0000)
int focusedServerComponent;
descriptor: I
flags: (0x0000)
boolean reparent;
descriptor: Z
flags: (0x0000)
long parent;
descriptor: J
flags: (0x0000)
boolean windowActive;
descriptor: Z
flags: (0x0000)
boolean xembedActive;
descriptor: Z
flags: (0x0000)
sun.awt.X11.XBaseWindow window;
descriptor: Lsun/awt/X11/XBaseWindow;
flags: (0x0000)
volatile int eventWaited;
descriptor: I
flags: (0x0040) ACC_VOLATILE
volatile int eventReceived;
descriptor: I
flags: (0x0040) ACC_VOLATILE
int mapped;
descriptor: I
flags: (0x0000)
int accel_key;
descriptor: I
flags: (0x0000)
int accel_keysym;
descriptor: I
flags: (0x0000)
int accel_mods;
descriptor: I
flags: (0x0000)
static java.awt.Rectangle initialBounds;
descriptor: Ljava/awt/Rectangle;
flags: (0x0008) ACC_STATIC
java.awt.Robot robot;
descriptor: Ljava/awt/Robot;
flags: (0x0000)
java.awt.Rectangle[] serverBounds;
descriptor: [Ljava/awt/Rectangle;
flags: (0x0000)
private static final int SERVER_BOUNDS;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private static final int OTHER_FRAME;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private static final int SERVER_FOCUS;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 2
private static final int SERVER_MODAL;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 3
private static final int MODAL_CLOSE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 4
java.util.LinkedList<java.lang.Integer> events;
descriptor: Ljava/util/LinkedList;
flags: (0x0000)
Signature: Ljava/util/LinkedList<Ljava/lang/Integer;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=0, args_size=0
0: ldc "sun.awt.X11.xembed.XEmbedServerTester"
invokestatic sun.util.logging.PlatformLogger.getLogger:(Ljava/lang/String;)Lsun/util/logging/PlatformLogger;
putstatic sun.awt.X11.XEmbedServerTester.xembedLog:Lsun/util/logging/PlatformLogger;
1: new java.awt.Rectangle
dup
iconst_0
iconst_0
bipush 100
bipush 100
invokespecial java.awt.Rectangle.<init>:(IIII)V
putstatic sun.awt.X11.XEmbedServerTester.initialBounds:Ljava/awt/Rectangle;
2: return
LocalVariableTable:
Start End Slot Name Signature
private void <init>(java.awt.Rectangle[], long);
descriptor: ([Ljava/awt/Rectangle;J)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putfield sun.awt.X11.XEmbedServerTester.EVENT_LOCK:Ljava/lang/Object;
2: aload 0
new sun.awt.X11.XEmbedHelper
dup
invokespecial sun.awt.X11.XEmbedHelper.<init>:()V
putfield sun.awt.X11.XEmbedServerTester.xembed:Lsun/awt/X11/XEmbedHelper;
3: aload 0
iconst_m1
putfield sun.awt.X11.XEmbedServerTester.eventWaited:I
aload 0
iconst_m1
putfield sun.awt.X11.XEmbedServerTester.eventReceived:I
4: aload 0
new java.util.LinkedList
dup
invokespecial java.util.LinkedList.<init>:()V
putfield sun.awt.X11.XEmbedServerTester.events:Ljava/util/LinkedList;
5: aload 0
lload 2
putfield sun.awt.X11.XEmbedServerTester.parent:J
6: aload 0
iconst_m1
putfield sun.awt.X11.XEmbedServerTester.focusedKind:I
7: aload 0
iconst_m1
putfield sun.awt.X11.XEmbedServerTester.focusedServerComponent:I
8: aload 0
iconst_0
putfield sun.awt.X11.XEmbedServerTester.reparent:Z
9: aload 0
iconst_0
putfield sun.awt.X11.XEmbedServerTester.windowActive:Z
10: aload 0
iconst_0
putfield sun.awt.X11.XEmbedServerTester.xembedActive:Z
11: aload 0
iconst_0
putfield sun.awt.X11.XEmbedServerTester.my_version:I
12: aload 0
iconst_1
putfield sun.awt.X11.XEmbedServerTester.mapped:I
13: aload 0
aload 1
putfield sun.awt.X11.XEmbedServerTester.serverBounds:[Ljava/awt/Rectangle;
14: aload 1
arraylength
iconst_5
if_icmpge 16
15: new java.lang.IllegalArgumentException
dup
ldc "There must be at least five areas: server-activation, server-deactivation, server-focus, server-modal show, modal-close"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
16: StackMap locals: sun.awt.X11.XEmbedServerTester java.awt.Rectangle[] long
StackMap stack:
aload 0
new java.awt.Robot
dup
invokespecial java.awt.Robot.<init>:()V
putfield sun.awt.X11.XEmbedServerTester.robot:Ljava/awt/Robot;
17: aload 0
getfield sun.awt.X11.XEmbedServerTester.robot:Ljava/awt/Robot;
bipush 100
invokevirtual java.awt.Robot.setAutoDelay:(I)V
18: goto 21
StackMap locals:
StackMap stack: java.lang.Exception
19: pop
20: new java.lang.RuntimeException
dup
ldc "Can't create robot"
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
21: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.initAccel:()V
22: getstatic sun.awt.X11.XEmbedServerTester.xembedLog:Lsun/util/logging/PlatformLogger;
getstatic sun.util.logging.PlatformLogger$Level.FINER:Lsun/util/logging/PlatformLogger$Level;
invokevirtual sun.util.logging.PlatformLogger.isLoggable:(Lsun/util/logging/PlatformLogger$Level;)Z
ifeq 24
23: getstatic sun.awt.X11.XEmbedServerTester.xembedLog:Lsun/util/logging/PlatformLogger;
new java.lang.StringBuilder
dup
ldc "XEmbed client(tester), embedder window: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
lload 2
invokestatic java.lang.Long.toHexString:(J)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual sun.util.logging.PlatformLogger.finer:(Ljava/lang/String;)V
24: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lsun/awt/X11/XEmbedServerTester;
0 25 1 serverBounds [Ljava/awt/Rectangle;
0 25 2 parent J
Exception table:
from to target type
16 18 19 Class java.lang.Exception
MethodParameters:
Name Flags
serverBounds
parent
public static sun.awt.X11.XEmbedServerTester getTester(java.awt.Rectangle[], long);
descriptor: ([Ljava/awt/Rectangle;J)Lsun/awt/X11/XEmbedServerTester;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: new sun.awt.X11.XEmbedServerTester
dup
aload 0
lload 1
invokespecial sun.awt.X11.XEmbedServerTester.<init>:([Ljava/awt/Rectangle;J)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 serverBounds [Ljava/awt/Rectangle;
0 1 1 parent J
MethodParameters:
Name Flags
serverBounds
parent
private void dumpReceivedEvents();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=1
start local 0 0: getstatic sun.awt.X11.XEmbedServerTester.xembedLog:Lsun/util/logging/PlatformLogger;
getstatic sun.util.logging.PlatformLogger$Level.FINER:Lsun/util/logging/PlatformLogger$Level;
invokevirtual sun.util.logging.PlatformLogger.isLoggable:(Lsun/util/logging/PlatformLogger$Level;)Z
ifeq 8
1: getstatic sun.awt.X11.XEmbedServerTester.xembedLog:Lsun/util/logging/PlatformLogger;
ldc "Events received so far:"
invokevirtual sun.util.logging.PlatformLogger.finer:(Ljava/lang/String;)V
2: iconst_0
istore 1
start local 1 3: aload 0
getfield sun.awt.X11.XEmbedServerTester.events:Ljava/util/LinkedList;
invokevirtual java.util.LinkedList.iterator:()Ljava/util/Iterator;
astore 3
goto 6
StackMap locals: sun.awt.X11.XEmbedServerTester int top java.util.Iterator
StackMap stack:
4: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Integer
astore 2
start local 2 5: getstatic sun.awt.X11.XEmbedServerTester.xembedLog:Lsun/util/logging/PlatformLogger;
new java.lang.StringBuilder
dup
iload 1
iinc 1 1
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 2
invokevirtual java.lang.Integer.intValue:()I
invokestatic sun.awt.X11.XEmbedHelper.msgidToString:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual sun.util.logging.PlatformLogger.finer:(Ljava/lang/String;)V
end local 2 6: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
7: getstatic sun.awt.X11.XEmbedServerTester.xembedLog:Lsun/util/logging/PlatformLogger;
ldc "End of event dump"
invokevirtual sun.util.logging.PlatformLogger.finer:(Ljava/lang/String;)V
end local 1 8: StackMap locals: sun.awt.X11.XEmbedServerTester
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/awt/X11/XEmbedServerTester;
3 8 1 pos I
5 6 2 event Ljava/lang/Integer;
public void test1_1();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.embedCompletely:()I
istore 1
start local 1 1: aload 0
iload 1
invokevirtual sun.awt.X11.XEmbedServerTester.waitWindowActivated:(I)V
2: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.requestFocus:()I
pop
3: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.deactivateServer:()I
pop
4: aload 0
aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.getEventPos:()I
invokevirtual sun.awt.X11.XEmbedServerTester.activateServer:(I)I
istore 1
5: aload 0
iload 1
invokevirtual sun.awt.X11.XEmbedServerTester.waitFocusGained:(I)V
6: aload 0
iconst_0
invokevirtual sun.awt.X11.XEmbedServerTester.checkFocusGained:(I)V
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/awt/X11/XEmbedServerTester;
1 8 1 res I
public void test1_2();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.embedCompletely:()I
istore 1
start local 1 1: aload 0
iload 1
invokevirtual sun.awt.X11.XEmbedServerTester.waitWindowActivated:(I)V
2: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.requestFocus:()I
pop
3: aload 0
iconst_0
invokevirtual sun.awt.X11.XEmbedServerTester.checkFocusGained:(I)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/awt/X11/XEmbedServerTester;
1 5 1 res I
public void test1_3();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.embedCompletely:()I
pop
1: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.deactivateServer:()I
pop
2: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.requestFocusNoWait:()I
pop
3: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.checkNotFocused:()V
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/awt/X11/XEmbedServerTester;
public void test1_4();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.embedCompletely:()I
pop
1: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.deactivateServer:()I
pop
2: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.requestFocusNoWait:()I
pop
3: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.checkNotFocused:()V
4: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.getEventPos:()I
istore 1
start local 1 5: aload 0
iload 1
invokevirtual sun.awt.X11.XEmbedServerTester.activateServer:(I)I
pop
6: aload 0
iload 1
invokevirtual sun.awt.X11.XEmbedServerTester.waitFocusGained:(I)V
7: aload 0
iconst_0
invokevirtual sun.awt.X11.XEmbedServerTester.checkFocusGained:(I)V
8: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/awt/X11/XEmbedServerTester;
5 9 1 res I
public void test1_5();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.embedCompletely:()I
istore 1
start local 1 1: aload 0
iload 1
invokevirtual sun.awt.X11.XEmbedServerTester.waitWindowActivated:(I)V
2: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.checkWindowActivated:()V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/awt/X11/XEmbedServerTester;
1 4 1 res I
public void test1_6();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.embedCompletely:()I
istore 1
start local 1 1: aload 0
iload 1
invokevirtual sun.awt.X11.XEmbedServerTester.waitWindowActivated:(I)V
2: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.requestFocus:()I
pop
3: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.deactivateServer:()I
istore 1
4: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.checkFocused:()V
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/awt/X11/XEmbedServerTester;
1 6 1 res I
public void test1_7();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.embedCompletely:()I
istore 1
start local 1 1: aload 0
iload 1
invokevirtual sun.awt.X11.XEmbedServerTester.waitWindowActivated:(I)V
2: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.requestFocus:()I
pop
3: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.focusServer:()I
pop
4: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.checkFocusLost:()V
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/awt/X11/XEmbedServerTester;
1 6 1 res I
public void test2_5();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.embedCompletely:()I
istore 1
start local 1 1: aload 0
iload 1
invokevirtual sun.awt.X11.XEmbedServerTester.waitWindowActivated:(I)V
2: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.requestFocus:()I
pop
3: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.focusServerNext:()I
pop
4: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.checkFocusedServerNext:()V
5: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.checkFocusLost:()V
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/awt/X11/XEmbedServerTester;
1 7 1 res I
public void test2_6();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.embedCompletely:()I
istore 1
start local 1 1: aload 0
iload 1
invokevirtual sun.awt.X11.XEmbedServerTester.waitWindowActivated:(I)V
2: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.requestFocus:()I
pop
3: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.focusServerPrev:()I
pop
4: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.checkFocusedServerPrev:()V
5: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.checkFocusLost:()V
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/awt/X11/XEmbedServerTester;
1 7 1 res I
public void test3_1();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
putfield sun.awt.X11.XEmbedServerTester.reparent:Z
1: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.embedCompletely:()I
pop
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/X11/XEmbedServerTester;
public void test3_3();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
putfield sun.awt.X11.XEmbedServerTester.reparent:Z
1: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.embedCompletely:()I
pop
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/X11/XEmbedServerTester;
public void test3_4();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
bipush 10
putfield sun.awt.X11.XEmbedServerTester.my_version:I
1: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.embedCompletely:()I
pop
2: aload 0
getfield sun.awt.X11.XEmbedServerTester.server_version:I
ifeq 4
3: new java.lang.RuntimeException
dup
new java.lang.StringBuilder
dup
ldc "Version "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.awt.X11.XEmbedServerTester.server_version:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " is not minimal"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/awt/X11/XEmbedServerTester;
public void test3_5();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.embedCompletely:()I
pop
1: aload 0
getfield sun.awt.X11.XEmbedServerTester.window:Lsun/awt/X11/XBaseWindow;
invokevirtual sun.awt.X11.XBaseWindow.destroy:()V
2: aload 0
sipush 1000
invokevirtual sun.awt.X11.XEmbedServerTester.sleep:(I)V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/awt/X11/XEmbedServerTester;
public void test3_6();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.embedCompletely:()I
pop
1: aload 0
sipush 1000
invokevirtual sun.awt.X11.XEmbedServerTester.sleep:(I)V
2: invokestatic sun.awt.X11.XToolkit.awtLock:()V
3: invokestatic sun.awt.X11.XToolkit.getDisplay:()J
aload 0
getfield sun.awt.X11.XEmbedServerTester.window:Lsun/awt/X11/XBaseWindow;
invokevirtual sun.awt.X11.XBaseWindow.getWindow:()J
invokestatic sun.awt.X11.XlibWrapper.XUnmapWindow:(JJ)V
4: invokestatic sun.awt.X11.XToolkit.getDisplay:()J
aload 0
getfield sun.awt.X11.XEmbedServerTester.window:Lsun/awt/X11/XBaseWindow;
invokevirtual sun.awt.X11.XBaseWindow.getWindow:()J
invokestatic sun.awt.X11.XToolkit.getDefaultRootWindow:()J
iconst_0
iconst_0
invokestatic sun.awt.X11.XlibWrapper.XReparentWindow:(JJJII)V
5: goto 9
StackMap locals:
StackMap stack: java.lang.Throwable
6: astore 1
7: invokestatic sun.awt.X11.XToolkit.awtUnlock:()V
8: aload 1
athrow
9: StackMap locals:
StackMap stack:
invokestatic sun.awt.X11.XToolkit.awtUnlock:()V
10: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.getEventPos:()I
istore 1
start local 1 11: aload 0
iload 1
invokevirtual sun.awt.X11.XEmbedServerTester.activateServerNoWait:(I)I
pop
12: aload 0
sipush 1000
invokevirtual sun.awt.X11.XEmbedServerTester.sleep:(I)V
13: aload 0
iload 1
iconst_1
invokevirtual sun.awt.X11.XEmbedServerTester.checkEventList:(II)I
iconst_m1
if_icmpeq 15
14: new java.lang.RuntimeException
dup
ldc "Focus was been given to the client after XEmbed has ended"
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
15: StackMap locals: int
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lsun/awt/X11/XEmbedServerTester;
11 16 1 res I
Exception table:
from to target type
3 6 6 any
public void test4_1();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
putfield sun.awt.X11.XEmbedServerTester.mapped:I
1: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.getEventPos:()I
pop
2: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.embedCompletely:()I
pop
3: aload 0
sipush 1000
invokevirtual sun.awt.X11.XEmbedServerTester.sleep:(I)V
4: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.checkMapped:()V
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/awt/X11/XEmbedServerTester;
public void test4_2();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
putfield sun.awt.X11.XEmbedServerTester.mapped:I
1: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.embedCompletely:()I
pop
2: aload 0
sipush 1000
invokevirtual sun.awt.X11.XEmbedServerTester.sleep:(I)V
3: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.getEventPos:()I
pop
4: aload 0
iconst_1
putfield sun.awt.X11.XEmbedServerTester.mapped:I
5: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.updateEmbedInfo:()V
6: aload 0
sipush 1000
invokevirtual sun.awt.X11.XEmbedServerTester.sleep:(I)V
7: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.checkMapped:()V
8: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/awt/X11/XEmbedServerTester;
public void test4_3();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.getEventPos:()I
pop
1: aload 0
iconst_1
putfield sun.awt.X11.XEmbedServerTester.mapped:I
2: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.embedCompletely:()I
pop
3: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.getEventPos:()I
pop
4: aload 0
iconst_0
putfield sun.awt.X11.XEmbedServerTester.mapped:I
5: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.updateEmbedInfo:()V
6: aload 0
sipush 1000
invokevirtual sun.awt.X11.XEmbedServerTester.sleep:(I)V
7: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.checkNotMapped:()V
8: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/awt/X11/XEmbedServerTester;
public void test4_4();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
putfield sun.awt.X11.XEmbedServerTester.mapped:I
1: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.embedCompletely:()I
pop
2: aload 0
sipush 1000
invokevirtual sun.awt.X11.XEmbedServerTester.sleep:(I)V
3: aload 0
getfield sun.awt.X11.XEmbedServerTester.window:Lsun/awt/X11/XBaseWindow;
invokevirtual sun.awt.X11.XBaseWindow.getWindow:()J
invokestatic sun.awt.X11.XlibUtil.getWindowMapState:(J)I
ifeq 5
4: new java.lang.RuntimeException
dup
ldc "Client has been mapped"
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/awt/X11/XEmbedServerTester;
public void test6_1_1();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.embedCompletely:()I
pop
1: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.registerAccelerator:()V
2: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.focusServer:()I
pop
3: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.pressAccelKey:()I
istore 1
start local 1 4: aload 0
iload 1
bipush 14
invokevirtual sun.awt.X11.XEmbedServerTester.waitForEvent:(II)V
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/awt/X11/XEmbedServerTester;
4 6 1 res I
public void test6_1_2();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.embedCompletely:()I
pop
1: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.registerAccelerator:()V
2: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.focusServer:()I
pop
3: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.deactivateServer:()I
pop
4: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.pressAccelKey:()I
istore 1
start local 1 5: aload 0
sipush 1000
invokevirtual sun.awt.X11.XEmbedServerTester.sleep:(I)V
6: aload 0
iload 1
bipush 14
invokevirtual sun.awt.X11.XEmbedServerTester.checkEventList:(II)I
iconst_m1
if_icmpeq 8
7: new java.lang.RuntimeException
dup
ldc "Accelerator has been activated in inactive embedder"
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals: int
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/awt/X11/XEmbedServerTester;
5 9 1 res I
public void test6_1_3();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.embedCompletely:()I
pop
1: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.registerAccelerator:()V
2: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.focusServer:()I
pop
3: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.deactivateServer:()I
pop
4: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.unregisterAccelerator:()V
5: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.pressAccelKey:()I
istore 1
start local 1 6: aload 0
sipush 1000
invokevirtual sun.awt.X11.XEmbedServerTester.sleep:(I)V
7: aload 0
iload 1
bipush 14
invokevirtual sun.awt.X11.XEmbedServerTester.checkEventList:(II)I
iconst_m1
if_icmpeq 9
8: new java.lang.RuntimeException
dup
ldc "Accelerator has been activated after unregistering"
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals: int
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/awt/X11/XEmbedServerTester;
6 10 1 res I
public void test6_1_4();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.embedCompletely:()I
pop
1: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.registerAccelerator:()V
2: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.requestFocus:()I
pop
3: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.pressAccelKey:()I
istore 1
start local 1 4: aload 0
sipush 1000
invokevirtual sun.awt.X11.XEmbedServerTester.sleep:(I)V
5: aload 0
iload 1
bipush 14
invokevirtual sun.awt.X11.XEmbedServerTester.checkEventList:(II)I
iconst_m1
if_icmpeq 7
6: new java.lang.RuntimeException
dup
ldc "Accelerator has been activated in focused client"
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals: int
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/awt/X11/XEmbedServerTester;
4 8 1 res I
public void test6_2_1();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.embedCompletely:()I
pop
1: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.grabKey:()V
2: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.focusServer:()I
pop
3: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.pressAccelKey:()I
istore 1
start local 1 4: aload 0
iload 1
iconst_2
invokevirtual sun.awt.X11.XEmbedServerTester.waitSystemEvent:(II)V
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/awt/X11/XEmbedServerTester;
4 6 1 res I
public void test6_2_2();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.embedCompletely:()I
pop
1: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.grabKey:()V
2: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.focusServer:()I
pop
3: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.deactivateServer:()I
pop
4: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.pressAccelKey:()I
istore 1
start local 1 5: aload 0
sipush 1000
invokevirtual sun.awt.X11.XEmbedServerTester.sleep:(I)V
6: aload 0
iload 1
ldc 32770
invokevirtual sun.awt.X11.XEmbedServerTester.checkEventList:(II)I
iconst_m1
if_icmpeq 8
7: new java.lang.RuntimeException
dup
ldc "Accelerator has been activated in inactive embedder"
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals: int
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/awt/X11/XEmbedServerTester;
5 9 1 res I
public void test6_2_3();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.embedCompletely:()I
pop
1: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.grabKey:()V
2: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.focusServer:()I
pop
3: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.deactivateServer:()I
pop
4: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.ungrabKey:()V
5: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.pressAccelKey:()I
istore 1
start local 1 6: aload 0
sipush 1000
invokevirtual sun.awt.X11.XEmbedServerTester.sleep:(I)V
7: aload 0
iload 1
ldc 32770
invokevirtual sun.awt.X11.XEmbedServerTester.checkEventList:(II)I
iconst_m1
if_icmpeq 9
8: new java.lang.RuntimeException
dup
ldc "Accelerator has been activated after unregistering"
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals: int
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/awt/X11/XEmbedServerTester;
6 10 1 res I
public void test6_2_4();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.embedCompletely:()I
pop
1: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.grabKey:()V
2: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.requestFocus:()I
pop
3: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.pressAccelKey:()I
istore 1
start local 1 4: aload 0
sipush 1000
invokevirtual sun.awt.X11.XEmbedServerTester.sleep:(I)V
5: aload 0
iload 1
ldc 32770
invokevirtual sun.awt.X11.XEmbedServerTester.checkEventList:(II)I
istore 2
start local 2 6: iload 2
iconst_m1
if_icmpeq 10
7: aload 0
iload 2
iconst_1
iadd
ldc 32770
invokevirtual sun.awt.X11.XEmbedServerTester.checkEventList:(II)I
istore 2
8: iload 2
iconst_m1
if_icmpeq 10
9: new java.lang.RuntimeException
dup
ldc "Accelerator has been activated in focused client"
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
10: StackMap locals: int int
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/awt/X11/XEmbedServerTester;
4 11 1 res I
6 11 2 pos I
public void test7_1();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.embedCompletely:()I
pop
1: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.showModalDialog:()I
istore 1
start local 1 2: aload 0
iload 1
bipush 10
invokevirtual sun.awt.X11.XEmbedServerTester.waitForEvent:(II)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/awt/X11/XEmbedServerTester;
2 4 1 res I
public void test7_2();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.embedCompletely:()I
pop
1: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.showModalDialog:()I
istore 1
start local 1 2: aload 0
iload 1
bipush 10
invokevirtual sun.awt.X11.XEmbedServerTester.waitForEvent:(II)V
3: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.hideModalDialog:()I
istore 1
4: aload 0
iload 1
bipush 11
invokevirtual sun.awt.X11.XEmbedServerTester.waitForEvent:(II)V
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/awt/X11/XEmbedServerTester;
2 6 1 res I
public void test9_1();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.embedCompletely:()I
pop
1: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.requestFocus:()I
pop
2: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.pressAccelKey:()I
istore 1
start local 1 3: aload 0
iload 1
ldc 32770
invokevirtual sun.awt.X11.XEmbedServerTester.waitForEvent:(II)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/awt/X11/XEmbedServerTester;
3 5 1 res I
private int embed();
descriptor: ()I
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.getEventPos:()I
istore 1
start local 1 1: invokestatic sun.awt.X11.XToolkit.awtLock:()V
2: new sun.awt.X11.XCreateWindowParams
dup
bipush 10
anewarray java.lang.Object
dup
iconst_0
3: ldc "parent window"
aastore
dup
iconst_1
aload 0
getfield sun.awt.X11.XEmbedServerTester.reparent:Z
ifeq 4
invokestatic sun.awt.X11.XToolkit.getDefaultRootWindow:()J
goto 5
StackMap locals: sun.awt.X11.XEmbedServerTester int
StackMap stack: new 2 new 2 java.lang.Object[] java.lang.Object[] int
4: aload 0
getfield sun.awt.X11.XEmbedServerTester.parent:J
StackMap locals: sun.awt.X11.XEmbedServerTester int
StackMap stack: new 2 new 2 java.lang.Object[] java.lang.Object[] int long
5: invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_2
6: ldc "bounds"
aastore
dup
iconst_3
getstatic sun.awt.X11.XEmbedServerTester.initialBounds:Ljava/awt/Rectangle;
aastore
dup
iconst_4
7: ldc "embedded"
aastore
dup
iconst_5
getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
aastore
dup
bipush 6
8: ldc "visible"
aastore
dup
bipush 7
aload 0
getfield sun.awt.X11.XEmbedServerTester.mapped:I
iconst_1
if_icmpne 9
iconst_1
goto 10
StackMap locals: sun.awt.X11.XEmbedServerTester int
StackMap stack: new 2 new 2 java.lang.Object[] java.lang.Object[] int
9: iconst_0
StackMap locals: sun.awt.X11.XEmbedServerTester int
StackMap stack: new 2 new 2 java.lang.Object[] java.lang.Object[] int int
10: invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
bipush 8
11: ldc "event mask"
aastore
dup
bipush 9
ldc 720897
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
12: invokespecial sun.awt.X11.XCreateWindowParams.<init>:([Ljava/lang/Object;)V
13: astore 2
start local 2 14: aload 0
new sun.awt.X11.XBaseWindow
dup
aload 2
invokespecial sun.awt.X11.XBaseWindow.<init>:(Lsun/awt/X11/XCreateWindowParams;)V
putfield sun.awt.X11.XEmbedServerTester.window:Lsun/awt/X11/XBaseWindow;
15: getstatic sun.awt.X11.XEmbedServerTester.xembedLog:Lsun/util/logging/PlatformLogger;
getstatic sun.util.logging.PlatformLogger$Level.FINER:Lsun/util/logging/PlatformLogger$Level;
invokevirtual sun.util.logging.PlatformLogger.isLoggable:(Lsun/util/logging/PlatformLogger$Level;)Z
ifeq 17
16: getstatic sun.awt.X11.XEmbedServerTester.xembedLog:Lsun/util/logging/PlatformLogger;
new java.lang.StringBuilder
dup
ldc "Created tester window: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.awt.X11.XEmbedServerTester.window:Lsun/awt/X11/XBaseWindow;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual sun.util.logging.PlatformLogger.finer:(Ljava/lang/String;)V
17: StackMap locals: sun.awt.X11.XCreateWindowParams
StackMap stack:
aload 0
getfield sun.awt.X11.XEmbedServerTester.window:Lsun/awt/X11/XBaseWindow;
invokevirtual sun.awt.X11.XBaseWindow.getWindow:()J
aload 0
invokestatic sun.awt.X11.XToolkit.addEventDispatcher:(JLsun/awt/X11/XEventDispatcher;)V
18: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.updateEmbedInfo:()V
19: aload 0
getfield sun.awt.X11.XEmbedServerTester.reparent:Z
ifeq 26
20: getstatic sun.awt.X11.XEmbedServerTester.xembedLog:Lsun/util/logging/PlatformLogger;
ldc "Reparenting to embedder"
invokevirtual sun.util.logging.PlatformLogger.finer:(Ljava/lang/String;)V
21: invokestatic sun.awt.X11.XToolkit.getDisplay:()J
aload 0
getfield sun.awt.X11.XEmbedServerTester.window:Lsun/awt/X11/XBaseWindow;
invokevirtual sun.awt.X11.XBaseWindow.getWindow:()J
aload 0
getfield sun.awt.X11.XEmbedServerTester.parent:J
iconst_0
iconst_0
invokestatic sun.awt.X11.XlibWrapper.XReparentWindow:(JJJII)V
end local 2 22: goto 26
StackMap locals: sun.awt.X11.XEmbedServerTester int
StackMap stack: java.lang.Throwable
23: astore 3
24: invokestatic sun.awt.X11.XToolkit.awtUnlock:()V
25: aload 3
athrow
26: StackMap locals:
StackMap stack:
invokestatic sun.awt.X11.XToolkit.awtUnlock:()V
27: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Lsun/awt/X11/XEmbedServerTester;
1 28 1 res I
14 22 2 params Lsun/awt/X11/XCreateWindowParams;
Exception table:
from to target type
2 23 23 any
private void updateEmbedInfo();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=5, args_size=1
start local 0 0: iconst_2
newarray 11
dup
iconst_0
aload 0
getfield sun.awt.X11.XEmbedServerTester.my_version:I
i2l
lastore
dup
iconst_1
aload 0
getfield sun.awt.X11.XEmbedServerTester.mapped:I
i2l
lastore
astore 1
start local 1 1: aload 1
invokestatic sun.awt.X11.Native.card32ToData:([J)J
lstore 2
start local 2 2: getstatic sun.awt.X11.XEmbedHelper.XEmbedInfo:Lsun/awt/X11/XAtom;
aload 0
getfield sun.awt.X11.XEmbedServerTester.window:Lsun/awt/X11/XBaseWindow;
invokevirtual sun.awt.X11.XBaseWindow.getWindow:()J
lload 2
aload 1
arraylength
invokevirtual sun.awt.X11.XAtom.setAtomData:(JJI)V
3: goto 7
StackMap locals: sun.awt.X11.XEmbedServerTester long[] long
StackMap stack: java.lang.Throwable
4: astore 4
5: getstatic sun.awt.X11.XEmbedHelper.unsafe:Lsun/misc/Unsafe;
lload 2
invokevirtual sun.misc.Unsafe.freeMemory:(J)V
6: aload 4
athrow
7: StackMap locals:
StackMap stack:
getstatic sun.awt.X11.XEmbedHelper.unsafe:Lsun/misc/Unsafe;
lload 2
invokevirtual sun.misc.Unsafe.freeMemory:(J)V
8: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/awt/X11/XEmbedServerTester;
1 9 1 info [J
2 9 2 data J
Exception table:
from to target type
2 4 4 any
private int getEventPos();
descriptor: ()I
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.awt.X11.XEmbedServerTester.EVENT_LOCK:Ljava/lang/Object;
dup
astore 1
monitorenter
1: aload 0
getfield sun.awt.X11.XEmbedServerTester.events:Ljava/util/LinkedList;
invokevirtual java.util.LinkedList.size:()I
aload 1
monitorexit
2: ireturn
3: StackMap locals: sun.awt.X11.XEmbedServerTester java.lang.Object
StackMap stack: java.lang.Throwable
aload 1
monitorexit
4: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/awt/X11/XEmbedServerTester;
Exception table:
from to target type
1 2 3 any
3 4 3 any
private int embedCompletely();
descriptor: ()I
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=1
start local 0 0: getstatic sun.awt.X11.XEmbedServerTester.xembedLog:Lsun/util/logging/PlatformLogger;
ldc "Embedding completely"
invokevirtual sun.util.logging.PlatformLogger.fine:(Ljava/lang/String;)V
1: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.getEventPos:()I
istore 1
start local 1 2: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.embed:()I
pop
3: aload 0
iload 1
invokevirtual sun.awt.X11.XEmbedServerTester.waitEmbeddedNotify:(I)V
4: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/awt/X11/XEmbedServerTester;
2 5 1 res I
private int requestFocus();
descriptor: ()I
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=1
start local 0 0: getstatic sun.awt.X11.XEmbedServerTester.xembedLog:Lsun/util/logging/PlatformLogger;
ldc "Requesting focus"
invokevirtual sun.util.logging.PlatformLogger.fine:(Ljava/lang/String;)V
1: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.getEventPos:()I
istore 1
start local 1 2: aload 0
iconst_3
invokevirtual sun.awt.X11.XEmbedServerTester.sendMessage:(I)V
3: aload 0
iload 1
invokevirtual sun.awt.X11.XEmbedServerTester.waitFocusGained:(I)V
4: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/awt/X11/XEmbedServerTester;
2 5 1 res I
private int requestFocusNoWait();
descriptor: ()I
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=1
start local 0 0: getstatic sun.awt.X11.XEmbedServerTester.xembedLog:Lsun/util/logging/PlatformLogger;
ldc "Requesting focus without wait"
invokevirtual sun.util.logging.PlatformLogger.fine:(Ljava/lang/String;)V
1: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.getEventPos:()I
istore 1
start local 1 2: aload 0
iconst_3
invokevirtual sun.awt.X11.XEmbedServerTester.sendMessage:(I)V
3: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/awt/X11/XEmbedServerTester;
2 4 1 res I
private int activateServer(int);
descriptor: (I)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokevirtual sun.awt.X11.XEmbedServerTester.activateServerNoWait:(I)I
istore 2
start local 2 1: aload 0
iload 2
invokevirtual sun.awt.X11.XEmbedServerTester.waitWindowActivated:(I)V
2: iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/X11/XEmbedServerTester;
0 3 1 prev I
1 3 2 res I
MethodParameters:
Name Flags
prev
private int activateServerNoWait(int);
descriptor: (I)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=4, args_size=2
start local 0 start local 1 0: getstatic sun.awt.X11.XEmbedServerTester.xembedLog:Lsun/util/logging/PlatformLogger;
ldc "Activating server"
invokevirtual sun.util.logging.PlatformLogger.fine:(Ljava/lang/String;)V
1: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.getEventPos:()I
istore 2
start local 2 2: aload 0
iload 1
iconst_1
invokevirtual sun.awt.X11.XEmbedServerTester.checkEventList:(II)I
iconst_m1
if_icmpeq 5
3: getstatic sun.awt.X11.XEmbedServerTester.xembedLog:Lsun/util/logging/PlatformLogger;
ldc "Activation already received"
invokevirtual sun.util.logging.PlatformLogger.fine:(Ljava/lang/String;)V
4: iload 2
ireturn
5: StackMap locals: int
StackMap stack:
aload 0
getfield sun.awt.X11.XEmbedServerTester.serverBounds:[Ljava/awt/Rectangle;
iconst_0
aaload
invokevirtual java.awt.Rectangle.getLocation:()Ljava/awt/Point;
astore 3
start local 3 6: aload 3
dup
getfield java.awt.Point.x:I
i2d
aload 0
getfield sun.awt.X11.XEmbedServerTester.serverBounds:[Ljava/awt/Rectangle;
iconst_0
aaload
invokevirtual java.awt.Rectangle.getWidth:()D
ldc 2.0
ddiv
dadd
d2i
putfield java.awt.Point.x:I
7: aload 3
dup
getfield java.awt.Point.y:I
iconst_5
iadd
putfield java.awt.Point.y:I
8: aload 0
getfield sun.awt.X11.XEmbedServerTester.robot:Ljava/awt/Robot;
aload 3
getfield java.awt.Point.x:I
aload 3
getfield java.awt.Point.y:I
invokevirtual java.awt.Robot.mouseMove:(II)V
9: aload 0
getfield sun.awt.X11.XEmbedServerTester.robot:Ljava/awt/Robot;
bipush 16
invokevirtual java.awt.Robot.mousePress:(I)V
10: aload 0
getfield sun.awt.X11.XEmbedServerTester.robot:Ljava/awt/Robot;
bipush 16
invokevirtual java.awt.Robot.mouseRelease:(I)V
11: iload 2
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lsun/awt/X11/XEmbedServerTester;
0 12 1 prev I
2 12 2 res I
6 12 3 loc Ljava/awt/Point;
MethodParameters:
Name Flags
prev
private int deactivateServer();
descriptor: ()I
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=3, args_size=1
start local 0 0: getstatic sun.awt.X11.XEmbedServerTester.xembedLog:Lsun/util/logging/PlatformLogger;
ldc "Deactivating server"
invokevirtual sun.util.logging.PlatformLogger.fine:(Ljava/lang/String;)V
1: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.getEventPos:()I
istore 1
start local 1 2: aload 0
getfield sun.awt.X11.XEmbedServerTester.serverBounds:[Ljava/awt/Rectangle;
iconst_1
aaload
invokevirtual java.awt.Rectangle.getLocation:()Ljava/awt/Point;
astore 2
start local 2 3: aload 2
dup
getfield java.awt.Point.x:I
i2d
aload 0
getfield sun.awt.X11.XEmbedServerTester.serverBounds:[Ljava/awt/Rectangle;
iconst_1
aaload
invokevirtual java.awt.Rectangle.getWidth:()D
ldc 2.0
ddiv
dadd
d2i
putfield java.awt.Point.x:I
4: aload 2
dup
getfield java.awt.Point.y:I
i2d
aload 0
getfield sun.awt.X11.XEmbedServerTester.serverBounds:[Ljava/awt/Rectangle;
iconst_1
aaload
invokevirtual java.awt.Rectangle.getHeight:()D
ldc 2.0
ddiv
dadd
d2i
putfield java.awt.Point.y:I
5: aload 0
getfield sun.awt.X11.XEmbedServerTester.robot:Ljava/awt/Robot;
aload 2
getfield java.awt.Point.x:I
aload 2
getfield java.awt.Point.y:I
invokevirtual java.awt.Robot.mouseMove:(II)V
6: aload 0
getfield sun.awt.X11.XEmbedServerTester.robot:Ljava/awt/Robot;
bipush 16
invokevirtual java.awt.Robot.mousePress:(I)V
7: aload 0
getfield sun.awt.X11.XEmbedServerTester.robot:Ljava/awt/Robot;
bipush 50
invokevirtual java.awt.Robot.delay:(I)V
8: aload 0
getfield sun.awt.X11.XEmbedServerTester.robot:Ljava/awt/Robot;
bipush 16
invokevirtual java.awt.Robot.mouseRelease:(I)V
9: aload 0
iload 1
invokevirtual sun.awt.X11.XEmbedServerTester.waitWindowDeactivated:(I)V
10: iload 1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/awt/X11/XEmbedServerTester;
2 11 1 res I
3 11 2 loc Ljava/awt/Point;
private int focusServer();
descriptor: ()I
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=1
start local 0 0: getstatic sun.awt.X11.XEmbedServerTester.xembedLog:Lsun/util/logging/PlatformLogger;
ldc "Focusing server"
invokevirtual sun.util.logging.PlatformLogger.fine:(Ljava/lang/String;)V
1: aload 0
getfield sun.awt.X11.XEmbedServerTester.focused:Z
istore 1
start local 1 2: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.getEventPos:()I
istore 2
start local 2 3: aload 0
getfield sun.awt.X11.XEmbedServerTester.serverBounds:[Ljava/awt/Rectangle;
iconst_2
aaload
invokevirtual java.awt.Rectangle.getLocation:()Ljava/awt/Point;
astore 3
start local 3 4: aload 3
dup
getfield java.awt.Point.x:I
iconst_5
iadd
putfield java.awt.Point.x:I
5: aload 3
dup
getfield java.awt.Point.y:I
iconst_5
iadd
putfield java.awt.Point.y:I
6: aload 0
getfield sun.awt.X11.XEmbedServerTester.robot:Ljava/awt/Robot;
aload 3
getfield java.awt.Point.x:I
aload 3
getfield java.awt.Point.y:I
invokevirtual java.awt.Robot.mouseMove:(II)V
7: aload 0
getfield sun.awt.X11.XEmbedServerTester.robot:Ljava/awt/Robot;
bipush 16
invokevirtual java.awt.Robot.mousePress:(I)V
8: aload 0
getfield sun.awt.X11.XEmbedServerTester.robot:Ljava/awt/Robot;
bipush 50
invokevirtual java.awt.Robot.delay:(I)V
9: aload 0
getfield sun.awt.X11.XEmbedServerTester.robot:Ljava/awt/Robot;
bipush 16
invokevirtual java.awt.Robot.mouseRelease:(I)V
10: iload 1
ifeq 12
11: aload 0
iload 2
invokevirtual sun.awt.X11.XEmbedServerTester.waitFocusLost:(I)V
12: StackMap locals: int int java.awt.Point
StackMap stack:
iload 2
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lsun/awt/X11/XEmbedServerTester;
2 13 1 weFocused Z
3 13 2 res I
4 13 3 loc Ljava/awt/Point;
private int focusServerNext();
descriptor: ()I
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=1
start local 0 0: getstatic sun.awt.X11.XEmbedServerTester.xembedLog:Lsun/util/logging/PlatformLogger;
ldc "Focusing next server component"
invokevirtual sun.util.logging.PlatformLogger.fine:(Ljava/lang/String;)V
1: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.getEventPos:()I
istore 1
start local 1 2: aload 0
bipush 6
invokevirtual sun.awt.X11.XEmbedServerTester.sendMessage:(I)V
3: aload 0
iload 1
invokevirtual sun.awt.X11.XEmbedServerTester.waitFocusLost:(I)V
4: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/awt/X11/XEmbedServerTester;
2 5 1 res I
private int focusServerPrev();
descriptor: ()I
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=1
start local 0 0: getstatic sun.awt.X11.XEmbedServerTester.xembedLog:Lsun/util/logging/PlatformLogger;
ldc "Focusing previous server component"
invokevirtual sun.util.logging.PlatformLogger.fine:(Ljava/lang/String;)V
1: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.getEventPos:()I
istore 1
start local 1 2: aload 0
bipush 7
invokevirtual sun.awt.X11.XEmbedServerTester.sendMessage:(I)V
3: aload 0
iload 1
invokevirtual sun.awt.X11.XEmbedServerTester.waitFocusLost:(I)V
4: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/awt/X11/XEmbedServerTester;
2 5 1 res I
private void waitEmbeddedNotify(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
iconst_0
invokevirtual sun.awt.X11.XEmbedServerTester.waitForEvent:(II)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/X11/XEmbedServerTester;
0 2 1 pos I
MethodParameters:
Name Flags
pos
private void waitFocusGained(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
iconst_4
invokevirtual sun.awt.X11.XEmbedServerTester.waitForEvent:(II)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/X11/XEmbedServerTester;
0 2 1 pos I
MethodParameters:
Name Flags
pos
private void waitFocusLost(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
iconst_5
invokevirtual sun.awt.X11.XEmbedServerTester.waitForEvent:(II)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/X11/XEmbedServerTester;
0 2 1 pos I
MethodParameters:
Name Flags
pos
private void waitWindowActivated(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
iconst_1
invokevirtual sun.awt.X11.XEmbedServerTester.waitForEvent:(II)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/X11/XEmbedServerTester;
0 2 1 pos I
MethodParameters:
Name Flags
pos
private void waitWindowDeactivated(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
iconst_2
invokevirtual sun.awt.X11.XEmbedServerTester.waitForEvent:(II)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/X11/XEmbedServerTester;
0 2 1 pos I
MethodParameters:
Name Flags
pos
private void waitSystemEvent(int, int);
descriptor: (II)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
iload 2
ldc 32768
ior
invokevirtual sun.awt.X11.XEmbedServerTester.waitForEvent:(II)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/X11/XEmbedServerTester;
0 2 1 position I
0 2 2 event I
MethodParameters:
Name Flags
position
event
private void waitForEvent(int, int);
descriptor: (II)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield sun.awt.X11.XEmbedServerTester.EVENT_LOCK:Ljava/lang/Object;
dup
astore 3
monitorenter
1: aload 0
iload 1
iload 2
invokevirtual sun.awt.X11.XEmbedServerTester.checkEventList:(II)I
iconst_m1
if_icmpeq 6
2: getstatic sun.awt.X11.XEmbedServerTester.xembedLog:Lsun/util/logging/PlatformLogger;
getstatic sun.util.logging.PlatformLogger$Level.FINER:Lsun/util/logging/PlatformLogger$Level;
invokevirtual sun.util.logging.PlatformLogger.isLoggable:(Lsun/util/logging/PlatformLogger$Level;)Z
ifeq 4
3: getstatic sun.awt.X11.XEmbedServerTester.xembedLog:Lsun/util/logging/PlatformLogger;
new java.lang.StringBuilder
dup
ldc "The event "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 2
invokestatic sun.awt.X11.XEmbedHelper.msgidToString:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " has already been received"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual sun.util.logging.PlatformLogger.finer:(Ljava/lang/String;)V
4: StackMap locals: java.lang.Object
StackMap stack:
aload 3
monitorexit
5: return
6: StackMap locals:
StackMap stack:
aload 0
getfield sun.awt.X11.XEmbedServerTester.eventReceived:I
iload 2
if_icmpne 11
7: getstatic sun.awt.X11.XEmbedServerTester.xembedLog:Lsun/util/logging/PlatformLogger;
getstatic sun.util.logging.PlatformLogger$Level.FINER:Lsun/util/logging/PlatformLogger$Level;
invokevirtual sun.util.logging.PlatformLogger.isLoggable:(Lsun/util/logging/PlatformLogger$Level;)Z
ifeq 9
8: getstatic sun.awt.X11.XEmbedServerTester.xembedLog:Lsun/util/logging/PlatformLogger;
new java.lang.StringBuilder
dup
ldc "Already received "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 2
invokestatic sun.awt.X11.XEmbedHelper.msgidToString:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual sun.util.logging.PlatformLogger.finer:(Ljava/lang/String;)V
9: StackMap locals:
StackMap stack:
aload 3
monitorexit
10: return
11: StackMap locals:
StackMap stack:
aload 0
iconst_m1
putfield sun.awt.X11.XEmbedServerTester.eventReceived:I
12: aload 0
iload 2
putfield sun.awt.X11.XEmbedServerTester.eventWaited:I
13: getstatic sun.awt.X11.XEmbedServerTester.xembedLog:Lsun/util/logging/PlatformLogger;
getstatic sun.util.logging.PlatformLogger$Level.FINER:Lsun/util/logging/PlatformLogger$Level;
invokevirtual sun.util.logging.PlatformLogger.isLoggable:(Lsun/util/logging/PlatformLogger$Level;)Z
ifeq 15
14: getstatic sun.awt.X11.XEmbedServerTester.xembedLog:Lsun/util/logging/PlatformLogger;
new java.lang.StringBuilder
dup
ldc "Waiting for "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 2
invokestatic sun.awt.X11.XEmbedHelper.msgidToString:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " starting from "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual sun.util.logging.PlatformLogger.finer:(Ljava/lang/String;)V
15: StackMap locals:
StackMap stack:
aload 0
getfield sun.awt.X11.XEmbedServerTester.EVENT_LOCK:Ljava/lang/Object;
ldc 3000
invokevirtual java.lang.Object.wait:(J)V
16: goto 19
StackMap locals:
StackMap stack: java.lang.InterruptedException
17: astore 4
start local 4 18: getstatic sun.awt.X11.XEmbedServerTester.xembedLog:Lsun/util/logging/PlatformLogger;
ldc "Event wait interrupted"
aload 4
invokevirtual sun.util.logging.PlatformLogger.warning:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 4 19: StackMap locals:
StackMap stack:
aload 0
iconst_m1
putfield sun.awt.X11.XEmbedServerTester.eventWaited:I
20: aload 0
iload 1
iload 2
invokevirtual sun.awt.X11.XEmbedServerTester.checkEventList:(II)I
iconst_m1
if_icmpne 23
21: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.dumpReceivedEvents:()V
22: new java.lang.RuntimeException
dup
new java.lang.StringBuilder
dup
ldc "Didn't receive event "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 2
invokestatic sun.awt.X11.XEmbedHelper.msgidToString:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " but recevied "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield sun.awt.X11.XEmbedServerTester.eventReceived:I
invokestatic sun.awt.X11.XEmbedHelper.msgidToString:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
23: StackMap locals:
StackMap stack:
getstatic sun.awt.X11.XEmbedServerTester.xembedLog:Lsun/util/logging/PlatformLogger;
getstatic sun.util.logging.PlatformLogger$Level.FINER:Lsun/util/logging/PlatformLogger$Level;
invokevirtual sun.util.logging.PlatformLogger.isLoggable:(Lsun/util/logging/PlatformLogger$Level;)Z
ifeq 25
24: getstatic sun.awt.X11.XEmbedServerTester.xembedLog:Lsun/util/logging/PlatformLogger;
new java.lang.StringBuilder
dup
ldc "Successfully recevied "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 2
invokestatic sun.awt.X11.XEmbedHelper.msgidToString:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual sun.util.logging.PlatformLogger.finer:(Ljava/lang/String;)V
25: StackMap locals:
StackMap stack:
aload 3
monitorexit
26: goto 29
StackMap locals:
StackMap stack: java.lang.Throwable
27: aload 3
monitorexit
28: athrow
29: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 this Lsun/awt/X11/XEmbedServerTester;
0 30 1 position I
0 30 2 event I
18 19 4 ie Ljava/lang/InterruptedException;
Exception table:
from to target type
15 16 17 Class java.lang.InterruptedException
1 5 27 any
6 10 27 any
11 26 27 any
27 28 27 any
MethodParameters:
Name Flags
position
event
private int checkEventList(int, int);
descriptor: (II)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=5, args_size=3
start local 0 start local 1 start local 2 0: iload 1
iconst_m1
if_icmpne 2
1: iconst_m1
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.awt.X11.XEmbedServerTester.EVENT_LOCK:Ljava/lang/Object;
dup
astore 3
monitorenter
3: iload 1
istore 4
start local 4 4: goto 9
5: StackMap locals: java.lang.Object int
StackMap stack:
aload 0
getfield sun.awt.X11.XEmbedServerTester.events:Ljava/util/LinkedList;
iload 4
invokevirtual java.util.LinkedList.get:(I)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
iload 2
if_icmpne 8
6: iload 4
aload 3
monitorexit
7: ireturn
8: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
9: iload 4
aload 0
getfield sun.awt.X11.XEmbedServerTester.events:Ljava/util/LinkedList;
invokevirtual java.util.LinkedList.size:()I
if_icmplt 5
end local 4 10: aload 3
monitorexit
11: iconst_m1
ireturn
12: StackMap locals: sun.awt.X11.XEmbedServerTester int int java.lang.Object
StackMap stack: java.lang.Throwable
aload 3
monitorexit
13: athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lsun/awt/X11/XEmbedServerTester;
0 14 1 position I
0 14 2 event I
4 10 4 i I
Exception table:
from to target type
3 7 12 any
8 11 12 any
12 13 12 any
MethodParameters:
Name Flags
position
event
private void checkFocusedServerNext();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.awt.X11.XEmbedServerTester.focusedServerComponent:I
ifeq 2
1: new java.lang.RuntimeException
dup
new java.lang.StringBuilder
dup
ldc "Wrong focused server component, should be 0, but it is "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.awt.X11.XEmbedServerTester.focusedServerComponent:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/X11/XEmbedServerTester;
private void checkFocusedServerPrev();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.awt.X11.XEmbedServerTester.focusedServerComponent:I
iconst_2
if_icmpeq 2
1: new java.lang.RuntimeException
dup
new java.lang.StringBuilder
dup
ldc "Wrong focused server component, should be 2, but it is "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.awt.X11.XEmbedServerTester.focusedServerComponent:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/X11/XEmbedServerTester;
private void checkFocusGained(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.awt.X11.XEmbedServerTester.focused:Z
ifne 2
1: new java.lang.RuntimeException
dup
ldc "Didn't receive FOCUS_GAINED"
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.awt.X11.XEmbedServerTester.focusedKind:I
iload 1
if_icmpeq 4
3: new java.lang.RuntimeException
dup
new java.lang.StringBuilder
dup
ldc "Kinds don't match, required: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ", current: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield sun.awt.X11.XEmbedServerTester.focusedKind:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/awt/X11/XEmbedServerTester;
0 5 1 kind I
MethodParameters:
Name Flags
kind
private void checkNotFocused();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.awt.X11.XEmbedServerTester.focused:Z
ifeq 2
1: new java.lang.RuntimeException
dup
ldc "Focused"
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/X11/XEmbedServerTester;
private void checkFocused();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.awt.X11.XEmbedServerTester.focused:Z
ifne 2
1: new java.lang.RuntimeException
dup
ldc "Not Focused"
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/X11/XEmbedServerTester;
private void checkFocusLost();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.checkNotFocused:()V
1: aload 0
getfield sun.awt.X11.XEmbedServerTester.focusedKind:I
iconst_5
if_icmpeq 3
2: new java.lang.RuntimeException
dup
ldc "Didn't receive FOCUS_LOST"
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/awt/X11/XEmbedServerTester;
private void checkWindowActivated();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.awt.X11.XEmbedServerTester.windowActive:Z
ifne 2
1: new java.lang.RuntimeException
dup
ldc "Window is not active"
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/X11/XEmbedServerTester;
private void checkMapped();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.awt.X11.XEmbedServerTester.window:Lsun/awt/X11/XBaseWindow;
invokevirtual sun.awt.X11.XBaseWindow.getWindow:()J
invokestatic sun.awt.X11.XlibUtil.getWindowMapState:(J)I
ifne 2
1: new java.lang.RuntimeException
dup
ldc "Client is not mapped"
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/X11/XEmbedServerTester;
private void checkNotMapped();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.awt.X11.XEmbedServerTester.window:Lsun/awt/X11/XBaseWindow;
invokevirtual sun.awt.X11.XBaseWindow.getWindow:()J
invokestatic sun.awt.X11.XlibUtil.getWindowMapState:(J)I
ifeq 2
1: new java.lang.RuntimeException
dup
ldc "Client is mapped"
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/X11/XEmbedServerTester;
private void sendMessage(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.awt.X11.XEmbedServerTester.xembed:Lsun/awt/X11/XEmbedHelper;
aload 0
getfield sun.awt.X11.XEmbedServerTester.parent:J
iload 1
invokevirtual sun.awt.X11.XEmbedHelper.sendMessage:(JI)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/X11/XEmbedServerTester;
0 2 1 message I
MethodParameters:
Name Flags
message
private void sendMessage(int, int, long, long);
descriptor: (IIJJ)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=10, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 5 0: aload 0
getfield sun.awt.X11.XEmbedServerTester.xembed:Lsun/awt/X11/XEmbedHelper;
aload 0
getfield sun.awt.X11.XEmbedServerTester.parent:J
iload 1
iload 2
i2l
lload 3
lload 5
invokevirtual sun.awt.X11.XEmbedHelper.sendMessage:(JIJJJ)V
1: return
end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/X11/XEmbedServerTester;
0 2 1 message I
0 2 2 detail I
0 2 3 data1 J
0 2 5 data2 J
MethodParameters:
Name Flags
message
detail
data1
data2
public void dispatchEvent(sun.awt.X11.XEvent);
descriptor: (Lsun/awt/X11/XEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual sun.awt.X11.XEvent.get_type:()I
bipush 33
if_icmpne 32
1: aload 1
invokevirtual sun.awt.X11.XEvent.get_xclient:()Lsun/awt/X11/XClientMessageEvent;
astore 2
start local 2 2: aload 2
invokevirtual sun.awt.X11.XClientMessageEvent.get_message_type:()J
getstatic sun.awt.X11.XEmbedHelper.XEmbed:Lsun/awt/X11/XAtom;
invokevirtual sun.awt.X11.XAtom.getAtom:()J
lcmp
ifne 46
3: getstatic sun.awt.X11.XEmbedServerTester.xembedLog:Lsun/util/logging/PlatformLogger;
getstatic sun.util.logging.PlatformLogger$Level.FINE:Lsun/util/logging/PlatformLogger$Level;
invokevirtual sun.util.logging.PlatformLogger.isLoggable:(Lsun/util/logging/PlatformLogger$Level;)Z
ifeq 5
4: getstatic sun.awt.X11.XEmbedServerTester.xembedLog:Lsun/util/logging/PlatformLogger;
new java.lang.StringBuilder
dup
ldc "Embedded message: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
iconst_1
invokevirtual sun.awt.X11.XClientMessageEvent.get_data:(I)J
l2i
invokestatic sun.awt.X11.XEmbedHelper.msgidToString:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual sun.util.logging.PlatformLogger.fine:(Ljava/lang/String;)V
5: StackMap locals: sun.awt.X11.XClientMessageEvent
StackMap stack:
aload 2
iconst_1
invokevirtual sun.awt.X11.XClientMessageEvent.get_data:(I)J
l2i
tableswitch { // 0 - 5
0: 6
1: 9
2: 11
3: 19
4: 13
5: 16
default: 19
}
6: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield sun.awt.X11.XEmbedServerTester.xembedActive:Z
7: aload 0
aload 2
iconst_3
invokevirtual sun.awt.X11.XClientMessageEvent.get_data:(I)J
l2i
putfield sun.awt.X11.XEmbedServerTester.server_version:I
8: goto 19
9: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield sun.awt.X11.XEmbedServerTester.windowActive:Z
10: goto 19
11: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield sun.awt.X11.XEmbedServerTester.windowActive:Z
12: goto 19
13: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield sun.awt.X11.XEmbedServerTester.focused:Z
14: aload 0
aload 2
iconst_2
invokevirtual sun.awt.X11.XClientMessageEvent.get_data:(I)J
l2i
putfield sun.awt.X11.XEmbedServerTester.focusedKind:I
15: goto 19
16: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield sun.awt.X11.XEmbedServerTester.focused:Z
17: aload 0
iconst_5
putfield sun.awt.X11.XEmbedServerTester.focusedKind:I
18: aload 0
aload 2
iconst_2
invokevirtual sun.awt.X11.XClientMessageEvent.get_data:(I)J
l2i
putfield sun.awt.X11.XEmbedServerTester.focusedServerComponent:I
19: StackMap locals:
StackMap stack:
aload 0
getfield sun.awt.X11.XEmbedServerTester.EVENT_LOCK:Ljava/lang/Object;
dup
astore 3
monitorenter
20: aload 0
getfield sun.awt.X11.XEmbedServerTester.events:Ljava/util/LinkedList;
aload 2
iconst_1
invokevirtual sun.awt.X11.XClientMessageEvent.get_data:(I)J
l2i
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual java.util.LinkedList.add:(Ljava/lang/Object;)Z
pop
21: getstatic sun.awt.X11.XEmbedServerTester.xembedLog:Lsun/util/logging/PlatformLogger;
getstatic sun.util.logging.PlatformLogger$Level.FINER:Lsun/util/logging/PlatformLogger$Level;
invokevirtual sun.util.logging.PlatformLogger.isLoggable:(Lsun/util/logging/PlatformLogger$Level;)Z
ifeq 23
22: getstatic sun.awt.X11.XEmbedServerTester.xembedLog:Lsun/util/logging/PlatformLogger;
new java.lang.StringBuilder
dup
ldc "Tester is waiting for "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.awt.X11.XEmbedServerTester.eventWaited:I
invokestatic sun.awt.X11.XEmbedHelper.msgidToString:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual sun.util.logging.PlatformLogger.finer:(Ljava/lang/String;)V
23: StackMap locals: java.lang.Object
StackMap stack:
aload 2
iconst_1
invokevirtual sun.awt.X11.XClientMessageEvent.get_data:(I)J
l2i
aload 0
getfield sun.awt.X11.XEmbedServerTester.eventWaited:I
if_icmpne 28
24: aload 0
aload 2
iconst_1
invokevirtual sun.awt.X11.XClientMessageEvent.get_data:(I)J
l2i
putfield sun.awt.X11.XEmbedServerTester.eventReceived:I
25: getstatic sun.awt.X11.XEmbedServerTester.xembedLog:Lsun/util/logging/PlatformLogger;
getstatic sun.util.logging.PlatformLogger$Level.FINER:Lsun/util/logging/PlatformLogger$Level;
invokevirtual sun.util.logging.PlatformLogger.isLoggable:(Lsun/util/logging/PlatformLogger$Level;)Z
ifeq 27
26: getstatic sun.awt.X11.XEmbedServerTester.xembedLog:Lsun/util/logging/PlatformLogger;
new java.lang.StringBuilder
dup
ldc "Notifying waiting object for event "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.awt.X11.XEmbedServerTester.EVENT_LOCK:Ljava/lang/Object;
invokestatic java.lang.System.identityHashCode:(Ljava/lang/Object;)I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual sun.util.logging.PlatformLogger.finer:(Ljava/lang/String;)V
27: StackMap locals:
StackMap stack:
aload 0
getfield sun.awt.X11.XEmbedServerTester.EVENT_LOCK:Ljava/lang/Object;
invokevirtual java.lang.Object.notifyAll:()V
28: StackMap locals:
StackMap stack:
aload 3
monitorexit
29: goto 46
StackMap locals:
StackMap stack: java.lang.Throwable
30: aload 3
monitorexit
31: athrow
end local 2 32: StackMap locals:
StackMap stack:
aload 0
getfield sun.awt.X11.XEmbedServerTester.EVENT_LOCK:Ljava/lang/Object;
dup
astore 2
monitorenter
33: aload 1
invokevirtual sun.awt.X11.XEvent.get_type:()I
ldc 32768
ior
istore 3
start local 3 34: aload 0
getfield sun.awt.X11.XEmbedServerTester.events:Ljava/util/LinkedList;
iload 3
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual java.util.LinkedList.add:(Ljava/lang/Object;)Z
pop
35: getstatic sun.awt.X11.XEmbedServerTester.xembedLog:Lsun/util/logging/PlatformLogger;
getstatic sun.util.logging.PlatformLogger$Level.FINER:Lsun/util/logging/PlatformLogger$Level;
invokevirtual sun.util.logging.PlatformLogger.isLoggable:(Lsun/util/logging/PlatformLogger$Level;)Z
ifeq 37
36: getstatic sun.awt.X11.XEmbedServerTester.xembedLog:Lsun/util/logging/PlatformLogger;
new java.lang.StringBuilder
dup
ldc "Tester is waiting for "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.awt.X11.XEmbedServerTester.eventWaited:I
invokestatic sun.awt.X11.XEmbedHelper.msgidToString:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ", but we received "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "("
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 3
invokestatic sun.awt.X11.XEmbedHelper.msgidToString:(I)Ljava/lang/String;
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;
invokevirtual sun.util.logging.PlatformLogger.finer:(Ljava/lang/String;)V
37: StackMap locals: java.lang.Object int
StackMap stack:
iload 3
aload 0
getfield sun.awt.X11.XEmbedServerTester.eventWaited:I
if_icmpne 42
38: aload 0
iload 3
putfield sun.awt.X11.XEmbedServerTester.eventReceived:I
39: getstatic sun.awt.X11.XEmbedServerTester.xembedLog:Lsun/util/logging/PlatformLogger;
getstatic sun.util.logging.PlatformLogger$Level.FINER:Lsun/util/logging/PlatformLogger$Level;
invokevirtual sun.util.logging.PlatformLogger.isLoggable:(Lsun/util/logging/PlatformLogger$Level;)Z
ifeq 41
40: getstatic sun.awt.X11.XEmbedServerTester.xembedLog:Lsun/util/logging/PlatformLogger;
new java.lang.StringBuilder
dup
ldc "Notifying waiting object"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.awt.X11.XEmbedServerTester.EVENT_LOCK:Ljava/lang/Object;
invokestatic java.lang.System.identityHashCode:(Ljava/lang/Object;)I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual sun.util.logging.PlatformLogger.finer:(Ljava/lang/String;)V
41: StackMap locals:
StackMap stack:
aload 0
getfield sun.awt.X11.XEmbedServerTester.EVENT_LOCK:Ljava/lang/Object;
invokevirtual java.lang.Object.notifyAll:()V
end local 3 42: StackMap locals:
StackMap stack:
aload 2
monitorexit
43: goto 46
StackMap locals:
StackMap stack: java.lang.Throwable
44: aload 2
monitorexit
45: athrow
46: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 47 0 this Lsun/awt/X11/XEmbedServerTester;
0 47 1 ev Lsun/awt/X11/XEvent;
2 32 2 msg Lsun/awt/X11/XClientMessageEvent;
34 42 3 eventID I
Exception table:
from to target type
20 29 30 any
30 31 30 any
33 43 44 any
44 45 44 any
MethodParameters:
Name Flags
ev
private void sleep(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
i2l
invokestatic java.lang.Thread.sleep:(J)V
1: goto 3
StackMap locals:
StackMap stack: java.lang.Exception
2: pop
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/awt/X11/XEmbedServerTester;
0 4 1 amount I
Exception table:
from to target type
0 1 2 Class java.lang.Exception
MethodParameters:
Name Flags
amount
private void registerAccelerator();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=1, args_size=1
start local 0 0: aload 0
bipush 12
iconst_1
aload 0
getfield sun.awt.X11.XEmbedServerTester.accel_keysym:I
i2l
aload 0
getfield sun.awt.X11.XEmbedServerTester.accel_mods:I
i2l
invokevirtual sun.awt.X11.XEmbedServerTester.sendMessage:(IIJJ)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/X11/XEmbedServerTester;
private void unregisterAccelerator();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=1, args_size=1
start local 0 0: aload 0
bipush 13
iconst_1
lconst_0
lconst_0
invokevirtual sun.awt.X11.XEmbedServerTester.sendMessage:(IIJJ)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/X11/XEmbedServerTester;
private int pressAccelKey();
descriptor: ()I
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.getEventPos:()I
istore 1
start local 1 1: aload 0
getfield sun.awt.X11.XEmbedServerTester.robot:Ljava/awt/Robot;
aload 0
getfield sun.awt.X11.XEmbedServerTester.accel_key:I
invokevirtual java.awt.Robot.keyPress:(I)V
2: aload 0
getfield sun.awt.X11.XEmbedServerTester.robot:Ljava/awt/Robot;
aload 0
getfield sun.awt.X11.XEmbedServerTester.accel_key:I
invokevirtual java.awt.Robot.keyRelease:(I)V
3: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/awt/X11/XEmbedServerTester;
1 4 1 res I
private void initAccel();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
bipush 65
putfield sun.awt.X11.XEmbedServerTester.accel_key:I
1: aload 0
aload 0
getfield sun.awt.X11.XEmbedServerTester.accel_key:I
invokestatic sun.awt.X11.XWindow.getKeySymForAWTKeyCode:(I)I
putfield sun.awt.X11.XEmbedServerTester.accel_keysym:I
2: aload 0
iconst_0
putfield sun.awt.X11.XEmbedServerTester.accel_mods:I
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/awt/X11/XEmbedServerTester;
private void grabKey();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=1, args_size=1
start local 0 0: aload 0
bipush 108
iconst_0
aload 0
getfield sun.awt.X11.XEmbedServerTester.accel_keysym:I
i2l
aload 0
getfield sun.awt.X11.XEmbedServerTester.accel_mods:I
i2l
invokevirtual sun.awt.X11.XEmbedServerTester.sendMessage:(IIJJ)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/X11/XEmbedServerTester;
private void ungrabKey();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=1, args_size=1
start local 0 0: aload 0
bipush 109
iconst_0
aload 0
getfield sun.awt.X11.XEmbedServerTester.accel_keysym:I
i2l
aload 0
getfield sun.awt.X11.XEmbedServerTester.accel_mods:I
i2l
invokevirtual sun.awt.X11.XEmbedServerTester.sendMessage:(IIJJ)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/X11/XEmbedServerTester;
private int showModalDialog();
descriptor: ()I
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=1
start local 0 0: getstatic sun.awt.X11.XEmbedServerTester.xembedLog:Lsun/util/logging/PlatformLogger;
ldc "Showing modal dialog"
invokevirtual sun.util.logging.PlatformLogger.fine:(Ljava/lang/String;)V
1: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.getEventPos:()I
istore 1
start local 1 2: aload 0
getfield sun.awt.X11.XEmbedServerTester.serverBounds:[Ljava/awt/Rectangle;
iconst_3
aaload
invokevirtual java.awt.Rectangle.getLocation:()Ljava/awt/Point;
astore 2
start local 2 3: aload 2
dup
getfield java.awt.Point.x:I
iconst_5
iadd
putfield java.awt.Point.x:I
4: aload 2
dup
getfield java.awt.Point.y:I
iconst_5
iadd
putfield java.awt.Point.y:I
5: aload 0
getfield sun.awt.X11.XEmbedServerTester.robot:Ljava/awt/Robot;
aload 2
getfield java.awt.Point.x:I
aload 2
getfield java.awt.Point.y:I
invokevirtual java.awt.Robot.mouseMove:(II)V
6: aload 0
getfield sun.awt.X11.XEmbedServerTester.robot:Ljava/awt/Robot;
bipush 16
invokevirtual java.awt.Robot.mousePress:(I)V
7: aload 0
getfield sun.awt.X11.XEmbedServerTester.robot:Ljava/awt/Robot;
bipush 50
invokevirtual java.awt.Robot.delay:(I)V
8: aload 0
getfield sun.awt.X11.XEmbedServerTester.robot:Ljava/awt/Robot;
bipush 16
invokevirtual java.awt.Robot.mouseRelease:(I)V
9: iload 1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/awt/X11/XEmbedServerTester;
2 10 1 res I
3 10 2 loc Ljava/awt/Point;
private int hideModalDialog();
descriptor: ()I
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=1
start local 0 0: getstatic sun.awt.X11.XEmbedServerTester.xembedLog:Lsun/util/logging/PlatformLogger;
ldc "Hide modal dialog"
invokevirtual sun.util.logging.PlatformLogger.fine:(Ljava/lang/String;)V
1: aload 0
invokevirtual sun.awt.X11.XEmbedServerTester.getEventPos:()I
istore 1
start local 1 2: aload 0
getfield sun.awt.X11.XEmbedServerTester.robot:Ljava/awt/Robot;
bipush 32
invokevirtual java.awt.Robot.keyPress:(I)V
3: aload 0
getfield sun.awt.X11.XEmbedServerTester.robot:Ljava/awt/Robot;
bipush 32
invokevirtual java.awt.Robot.keyRelease:(I)V
4: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/awt/X11/XEmbedServerTester;
2 5 1 res I
}
SourceFile: "XEmbedServerTester.java"
InnerClasses:
public final Level = sun.util.logging.PlatformLogger$Level of sun.util.logging.PlatformLogger