public final class sun.awt.X11.XSelection
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: sun.awt.X11.XSelection
super_class: java.lang.Object
{
private static final java.util.Hashtable<sun.awt.X11.XAtom, sun.awt.X11.XSelection> table;
descriptor: Ljava/util/Hashtable;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Hashtable<Lsun/awt/X11/XAtom;Lsun/awt/X11/XSelection;>;
private static final java.lang.Object lock;
descriptor: Ljava/lang/Object;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final sun.awt.X11.XAtom selectionPropertyAtom;
descriptor: Lsun/awt/X11/XAtom;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
public static final long MAX_LENGTH;
descriptor: J
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1000000
public static final int MAX_PROPERTY_SIZE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
private static final sun.awt.X11.XEventDispatcher incrementalTransferHandler;
descriptor: Lsun/awt/X11/XEventDispatcher;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static sun.awt.X11.WindowPropertyGetter propertyGetter;
descriptor: Lsun/awt/X11/WindowPropertyGetter;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private final sun.awt.X11.XAtom selectionAtom;
descriptor: Lsun/awt/X11/XAtom;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.awt.datatransfer.Transferable contents;
descriptor: Ljava/awt/datatransfer/Transferable;
flags: (0x0002) ACC_PRIVATE
private java.util.Map formatMap;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
private long[] formats;
descriptor: [J
flags: (0x0002) ACC_PRIVATE
private sun.awt.AppContext appContext;
descriptor: Lsun/awt/AppContext;
flags: (0x0002) ACC_PRIVATE
private static long lastRequestServerTime;
descriptor: J
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private long ownershipTime;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private boolean isOwner;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private sun.awt.X11.OwnershipListener ownershipListener;
descriptor: Lsun/awt/X11/OwnershipListener;
flags: (0x0002) ACC_PRIVATE
private final java.lang.Object stateLock;
descriptor: Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=1, args_size=0
0: new java.util.Hashtable
dup
invokespecial java.util.Hashtable.<init>:()V
putstatic sun.awt.X11.XSelection.table:Ljava/util/Hashtable;
1: new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putstatic sun.awt.X11.XSelection.lock:Ljava/lang/Object;
2: ldc "XAWT_SELECTION"
invokestatic sun.awt.X11.XAtom.get:(Ljava/lang/String;)Lsun/awt/X11/XAtom;
putstatic sun.awt.X11.XSelection.selectionPropertyAtom:Lsun/awt/X11/XAtom;
3: invokestatic sun.awt.X11.XToolkit.awtLock:()V
4: invokestatic sun.awt.X11.XToolkit.getDisplay:()J
invokestatic sun.awt.X11.XlibWrapper.XMaxRequestSize:(J)J
ldc 4
lmul
ldc 100
lsub
l2i
5: putstatic sun.awt.X11.XSelection.MAX_PROPERTY_SIZE:I
6: goto 10
StackMap locals:
StackMap stack: java.lang.Throwable
7: astore 0
8: invokestatic sun.awt.X11.XToolkit.awtUnlock:()V
9: aload 0
athrow
10: StackMap locals:
StackMap stack:
invokestatic sun.awt.X11.XToolkit.awtUnlock:()V
11: new sun.awt.X11.XSelection$IncrementalTransferHandler
dup
invokespecial sun.awt.X11.XSelection$IncrementalTransferHandler.<init>:()V
12: putstatic sun.awt.X11.XSelection.incrementalTransferHandler:Lsun/awt/X11/XEventDispatcher;
13: aconst_null
putstatic sun.awt.X11.XSelection.propertyGetter:Lsun/awt/X11/WindowPropertyGetter;
14: invokestatic sun.awt.X11.XWindow.getXAWTRootWindow:()Lsun/awt/X11/XRootWindow;
invokevirtual sun.awt.X11.XRootWindow.getWindow:()J
15: new sun.awt.X11.XSelection$SelectionEventHandler
dup
invokespecial sun.awt.X11.XSelection$SelectionEventHandler.<init>:()V
16: invokestatic sun.awt.X11.XToolkit.addEventDispatcher:(JLsun/awt/X11/XEventDispatcher;)V
17: return
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
4 7 7 any
static sun.awt.X11.XSelection getSelection(sun.awt.X11.XAtom);
descriptor: (Lsun/awt/X11/XAtom;)Lsun/awt/X11/XSelection;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic sun.awt.X11.XSelection.table:Ljava/util/Hashtable;
aload 0
invokevirtual java.util.Hashtable.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.awt.X11.XSelection
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 atom Lsun/awt/X11/XAtom;
MethodParameters:
Name Flags
atom
public void <init>(sun.awt.X11.XAtom);
descriptor: (Lsun/awt/X11/XAtom;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield sun.awt.X11.XSelection.contents:Ljava/awt/datatransfer/Transferable;
2: aload 0
aconst_null
putfield sun.awt.X11.XSelection.formatMap:Ljava/util/Map;
3: aload 0
aconst_null
putfield sun.awt.X11.XSelection.formats:[J
4: aload 0
aconst_null
putfield sun.awt.X11.XSelection.appContext:Lsun/awt/AppContext;
5: aload 0
lconst_0
putfield sun.awt.X11.XSelection.ownershipTime:J
6: aload 0
aconst_null
putfield sun.awt.X11.XSelection.ownershipListener:Lsun/awt/X11/OwnershipListener;
7: aload 0
new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putfield sun.awt.X11.XSelection.stateLock:Ljava/lang/Object;
8: aload 1
ifnonnull 10
9: new java.lang.NullPointerException
dup
ldc "Null atom"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
10: StackMap locals: sun.awt.X11.XSelection sun.awt.X11.XAtom
StackMap stack:
aload 0
aload 1
putfield sun.awt.X11.XSelection.selectionAtom:Lsun/awt/X11/XAtom;
11: getstatic sun.awt.X11.XSelection.table:Ljava/util/Hashtable;
aload 0
getfield sun.awt.X11.XSelection.selectionAtom:Lsun/awt/X11/XAtom;
aload 0
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
12: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lsun/awt/X11/XSelection;
0 13 1 atom Lsun/awt/X11/XAtom;
MethodParameters:
Name Flags
atom
public sun.awt.X11.XAtom getSelectionAtom();
descriptor: ()Lsun/awt/X11/XAtom;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.awt.X11.XSelection.selectionAtom:Lsun/awt/X11/XAtom;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/X11/XSelection;
public synchronized boolean setOwner(java.awt.datatransfer.Transferable, java.util.Map, long[], long);
descriptor: (Ljava/awt/datatransfer/Transferable;Ljava/util/Map;[JJ)Z
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=8, locals=11, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: invokestatic sun.awt.X11.XWindow.getXAWTRootWindow:()Lsun/awt/X11/XRootWindow;
invokevirtual sun.awt.X11.XRootWindow.getWindow:()J
lstore 6
start local 6 1: aload 0
getfield sun.awt.X11.XSelection.selectionAtom:Lsun/awt/X11/XAtom;
invokevirtual sun.awt.X11.XAtom.getAtom:()J
lstore 8
start local 8 2: lload 4
lconst_0
lcmp
ifne 4
3: invokestatic sun.awt.X11.XToolkit.getCurrentServerTime:()J
lstore 4
4: StackMap locals: long long
StackMap stack:
aload 0
aload 1
putfield sun.awt.X11.XSelection.contents:Ljava/awt/datatransfer/Transferable;
5: aload 0
aload 2
putfield sun.awt.X11.XSelection.formatMap:Ljava/util/Map;
6: aload 0
aload 3
putfield sun.awt.X11.XSelection.formats:[J
7: aload 0
invokestatic sun.awt.AppContext.getAppContext:()Lsun/awt/AppContext;
putfield sun.awt.X11.XSelection.appContext:Lsun/awt/AppContext;
8: aload 0
lload 4
putfield sun.awt.X11.XSelection.ownershipTime:J
9: invokestatic sun.awt.X11.XToolkit.awtLock:()V
10: invokestatic sun.awt.X11.XToolkit.getDisplay:()J
11: lload 8
lload 6
lload 4
12: invokestatic sun.awt.X11.XlibWrapper.XSetSelectionOwner:(JJJJ)V
13: invokestatic sun.awt.X11.XToolkit.getDisplay:()J
14: lload 8
15: invokestatic sun.awt.X11.XlibWrapper.XGetSelectionOwner:(JJ)J
16: lload 6
17: lcmp
ifeq 21
18: aload 0
invokevirtual sun.awt.X11.XSelection.reset:()V
19: invokestatic sun.awt.X11.XToolkit.awtUnlock:()V
20: iconst_0
ireturn
21: StackMap locals:
StackMap stack:
aload 0
iconst_1
invokevirtual sun.awt.X11.XSelection.setOwnerProp:(Z)V
22: invokestatic sun.awt.X11.XToolkit.awtUnlock:()V
23: iconst_1
ireturn
24: StackMap locals:
StackMap stack: java.lang.Throwable
astore 10
25: invokestatic sun.awt.X11.XToolkit.awtUnlock:()V
26: aload 10
athrow
end local 8 end local 6 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Lsun/awt/X11/XSelection;
0 27 1 contents Ljava/awt/datatransfer/Transferable;
0 27 2 formatMap Ljava/util/Map;
0 27 3 formats [J
0 27 4 time J
1 27 6 owner J
2 27 8 selection J
Exception table:
from to target type
10 19 24 any
21 22 24 any
MethodParameters:
Name Flags
contents
formatMap
formats
time
private static void waitForSelectionNotify(sun.awt.X11.WindowPropertyGetter);
descriptor: (Lsun/awt/X11/WindowPropertyGetter;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=4, args_size=1
start local 0 0: invokestatic java.lang.System.currentTimeMillis:()J
lstore 1
start local 1 1: invokestatic sun.awt.X11.XToolkit.awtLock:()V
2: StackMap locals: long
StackMap stack:
invokestatic sun.awt.datatransfer.DataTransferer.getInstance:()Lsun/awt/datatransfer/DataTransferer;
invokevirtual sun.awt.datatransfer.DataTransferer.processDataConversionRequests:()V
3: ldc 250
invokestatic sun.awt.X11.XToolkit.awtLockWait:(J)V
4: getstatic sun.awt.X11.XSelection.propertyGetter:Lsun/awt/X11/WindowPropertyGetter;
aload 0
if_acmpne 10
invokestatic java.lang.System.currentTimeMillis:()J
lload 1
invokestatic sun.awt.UNIXToolkit.getDatatransferTimeout:()I
i2l
ladd
5: lcmp
iflt 2
6: goto 10
StackMap locals:
StackMap stack: java.lang.Throwable
7: astore 3
8: invokestatic sun.awt.X11.XToolkit.awtUnlock:()V
9: aload 3
athrow
10: StackMap locals:
StackMap stack:
invokestatic sun.awt.X11.XToolkit.awtUnlock:()V
11: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 dataGetter Lsun/awt/X11/WindowPropertyGetter;
1 12 1 startTime J
Exception table:
from to target type
2 7 7 any
Exceptions:
throws java.lang.InterruptedException
MethodParameters:
Name Flags
dataGetter
public long[] getTargets(long);
descriptor: (J)[J
flags: (0x0001) ACC_PUBLIC
Code:
stack=12, locals=10, args_size=2
start local 0 start local 1 0: invokestatic sun.awt.X11.XToolkit.isToolkitThread:()Z
ifeq 2
1: new java.lang.Error
dup
ldc "UNIMPLEMENTED"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aconst_null
astore 3
start local 3 3: getstatic sun.awt.X11.XSelection.lock:Ljava/lang/Object;
dup
astore 4
monitorenter
4: new sun.awt.X11.WindowPropertyGetter
dup
invokestatic sun.awt.X11.XWindow.getXAWTRootWindow:()Lsun/awt/X11/XRootWindow;
invokevirtual sun.awt.X11.XRootWindow.getWindow:()J
5: getstatic sun.awt.X11.XSelection.selectionPropertyAtom:Lsun/awt/X11/XAtom;
lconst_0
ldc 1000000
6: iconst_1
lconst_0
7: invokespecial sun.awt.X11.WindowPropertyGetter.<init>:(JLsun/awt/X11/XAtom;JJZJ)V
8: astore 5
start local 5 9: invokestatic sun.awt.X11.XToolkit.awtLock:()V
10: aload 5
putstatic sun.awt.X11.XSelection.propertyGetter:Lsun/awt/X11/WindowPropertyGetter;
11: lload 1
putstatic sun.awt.X11.XSelection.lastRequestServerTime:J
12: invokestatic sun.awt.X11.XToolkit.getDisplay:()J
13: aload 0
invokevirtual sun.awt.X11.XSelection.getSelectionAtom:()Lsun/awt/X11/XAtom;
invokevirtual sun.awt.X11.XAtom.getAtom:()J
14: getstatic sun.awt.X11.XDataTransferer.TARGETS_ATOM:Lsun/awt/X11/XAtom;
invokevirtual sun.awt.X11.XAtom.getAtom:()J
15: getstatic sun.awt.X11.XSelection.selectionPropertyAtom:Lsun/awt/X11/XAtom;
invokevirtual sun.awt.X11.XAtom.getAtom:()J
16: invokestatic sun.awt.X11.XWindow.getXAWTRootWindow:()Lsun/awt/X11/XRootWindow;
invokevirtual sun.awt.X11.XRootWindow.getWindow:()J
17: lload 1
18: invokestatic sun.awt.X11.XlibWrapper.XConvertSelection:(JJJJJJ)V
19: aload 5
invokestatic sun.awt.X11.XSelection.waitForSelectionNotify:(Lsun/awt/X11/WindowPropertyGetter;)V
20: goto 31
StackMap locals: sun.awt.X11.XSelection long long[] java.lang.Object sun.awt.X11.WindowPropertyGetter
StackMap stack: java.lang.InterruptedException
21: pop
22: iconst_0
newarray 11
astore 7
23: aconst_null
putstatic sun.awt.X11.XSelection.propertyGetter:Lsun/awt/X11/WindowPropertyGetter;
24: invokestatic sun.awt.X11.XToolkit.awtUnlock:()V
25: aload 5
invokevirtual sun.awt.X11.WindowPropertyGetter.dispose:()V
26: aload 4
monitorexit
27: aload 7
areturn
28: StackMap locals:
StackMap stack: java.lang.Throwable
astore 6
29: aconst_null
putstatic sun.awt.X11.XSelection.propertyGetter:Lsun/awt/X11/WindowPropertyGetter;
30: aload 6
athrow
31: StackMap locals:
StackMap stack:
aconst_null
putstatic sun.awt.X11.XSelection.propertyGetter:Lsun/awt/X11/WindowPropertyGetter;
32: goto 36
StackMap locals:
StackMap stack: java.lang.Throwable
33: astore 8
34: invokestatic sun.awt.X11.XToolkit.awtUnlock:()V
35: aload 8
athrow
36: StackMap locals:
StackMap stack:
invokestatic sun.awt.X11.XToolkit.awtUnlock:()V
37: aload 5
invokestatic sun.awt.X11.XSelection.getFormats:(Lsun/awt/X11/WindowPropertyGetter;)[J
astore 3
38: goto 42
StackMap locals:
StackMap stack: java.lang.Throwable
39: astore 9
40: aload 5
invokevirtual sun.awt.X11.WindowPropertyGetter.dispose:()V
41: aload 9
athrow
42: StackMap locals:
StackMap stack:
aload 5
invokevirtual sun.awt.X11.WindowPropertyGetter.dispose:()V
end local 5 43: aload 4
monitorexit
44: goto 47
StackMap locals: sun.awt.X11.XSelection long long[] java.lang.Object
StackMap stack: java.lang.Throwable
45: aload 4
monitorexit
46: athrow
47: StackMap locals:
StackMap stack:
aload 3
areturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 48 0 this Lsun/awt/X11/XSelection;
0 48 1 time J
3 48 3 targets [J
9 43 5 targetsGetter Lsun/awt/X11/WindowPropertyGetter;
Exception table:
from to target type
19 20 21 Class java.lang.InterruptedException
19 23 28 any
10 24 33 any
28 33 33 any
9 25 39 any
28 39 39 any
4 27 45 any
28 44 45 any
45 46 45 any
MethodParameters:
Name Flags
time
static long[] getFormats(sun.awt.X11.WindowPropertyGetter);
descriptor: (Lsun/awt/X11/WindowPropertyGetter;)[J
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=6, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aload 0
invokevirtual sun.awt.X11.WindowPropertyGetter.isExecuted:()Z
ifeq 16
aload 0
invokevirtual sun.awt.X11.WindowPropertyGetter.isDisposed:()Z
ifne 16
2: aload 0
invokevirtual sun.awt.X11.WindowPropertyGetter.getActualType:()J
ldc 4
lcmp
ifeq 4
3: aload 0
invokevirtual sun.awt.X11.WindowPropertyGetter.getActualType:()J
getstatic sun.awt.X11.XDataTransferer.TARGETS_ATOM:Lsun/awt/X11/XAtom;
invokevirtual sun.awt.X11.XAtom.getAtom:()J
lcmp
ifne 16
4: StackMap locals: long[]
StackMap stack:
aload 0
invokevirtual sun.awt.X11.WindowPropertyGetter.getActualFormat:()I
bipush 32
if_icmpne 16
5: aload 0
invokevirtual sun.awt.X11.WindowPropertyGetter.getNumberOfItems:()I
istore 2
start local 2 6: iload 2
ifle 16
7: aload 0
invokevirtual sun.awt.X11.WindowPropertyGetter.getData:()J
lstore 3
start local 3 8: iload 2
newarray 11
astore 1
9: iconst_0
istore 5
start local 5 10: goto 15
11: StackMap locals: int long int
StackMap stack:
aload 1
iload 5
12: lload 3
iload 5
invokestatic sun.awt.X11.XAtom.getAtomSize:()I
imul
i2l
ladd
invokestatic sun.awt.X11.Native.getLong:(J)J
13: lastore
14: iinc 5 1
StackMap locals:
StackMap stack:
15: iload 5
iload 2
if_icmplt 11
end local 5 end local 3 end local 2 16: StackMap locals:
StackMap stack:
aload 1
ifnull 17
aload 1
goto 18
StackMap locals:
StackMap stack:
17: iconst_0
newarray 11
StackMap locals:
StackMap stack: long[]
18: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 targetsGetter Lsun/awt/X11/WindowPropertyGetter;
1 19 1 formats [J
6 16 2 count I
8 16 3 atoms J
10 16 5 index I
MethodParameters:
Name Flags
targetsGetter
public byte[] getData(long, long);
descriptor: (JJ)[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=12, locals=18, args_size=3
start local 0 start local 1 start local 3 0: invokestatic sun.awt.X11.XToolkit.isToolkitThread:()Z
ifeq 2
1: new java.lang.Error
dup
ldc "UNIMPLEMENTED"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aconst_null
astore 5
start local 5 3: getstatic sun.awt.X11.XSelection.lock:Ljava/lang/Object;
dup
astore 6
monitorenter
4: new sun.awt.X11.WindowPropertyGetter
dup
invokestatic sun.awt.X11.XWindow.getXAWTRootWindow:()Lsun/awt/X11/XRootWindow;
invokevirtual sun.awt.X11.XRootWindow.getWindow:()J
5: getstatic sun.awt.X11.XSelection.selectionPropertyAtom:Lsun/awt/X11/XAtom;
lconst_0
ldc 1000000
6: iconst_0
7: lconst_0
8: invokespecial sun.awt.X11.WindowPropertyGetter.<init>:(JLsun/awt/X11/XAtom;JJZJ)V
9: astore 7
start local 7 10: invokestatic sun.awt.X11.XToolkit.awtLock:()V
11: aload 7
putstatic sun.awt.X11.XSelection.propertyGetter:Lsun/awt/X11/WindowPropertyGetter;
12: lload 3
putstatic sun.awt.X11.XSelection.lastRequestServerTime:J
13: invokestatic sun.awt.X11.XToolkit.getDisplay:()J
14: aload 0
invokevirtual sun.awt.X11.XSelection.getSelectionAtom:()Lsun/awt/X11/XAtom;
invokevirtual sun.awt.X11.XAtom.getAtom:()J
15: lload 1
16: getstatic sun.awt.X11.XSelection.selectionPropertyAtom:Lsun/awt/X11/XAtom;
invokevirtual sun.awt.X11.XAtom.getAtom:()J
17: invokestatic sun.awt.X11.XWindow.getXAWTRootWindow:()Lsun/awt/X11/XRootWindow;
invokevirtual sun.awt.X11.XRootWindow.getWindow:()J
18: lload 3
19: invokestatic sun.awt.X11.XlibWrapper.XConvertSelection:(JJJJJJ)V
20: aload 7
invokestatic sun.awt.X11.XSelection.waitForSelectionNotify:(Lsun/awt/X11/WindowPropertyGetter;)V
21: goto 32
StackMap locals: sun.awt.X11.XSelection long long byte[] java.lang.Object sun.awt.X11.WindowPropertyGetter
StackMap stack: java.lang.InterruptedException
22: pop
23: iconst_0
newarray 8
astore 9
24: aconst_null
putstatic sun.awt.X11.XSelection.propertyGetter:Lsun/awt/X11/WindowPropertyGetter;
25: invokestatic sun.awt.X11.XToolkit.awtUnlock:()V
26: aload 7
invokevirtual sun.awt.X11.WindowPropertyGetter.dispose:()V
27: aload 6
monitorexit
28: aload 9
areturn
29: StackMap locals:
StackMap stack: java.lang.Throwable
astore 8
30: aconst_null
putstatic sun.awt.X11.XSelection.propertyGetter:Lsun/awt/X11/WindowPropertyGetter;
31: aload 8
athrow
32: StackMap locals:
StackMap stack:
aconst_null
putstatic sun.awt.X11.XSelection.propertyGetter:Lsun/awt/X11/WindowPropertyGetter;
33: goto 37
StackMap locals:
StackMap stack: java.lang.Throwable
34: astore 10
35: invokestatic sun.awt.X11.XToolkit.awtUnlock:()V
36: aload 10
athrow
37: StackMap locals:
StackMap stack:
invokestatic sun.awt.X11.XToolkit.awtUnlock:()V
38: aload 0
aload 7
invokevirtual sun.awt.X11.XSelection.validateDataGetter:(Lsun/awt/X11/WindowPropertyGetter;)V
39: aload 7
invokevirtual sun.awt.X11.WindowPropertyGetter.getActualType:()J
40: getstatic sun.awt.X11.XDataTransferer.INCR_ATOM:Lsun/awt/X11/XAtom;
invokevirtual sun.awt.X11.XAtom.getAtom:()J
41: lcmp
ifne 124
42: aload 7
invokevirtual sun.awt.X11.WindowPropertyGetter.getActualFormat:()I
bipush 32
if_icmpeq 46
43: new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "Unsupported INCR format: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
44: aload 7
invokevirtual sun.awt.X11.WindowPropertyGetter.getActualFormat:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
45: invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
46: StackMap locals:
StackMap stack:
aload 7
invokevirtual sun.awt.X11.WindowPropertyGetter.getNumberOfItems:()I
istore 8
start local 8 47: iload 8
ifgt 49
48: new java.io.IOException
dup
ldc "INCR data is missed."
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
49: StackMap locals: int
StackMap stack:
aload 7
invokevirtual sun.awt.X11.WindowPropertyGetter.getData:()J
lstore 9
start local 9 50: iconst_0
istore 11
start local 11 51: lload 9
iload 8
iconst_1
isub
invokestatic sun.awt.X11.Native.getLong:(JI)J
lstore 12
start local 12 52: lload 12
lconst_0
lcmp
ifgt 57
53: iconst_0
newarray 8
astore 17
54: aload 7
invokevirtual sun.awt.X11.WindowPropertyGetter.dispose:()V
55: aload 6
monitorexit
56: aload 17
areturn
57: StackMap locals: long int long
StackMap stack:
lload 12
ldc 2147483647
lcmp
ifle 61
58: new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "Can't handle large data block: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
59: lload 12
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc " bytes"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
60: invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
61: StackMap locals:
StackMap stack:
lload 12
l2i
istore 11
end local 12 62: aload 7
invokevirtual sun.awt.X11.WindowPropertyGetter.dispose:()V
63: new java.io.ByteArrayOutputStream
dup
iload 11
invokespecial java.io.ByteArrayOutputStream.<init>:(I)V
astore 12
start local 12 64: StackMap locals: sun.awt.X11.XSelection long long byte[] java.lang.Object sun.awt.X11.WindowPropertyGetter int long int java.io.ByteArrayOutputStream
StackMap stack:
new sun.awt.X11.WindowPropertyGetter
dup
invokestatic sun.awt.X11.XWindow.getXAWTRootWindow:()Lsun/awt/X11/XRootWindow;
invokevirtual sun.awt.X11.XRootWindow.getWindow:()J
65: getstatic sun.awt.X11.XSelection.selectionPropertyAtom:Lsun/awt/X11/XAtom;
66: lconst_0
ldc 1000000
iconst_0
67: lconst_0
68: invokespecial sun.awt.X11.WindowPropertyGetter.<init>:(JLsun/awt/X11/XAtom;JJZJ)V
69: astore 13
start local 13 70: invokestatic sun.awt.X11.XToolkit.awtLock:()V
71: invokestatic sun.awt.X11.XWindow.getXAWTRootWindow:()Lsun/awt/X11/XRootWindow;
invokevirtual sun.awt.X11.XRootWindow.getWindow:()J
72: getstatic sun.awt.X11.XSelection.incrementalTransferHandler:Lsun/awt/X11/XEventDispatcher;
73: invokestatic sun.awt.X11.XToolkit.addEventDispatcher:(JLsun/awt/X11/XEventDispatcher;)V
74: aload 13
putstatic sun.awt.X11.XSelection.propertyGetter:Lsun/awt/X11/WindowPropertyGetter;
75: invokestatic sun.awt.X11.XToolkit.getDisplay:()J
76: invokestatic sun.awt.X11.XWindow.getXAWTRootWindow:()Lsun/awt/X11/XRootWindow;
invokevirtual sun.awt.X11.XRootWindow.getWindow:()J
77: getstatic sun.awt.X11.XSelection.selectionPropertyAtom:Lsun/awt/X11/XAtom;
invokevirtual sun.awt.X11.XAtom.getAtom:()J
78: invokestatic sun.awt.X11.XlibWrapper.XDeleteProperty:(JJJ)V
79: aload 13
invokestatic sun.awt.X11.XSelection.waitForSelectionNotify:(Lsun/awt/X11/WindowPropertyGetter;)V
80: goto 96
StackMap locals: sun.awt.X11.XSelection long long byte[] java.lang.Object sun.awt.X11.WindowPropertyGetter int long int java.io.ByteArrayOutputStream sun.awt.X11.WindowPropertyGetter
StackMap stack: java.lang.InterruptedException
81: pop
82: aconst_null
putstatic sun.awt.X11.XSelection.propertyGetter:Lsun/awt/X11/WindowPropertyGetter;
83: invokestatic sun.awt.X11.XWindow.getXAWTRootWindow:()Lsun/awt/X11/XRootWindow;
invokevirtual sun.awt.X11.XRootWindow.getWindow:()J
84: getstatic sun.awt.X11.XSelection.incrementalTransferHandler:Lsun/awt/X11/XEventDispatcher;
85: invokestatic sun.awt.X11.XToolkit.removeEventDispatcher:(JLsun/awt/X11/XEventDispatcher;)V
86: invokestatic sun.awt.X11.XToolkit.awtUnlock:()V
87: aload 13
invokevirtual sun.awt.X11.WindowPropertyGetter.dispose:()V
88: goto 151
89: StackMap locals:
StackMap stack: java.lang.Throwable
astore 14
90: aconst_null
putstatic sun.awt.X11.XSelection.propertyGetter:Lsun/awt/X11/WindowPropertyGetter;
91: invokestatic sun.awt.X11.XWindow.getXAWTRootWindow:()Lsun/awt/X11/XRootWindow;
invokevirtual sun.awt.X11.XRootWindow.getWindow:()J
92: getstatic sun.awt.X11.XSelection.incrementalTransferHandler:Lsun/awt/X11/XEventDispatcher;
93: invokestatic sun.awt.X11.XToolkit.removeEventDispatcher:(JLsun/awt/X11/XEventDispatcher;)V
94: invokestatic sun.awt.X11.XToolkit.awtUnlock:()V
95: aload 14
athrow
96: StackMap locals:
StackMap stack:
aconst_null
putstatic sun.awt.X11.XSelection.propertyGetter:Lsun/awt/X11/WindowPropertyGetter;
97: invokestatic sun.awt.X11.XWindow.getXAWTRootWindow:()Lsun/awt/X11/XRootWindow;
invokevirtual sun.awt.X11.XRootWindow.getWindow:()J
98: getstatic sun.awt.X11.XSelection.incrementalTransferHandler:Lsun/awt/X11/XEventDispatcher;
99: invokestatic sun.awt.X11.XToolkit.removeEventDispatcher:(JLsun/awt/X11/XEventDispatcher;)V
100: invokestatic sun.awt.X11.XToolkit.awtUnlock:()V
101: aload 0
aload 7
invokevirtual sun.awt.X11.XSelection.validateDataGetter:(Lsun/awt/X11/WindowPropertyGetter;)V
102: aload 13
invokevirtual sun.awt.X11.WindowPropertyGetter.getActualFormat:()I
bipush 8
if_icmpeq 106
103: new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "Unsupported data format: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
104: aload 13
invokevirtual sun.awt.X11.WindowPropertyGetter.getActualFormat:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
105: invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
106: StackMap locals:
StackMap stack:
aload 13
invokevirtual sun.awt.X11.WindowPropertyGetter.getNumberOfItems:()I
istore 8
107: iload 8
ifne 110
108: aload 13
invokevirtual sun.awt.X11.WindowPropertyGetter.dispose:()V
109: goto 151
110: StackMap locals:
StackMap stack:
iload 8
ifle 117
111: aload 13
invokevirtual sun.awt.X11.WindowPropertyGetter.getData:()J
lstore 9
112: iconst_0
istore 14
start local 14 113: goto 116
114: StackMap locals: int
StackMap stack:
aload 12
lload 9
iload 14
i2l
ladd
invokestatic sun.awt.X11.Native.getByte:(J)B
invokevirtual java.io.ByteArrayOutputStream.write:(I)V
115: iinc 14 1
StackMap locals:
StackMap stack:
116: iload 14
iload 8
if_icmplt 114
end local 14 117: StackMap locals:
StackMap stack:
aload 12
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
astore 5
118: goto 122
StackMap locals:
StackMap stack: java.lang.Throwable
119: astore 15
120: aload 13
invokevirtual sun.awt.X11.WindowPropertyGetter.dispose:()V
121: aload 15
athrow
122: StackMap locals:
StackMap stack:
aload 13
invokevirtual sun.awt.X11.WindowPropertyGetter.dispose:()V
end local 13 123: goto 64
end local 12 end local 11 end local 9 end local 8 124: StackMap locals: sun.awt.X11.XSelection long long byte[] java.lang.Object sun.awt.X11.WindowPropertyGetter
StackMap stack:
invokestatic sun.awt.X11.XToolkit.awtLock:()V
125: invokestatic sun.awt.X11.XToolkit.getDisplay:()J
126: invokestatic sun.awt.X11.XWindow.getXAWTRootWindow:()Lsun/awt/X11/XRootWindow;
invokevirtual sun.awt.X11.XRootWindow.getWindow:()J
127: getstatic sun.awt.X11.XSelection.selectionPropertyAtom:Lsun/awt/X11/XAtom;
invokevirtual sun.awt.X11.XAtom.getAtom:()J
128: invokestatic sun.awt.X11.XlibWrapper.XDeleteProperty:(JJJ)V
129: goto 133
StackMap locals:
StackMap stack: java.lang.Throwable
130: astore 8
131: invokestatic sun.awt.X11.XToolkit.awtUnlock:()V
132: aload 8
athrow
133: StackMap locals:
StackMap stack:
invokestatic sun.awt.X11.XToolkit.awtUnlock:()V
134: aload 7
invokevirtual sun.awt.X11.WindowPropertyGetter.getActualFormat:()I
bipush 8
if_icmpeq 138
135: new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "Unsupported data format: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
136: aload 7
invokevirtual sun.awt.X11.WindowPropertyGetter.getActualFormat:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
137: invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
138: StackMap locals:
StackMap stack:
aload 7
invokevirtual sun.awt.X11.WindowPropertyGetter.getNumberOfItems:()I
istore 8
start local 8 139: iload 8
ifle 151
140: iload 8
newarray 8
astore 5
141: aload 7
invokevirtual sun.awt.X11.WindowPropertyGetter.getData:()J
lstore 9
start local 9 142: iconst_0
istore 11
start local 11 143: goto 146
144: StackMap locals: int long int
StackMap stack:
aload 5
iload 11
lload 9
iload 11
i2l
ladd
invokestatic sun.awt.X11.Native.getByte:(J)B
bastore
145: iinc 11 1
StackMap locals:
StackMap stack:
146: iload 11
iload 8
if_icmplt 144
end local 11 end local 9 end local 8 147: goto 151
StackMap locals: sun.awt.X11.XSelection long long byte[] java.lang.Object sun.awt.X11.WindowPropertyGetter
StackMap stack: java.lang.Throwable
148: astore 16
149: aload 7
invokevirtual sun.awt.X11.WindowPropertyGetter.dispose:()V
150: aload 16
athrow
151: StackMap locals:
StackMap stack:
aload 7
invokevirtual sun.awt.X11.WindowPropertyGetter.dispose:()V
end local 7 152: aload 6
monitorexit
153: goto 156
StackMap locals: sun.awt.X11.XSelection long long byte[] java.lang.Object
StackMap stack: java.lang.Throwable
154: aload 6
monitorexit
155: athrow
156: StackMap locals:
StackMap stack:
aload 5
ifnull 157
aload 5
goto 158
StackMap locals:
StackMap stack:
157: iconst_0
newarray 8
StackMap locals:
StackMap stack: byte[]
158: areturn
end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 159 0 this Lsun/awt/X11/XSelection;
0 159 1 format J
0 159 3 time J
3 159 5 data [B
10 152 7 dataGetter Lsun/awt/X11/WindowPropertyGetter;
47 124 8 count I
50 124 9 ptr J
51 124 11 len I
52 62 12 longLength J
64 124 12 dataStream Ljava/io/ByteArrayOutputStream;
70 123 13 incrDataGetter Lsun/awt/X11/WindowPropertyGetter;
113 117 14 index I
139 147 8 count I
142 147 9 ptr J
143 147 11 index I
Exception table:
from to target type
20 21 22 Class java.lang.InterruptedException
20 24 29 any
11 25 34 any
29 34 34 any
75 80 81 Class java.lang.InterruptedException
75 82 89 any
70 87 119 any
89 108 119 any
110 119 119 any
125 130 130 any
10 26 148 any
29 54 148 any
57 148 148 any
4 28 154 any
29 56 154 any
57 153 154 any
154 155 154 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
format
time
void validateDataGetter(sun.awt.X11.WindowPropertyGetter);
descriptor: (Lsun/awt/X11/WindowPropertyGetter;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual sun.awt.X11.WindowPropertyGetter.isDisposed:()Z
ifeq 2
1: new java.io.IOException
dup
ldc "Owner failed to convert data"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual sun.awt.X11.WindowPropertyGetter.isExecuted:()Z
ifne 4
3: new java.io.IOException
dup
ldc "Owner timed out"
invokespecial java.io.IOException.<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/XSelection;
0 5 1 propertyGetter Lsun/awt/X11/WindowPropertyGetter;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
propertyGetter
boolean isOwner();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.awt.X11.XSelection.isOwner:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/X11/XSelection;
private void setOwnerProp(boolean);
descriptor: (Z)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield sun.awt.X11.XSelection.isOwner:Z
1: aload 0
aload 0
getfield sun.awt.X11.XSelection.isOwner:Z
invokevirtual sun.awt.X11.XSelection.fireOwnershipChanges:(Z)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/X11/XSelection;
0 3 1 f Z
MethodParameters:
Name Flags
f
private void lostOwnership();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
invokevirtual sun.awt.X11.XSelection.setOwnerProp:(Z)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/X11/XSelection;
public synchronized void reset();
descriptor: ()V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
putfield sun.awt.X11.XSelection.contents:Ljava/awt/datatransfer/Transferable;
1: aload 0
aconst_null
putfield sun.awt.X11.XSelection.formatMap:Ljava/util/Map;
2: aload 0
aconst_null
putfield sun.awt.X11.XSelection.formats:[J
3: aload 0
aconst_null
putfield sun.awt.X11.XSelection.appContext:Lsun/awt/AppContext;
4: aload 0
lconst_0
putfield sun.awt.X11.XSelection.ownershipTime:J
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/awt/X11/XSelection;
private boolean convertAndStore(long, long, long);
descriptor: (JJJ)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=13, locals=14, args_size=4
start local 0 start local 1 start local 3 start local 5 0: bipush 8
istore 7
start local 7 1: aconst_null
astore 8
start local 8 2: lconst_0
lstore 9
start local 9 3: iconst_0
istore 11
start local 11 4: aload 0
aload 0
getfield sun.awt.X11.XSelection.appContext:Lsun/awt/AppContext;
invokestatic sun.awt.SunToolkit.insertTargetMapping:(Ljava/lang/Object;Lsun/awt/AppContext;)V
5: invokestatic sun.awt.datatransfer.DataTransferer.getInstance:()Lsun/awt/datatransfer/DataTransferer;
aload 0
6: aload 0
getfield sun.awt.X11.XSelection.contents:Ljava/awt/datatransfer/Transferable;
7: lload 3
8: aload 0
getfield sun.awt.X11.XSelection.formatMap:Ljava/util/Map;
9: invokestatic sun.awt.X11.XToolkit.isToolkitThread:()Z
10: invokevirtual sun.awt.datatransfer.DataTransferer.convertData:(Ljava/lang/Object;Ljava/awt/datatransfer/Transferable;JLjava/util/Map;Z)[B
astore 8
11: goto 14
StackMap locals: sun.awt.X11.XSelection long long long int byte[] long int
StackMap stack: java.io.IOException
12: pop
13: iconst_0
ireturn
14: StackMap locals:
StackMap stack:
aload 8
ifnonnull 16
15: iconst_0
ireturn
16: StackMap locals:
StackMap stack:
aload 8
arraylength
istore 11
17: iload 11
ifle 30
18: iload 11
getstatic sun.awt.X11.XSelection.MAX_PROPERTY_SIZE:I
if_icmpgt 21
19: aload 8
invokestatic sun.awt.X11.Native.toData:([B)J
lstore 9
20: goto 30
21: StackMap locals:
StackMap stack:
new sun.awt.X11.XSelection$IncrementalDataProvider
lload 1
lload 5
lload 3
bipush 8
22: aload 8
23: invokespecial sun.awt.X11.XSelection$IncrementalDataProvider.<init>:(JJJI[B)V
24: getstatic sun.awt.X11.XlibWrapper.unsafe:Lsun/misc/Unsafe;
invokestatic sun.awt.X11.XAtom.getAtomSize:()I
i2l
invokevirtual sun.misc.Unsafe.allocateMemory:(J)J
25: lstore 9
26: lload 9
iload 11
i2l
invokestatic sun.awt.X11.Native.putLong:(JJ)V
27: getstatic sun.awt.X11.XDataTransferer.INCR_ATOM:Lsun/awt/X11/XAtom;
invokevirtual sun.awt.X11.XAtom.getAtom:()J
lstore 3
28: bipush 32
istore 7
29: iconst_1
istore 11
30: StackMap locals:
StackMap stack:
invokestatic sun.awt.X11.XToolkit.awtLock:()V
31: invokestatic sun.awt.X11.XToolkit.getDisplay:()J
lload 1
lload 5
32: lload 3
iload 7
33: iconst_0
34: lload 9
iload 11
35: invokestatic sun.awt.X11.XlibWrapper.XChangeProperty:(JJJJIIJI)V
36: goto 40
StackMap locals:
StackMap stack: java.lang.Throwable
37: astore 12
38: invokestatic sun.awt.X11.XToolkit.awtUnlock:()V
39: aload 12
athrow
40: StackMap locals:
StackMap stack:
invokestatic sun.awt.X11.XToolkit.awtUnlock:()V
41: goto 47
StackMap locals:
StackMap stack: java.lang.Throwable
42: astore 13
43: lload 9
lconst_0
lcmp
ifeq 46
44: getstatic sun.awt.X11.XlibWrapper.unsafe:Lsun/misc/Unsafe;
lload 9
invokevirtual sun.misc.Unsafe.freeMemory:(J)V
45: lconst_0
lstore 9
46: StackMap locals: sun.awt.X11.XSelection long long long int byte[] long int top java.lang.Throwable
StackMap stack:
aload 13
athrow
47: StackMap locals: sun.awt.X11.XSelection long long long int byte[] long int
StackMap stack:
lload 9
lconst_0
lcmp
ifeq 50
48: getstatic sun.awt.X11.XlibWrapper.unsafe:Lsun/misc/Unsafe;
lload 9
invokevirtual sun.misc.Unsafe.freeMemory:(J)V
49: lconst_0
lstore 9
50: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 11 end local 9 end local 8 end local 7 end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 51 0 this Lsun/awt/X11/XSelection;
0 51 1 requestor J
0 51 3 format J
0 51 5 property J
1 51 7 dataFormat I
2 51 8 byteData [B
3 51 9 nativeDataPtr J
4 51 11 count I
Exception table:
from to target type
4 11 12 Class java.io.IOException
31 37 37 any
17 42 42 any
MethodParameters:
Name Flags
requestor
format
property
private void handleSelectionRequest(sun.awt.X11.XSelectionRequestEvent);
descriptor: (Lsun/awt/X11/XSelectionRequestEvent;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=9, locals=14, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual sun.awt.X11.XSelectionRequestEvent.get_property:()J
lstore 2
start local 2 1: aload 1
invokevirtual sun.awt.X11.XSelectionRequestEvent.get_requestor:()J
lstore 4
start local 4 2: aload 1
invokevirtual sun.awt.X11.XSelectionRequestEvent.get_time:()J
lstore 6
start local 6 3: aload 1
invokevirtual sun.awt.X11.XSelectionRequestEvent.get_target:()J
lstore 8
start local 8 4: iconst_0
istore 10
start local 10 5: aload 0
getfield sun.awt.X11.XSelection.ownershipTime:J
lconst_0
lcmp
ifeq 16
6: lload 6
lconst_0
lcmp
ifeq 7
lload 6
aload 0
getfield sun.awt.X11.XSelection.ownershipTime:J
lcmp
iflt 16
7: StackMap locals: sun.awt.X11.XSelection sun.awt.X11.XSelectionRequestEvent long long long long int
StackMap stack:
lload 8
getstatic sun.awt.X11.XDataTransferer.MULTIPLE_ATOM:Lsun/awt/X11/XAtom;
invokevirtual sun.awt.X11.XAtom.getAtom:()J
lcmp
ifne 10
8: aload 0
lload 4
lload 2
invokevirtual sun.awt.X11.XSelection.handleMultipleRequest:(JJ)Z
istore 10
9: goto 16
10: StackMap locals:
StackMap stack:
lload 2
lconst_0
lcmp
ifne 12
11: lload 8
lstore 2
12: StackMap locals:
StackMap stack:
lload 8
getstatic sun.awt.X11.XDataTransferer.TARGETS_ATOM:Lsun/awt/X11/XAtom;
invokevirtual sun.awt.X11.XAtom.getAtom:()J
lcmp
ifne 15
13: aload 0
lload 2
lload 4
invokevirtual sun.awt.X11.XSelection.handleTargetsRequest:(JJ)Z
istore 10
14: goto 16
15: StackMap locals:
StackMap stack:
aload 0
lload 4
lload 8
lload 2
invokevirtual sun.awt.X11.XSelection.convertAndStore:(JJJ)Z
istore 10
16: StackMap locals:
StackMap stack:
iload 10
ifne 18
17: lconst_0
lstore 2
18: StackMap locals:
StackMap stack:
new sun.awt.X11.XSelectionEvent
dup
invokespecial sun.awt.X11.XSelectionEvent.<init>:()V
astore 11
start local 11 19: aload 11
bipush 31
invokevirtual sun.awt.X11.XSelectionEvent.set_type:(I)V
20: aload 11
iconst_1
invokevirtual sun.awt.X11.XSelectionEvent.set_send_event:(Z)V
21: aload 11
lload 4
invokevirtual sun.awt.X11.XSelectionEvent.set_requestor:(J)V
22: aload 11
aload 0
getfield sun.awt.X11.XSelection.selectionAtom:Lsun/awt/X11/XAtom;
invokevirtual sun.awt.X11.XAtom.getAtom:()J
invokevirtual sun.awt.X11.XSelectionEvent.set_selection:(J)V
23: aload 11
lload 8
invokevirtual sun.awt.X11.XSelectionEvent.set_target:(J)V
24: aload 11
lload 2
invokevirtual sun.awt.X11.XSelectionEvent.set_property:(J)V
25: aload 11
lload 6
invokevirtual sun.awt.X11.XSelectionEvent.set_time:(J)V
26: invokestatic sun.awt.X11.XToolkit.awtLock:()V
27: invokestatic sun.awt.X11.XToolkit.getDisplay:()J
lload 4
iconst_0
28: lconst_0
aload 11
getfield sun.awt.X11.XSelectionEvent.pData:J
29: invokestatic sun.awt.X11.XlibWrapper.XSendEvent:(JJZJJ)I
pop
30: goto 34
StackMap locals: sun.awt.X11.XSelection sun.awt.X11.XSelectionRequestEvent long long long long int sun.awt.X11.XSelectionEvent
StackMap stack: java.lang.Throwable
31: astore 12
32: invokestatic sun.awt.X11.XToolkit.awtUnlock:()V
33: aload 12
athrow
34: StackMap locals:
StackMap stack:
invokestatic sun.awt.X11.XToolkit.awtUnlock:()V
35: goto 39
StackMap locals:
StackMap stack: java.lang.Throwable
36: astore 13
37: aload 11
invokevirtual sun.awt.X11.XSelectionEvent.dispose:()V
38: aload 13
athrow
39: StackMap locals:
StackMap stack:
aload 11
invokevirtual sun.awt.X11.XSelectionEvent.dispose:()V
40: return
end local 11 end local 10 end local 8 end local 6 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 41 0 this Lsun/awt/X11/XSelection;
0 41 1 xsre Lsun/awt/X11/XSelectionRequestEvent;
1 41 2 property J
2 41 4 requestor J
3 41 6 requestTime J
4 41 8 format J
5 41 10 conversionSucceeded Z
19 41 11 xse Lsun/awt/X11/XSelectionEvent;
Exception table:
from to target type
27 31 31 any
19 36 36 any
MethodParameters:
Name Flags
xsre
private boolean handleMultipleRequest(long, long);
descriptor: (JJ)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=13, locals=18, args_size=3
start local 0 start local 1 start local 3 0: lconst_0
lload 3
lcmp
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
iconst_0
istore 5
start local 5 3: new sun.awt.X11.WindowPropertyGetter
dup
lload 1
lload 3
invokestatic sun.awt.X11.XAtom.get:(J)Lsun/awt/X11/XAtom;
4: lconst_0
ldc 1000000
iconst_0
5: lconst_0
6: invokespecial sun.awt.X11.WindowPropertyGetter.<init>:(JLsun/awt/X11/XAtom;JJZJ)V
7: astore 6
start local 6 8: aload 6
invokevirtual sun.awt.X11.WindowPropertyGetter.execute:()I
pop
9: aload 6
invokevirtual sun.awt.X11.WindowPropertyGetter.getActualFormat:()I
bipush 32
if_icmpne 43
aload 6
invokevirtual sun.awt.X11.WindowPropertyGetter.getNumberOfItems:()I
iconst_2
irem
ifne 43
10: aload 6
invokevirtual sun.awt.X11.WindowPropertyGetter.getNumberOfItems:()I
iconst_2
idiv
i2l
lstore 7
start local 7 11: aload 6
invokevirtual sun.awt.X11.WindowPropertyGetter.getData:()J
lstore 9
start local 9 12: iconst_0
istore 11
start local 11 13: iconst_0
istore 12
start local 12 14: goto 21
15: StackMap locals: sun.awt.X11.XSelection long long int sun.awt.X11.WindowPropertyGetter long long int int
StackMap stack:
lload 9
iconst_2
iload 12
imul
invokestatic sun.awt.X11.Native.getLong:(JI)J
lstore 13
start local 13 16: lload 9
iconst_2
iload 12
imul
iconst_1
iadd
invokestatic sun.awt.X11.Native.getLong:(JI)J
lstore 15
start local 15 17: aload 0
lload 1
lload 13
lload 15
invokevirtual sun.awt.X11.XSelection.convertAndStore:(JJJ)Z
ifne 20
18: lload 9
iconst_2
iload 12
imul
lconst_0
invokestatic sun.awt.X11.Native.putLong:(JIJ)V
19: iconst_1
istore 11
end local 15 end local 13 20: StackMap locals:
StackMap stack:
iinc 12 1
StackMap locals:
StackMap stack:
21: iload 12
i2l
lload 7
lcmp
iflt 15
end local 12 22: iload 11
ifeq 38
23: invokestatic sun.awt.X11.XToolkit.awtLock:()V
24: invokestatic sun.awt.X11.XToolkit.getDisplay:()J
25: lload 1
26: lload 3
27: aload 6
invokevirtual sun.awt.X11.WindowPropertyGetter.getActualType:()J
28: aload 6
invokevirtual sun.awt.X11.WindowPropertyGetter.getActualFormat:()I
29: iconst_0
30: aload 6
invokevirtual sun.awt.X11.WindowPropertyGetter.getData:()J
31: aload 6
invokevirtual sun.awt.X11.WindowPropertyGetter.getNumberOfItems:()I
32: invokestatic sun.awt.X11.XlibWrapper.XChangeProperty:(JJJJIIJI)V
33: goto 37
StackMap locals: sun.awt.X11.XSelection long long int sun.awt.X11.WindowPropertyGetter long long int
StackMap stack: java.lang.Throwable
34: astore 12
35: invokestatic sun.awt.X11.XToolkit.awtUnlock:()V
36: aload 12
athrow
37: StackMap locals:
StackMap stack:
invokestatic sun.awt.X11.XToolkit.awtUnlock:()V
38: StackMap locals:
StackMap stack:
iconst_1
istore 5
end local 11 end local 9 end local 7 39: goto 43
StackMap locals: sun.awt.X11.XSelection long long int sun.awt.X11.WindowPropertyGetter
StackMap stack: java.lang.Throwable
40: astore 17
41: aload 6
invokevirtual sun.awt.X11.WindowPropertyGetter.dispose:()V
42: aload 17
athrow
43: StackMap locals:
StackMap stack:
aload 6
invokevirtual sun.awt.X11.WindowPropertyGetter.dispose:()V
44: iload 5
ireturn
end local 6 end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 45 0 this Lsun/awt/X11/XSelection;
0 45 1 requestor J
0 45 3 property J
3 45 5 conversionSucceeded Z
8 45 6 wpg Lsun/awt/X11/WindowPropertyGetter;
11 39 7 count J
12 39 9 pairsPtr J
13 39 11 writeBack Z
14 22 12 i I
16 20 13 target J
17 20 15 prop J
Exception table:
from to target type
24 34 34 any
8 40 40 any
MethodParameters:
Name Flags
requestor final
property
private boolean handleTargetsRequest(long, long);
descriptor: (JJ)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=13, locals=12, args_size=3
start local 0 start local 1 start local 3 0: iconst_0
istore 5
start local 5 1: aload 0
getfield sun.awt.X11.XSelection.formats:[J
astore 6
start local 6 2: aload 6
ifnonnull 4
3: new java.lang.IllegalStateException
dup
ldc "Not an owner."
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals: int long[]
StackMap stack:
lconst_0
lstore 7
start local 7 5: aload 6
arraylength
istore 9
start local 9 6: iload 9
ifle 9
7: iload 9
invokestatic sun.awt.X11.Native.allocateLongArray:(I)J
lstore 7
8: lload 7
aload 6
invokestatic sun.awt.X11.Native.put:(J[J)V
9: StackMap locals: long int
StackMap stack:
iconst_1
istore 5
10: invokestatic sun.awt.X11.XToolkit.awtLock:()V
11: invokestatic sun.awt.X11.XToolkit.getDisplay:()J
lload 3
12: lload 1
ldc 4
bipush 32
13: iconst_0
14: lload 7
iload 9
15: invokestatic sun.awt.X11.XlibWrapper.XChangeProperty:(JJJJIIJI)V
16: goto 20
StackMap locals:
StackMap stack: java.lang.Throwable
17: astore 10
18: invokestatic sun.awt.X11.XToolkit.awtUnlock:()V
19: aload 10
athrow
20: StackMap locals:
StackMap stack:
invokestatic sun.awt.X11.XToolkit.awtUnlock:()V
end local 9 21: goto 27
StackMap locals: sun.awt.X11.XSelection long long int long[] long
StackMap stack: java.lang.Throwable
22: astore 11
23: lload 7
lconst_0
lcmp
ifeq 26
24: getstatic sun.awt.X11.XlibWrapper.unsafe:Lsun/misc/Unsafe;
lload 7
invokevirtual sun.misc.Unsafe.freeMemory:(J)V
25: lconst_0
lstore 7
26: StackMap locals: sun.awt.X11.XSelection long long int long[] long top top java.lang.Throwable
StackMap stack:
aload 11
athrow
27: StackMap locals: sun.awt.X11.XSelection long long int long[] long
StackMap stack:
lload 7
lconst_0
lcmp
ifeq 30
28: getstatic sun.awt.X11.XlibWrapper.unsafe:Lsun/misc/Unsafe;
lload 7
invokevirtual sun.misc.Unsafe.freeMemory:(J)V
29: lconst_0
lstore 7
30: StackMap locals:
StackMap stack:
iload 5
ireturn
end local 7 end local 6 end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 31 0 this Lsun/awt/X11/XSelection;
0 31 1 property J
0 31 3 requestor J
1 31 5 conversionSucceeded Z
2 31 6 formatsLocal [J
5 31 7 nativeDataPtr J
6 21 9 count I
Exception table:
from to target type
11 17 17 any
5 22 22 any
Exceptions:
throws java.lang.IllegalStateException
MethodParameters:
Name Flags
property
requestor
private void fireOwnershipChanges(boolean);
descriptor: (Z)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 0
getfield sun.awt.X11.XSelection.stateLock:Ljava/lang/Object;
dup
astore 3
monitorenter
2: aload 0
getfield sun.awt.X11.XSelection.ownershipListener:Lsun/awt/X11/OwnershipListener;
astore 2
3: aload 3
monitorexit
4: goto 7
StackMap locals: sun.awt.X11.XSelection int sun.awt.X11.OwnershipListener java.lang.Object
StackMap stack: java.lang.Throwable
5: aload 3
monitorexit
6: athrow
7: StackMap locals:
StackMap stack:
aload 2
ifnull 9
8: aload 2
iload 1
invokeinterface sun.awt.X11.OwnershipListener.ownershipChanged:(Z)V
9: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/awt/X11/XSelection;
0 10 1 isOwner Z
1 10 2 l Lsun/awt/X11/OwnershipListener;
Exception table:
from to target type
2 4 5 any
5 6 5 any
MethodParameters:
Name Flags
isOwner final
void registerOwershipListener(sun.awt.X11.OwnershipListener);
descriptor: (Lsun/awt/X11/OwnershipListener;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.awt.X11.XSelection.stateLock:Ljava/lang/Object;
dup
astore 2
monitorenter
1: aload 0
aload 1
putfield sun.awt.X11.XSelection.ownershipListener:Lsun/awt/X11/OwnershipListener;
2: aload 2
monitorexit
3: goto 6
StackMap locals: sun.awt.X11.XSelection sun.awt.X11.OwnershipListener java.lang.Object
StackMap stack: java.lang.Throwable
4: aload 2
monitorexit
5: athrow
6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/awt/X11/XSelection;
0 7 1 l Lsun/awt/X11/OwnershipListener;
Exception table:
from to target type
1 3 4 any
4 5 4 any
MethodParameters:
Name Flags
l
void unregisterOwnershipListener();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.awt.X11.XSelection.stateLock:Ljava/lang/Object;
dup
astore 1
monitorenter
1: aload 0
aconst_null
putfield sun.awt.X11.XSelection.ownershipListener:Lsun/awt/X11/OwnershipListener;
2: aload 1
monitorexit
3: goto 6
StackMap locals: sun.awt.X11.XSelection java.lang.Object
StackMap stack: java.lang.Throwable
4: aload 1
monitorexit
5: athrow
6: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/awt/X11/XSelection;
Exception table:
from to target type
1 3 4 any
4 5 4 any
}
SourceFile: "XSelection.java"
NestMembers:
sun.awt.X11.XSelection$IncrementalDataProvider sun.awt.X11.XSelection$IncrementalTransferHandler sun.awt.X11.XSelection$SelectionEventHandler
InnerClasses:
private IncrementalDataProvider = sun.awt.X11.XSelection$IncrementalDataProvider of sun.awt.X11.XSelection
private IncrementalTransferHandler = sun.awt.X11.XSelection$IncrementalTransferHandler of sun.awt.X11.XSelection
private SelectionEventHandler = sun.awt.X11.XSelection$SelectionEventHandler of sun.awt.X11.XSelection