class com.sun.glass.ui.monocle.X11Screen implements com.sun.glass.ui.monocle.NativeScreen
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.glass.ui.monocle.X11Screen
super_class: java.lang.Object
{
private int depth;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int nativeFormat;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int width;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int height;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private long nativeHandle;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private long display;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private static com.sun.glass.ui.monocle.X xLib;
descriptor: Lcom/sun/glass/ui/monocle/X;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic com.sun.glass.ui.monocle.X.getX:()Lcom/sun/glass/ui/monocle/X;
putstatic com.sun.glass.ui.monocle.X11Screen.xLib:Lcom/sun/glass/ui/monocle/X;
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(boolean);
descriptor: (Z)V
flags: (0x0000)
Code:
stack=18, locals=18, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: getstatic com.sun.glass.ui.monocle.X11Screen.xLib:Lcom/sun/glass/ui/monocle/X;
invokevirtual com.sun.glass.ui.monocle.X.XInitThreads:()V
2: aload 0
getstatic com.sun.glass.ui.monocle.X11Screen.xLib:Lcom/sun/glass/ui/monocle/X;
aconst_null
invokevirtual com.sun.glass.ui.monocle.X.XOpenDisplay:(Ljava/lang/String;)J
putfield com.sun.glass.ui.monocle.X11Screen.display:J
3: getstatic com.sun.glass.ui.monocle.X11Screen.xLib:Lcom/sun/glass/ui/monocle/X;
aload 0
getfield com.sun.glass.ui.monocle.X11Screen.display:J
invokevirtual com.sun.glass.ui.monocle.X.XLockDisplay:(J)V
4: aload 0
getfield com.sun.glass.ui.monocle.X11Screen.display:J
lconst_0
lcmp
ifne 6
5: new java.lang.NullPointerException
dup
ldc "Cannot open X11 display"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals: com.sun.glass.ui.monocle.X11Screen int
StackMap stack:
getstatic com.sun.glass.ui.monocle.X11Screen.xLib:Lcom/sun/glass/ui/monocle/X;
aload 0
getfield com.sun.glass.ui.monocle.X11Screen.display:J
invokevirtual com.sun.glass.ui.monocle.X.DefaultScreenOfDisplay:(J)J
lstore 2
start local 2 7: new com.sun.glass.ui.monocle.X$XSetWindowAttributes
dup
invokespecial com.sun.glass.ui.monocle.X$XSetWindowAttributes.<init>:()V
astore 4
start local 4 8: aload 4
getfield com.sun.glass.ui.monocle.X$XSetWindowAttributes.p:J
9: ldc 76
10: invokestatic com.sun.glass.ui.monocle.X$XSetWindowAttributes.setEventMask:(JJ)V
11: ldc 2048
lstore 5
start local 5 12: iload 1
ifne 15
13: lload 5
ldc 16384
lor
lstore 5
14: aload 4
getfield com.sun.glass.ui.monocle.X$XSetWindowAttributes.p:J
lconst_0
invokestatic com.sun.glass.ui.monocle.X$XSetWindowAttributes.setCursor:(JJ)V
15: StackMap locals: long com.sun.glass.ui.monocle.X$XSetWindowAttributes long
StackMap stack:
iconst_0
istore 7
start local 7 16: iconst_0
istore 8
start local 8 17: getstatic com.sun.glass.ui.monocle.X11Screen.xLib:Lcom/sun/glass/ui/monocle/X;
lload 2
invokevirtual com.sun.glass.ui.monocle.X.WidthOfScreen:(J)I
istore 9
start local 9 18: getstatic com.sun.glass.ui.monocle.X11Screen.xLib:Lcom/sun/glass/ui/monocle/X;
lload 2
invokevirtual com.sun.glass.ui.monocle.X.HeightOfScreen:(J)I
istore 10
start local 10 19: iconst_1
istore 11
start local 11 20: invokedynamic run()Ljava/security/PrivilegedAction;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
com/sun/glass/ui/monocle/X11Screen.lambda$0()Ljava/lang/String; (6)
()Ljava/lang/String;
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.String
21: astore 12
start local 12 22: aload 12
ifnull 47
23: aload 12
ldc ","
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifeq 36
24: aload 12
ldc "+"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
istore 15
start local 15 25: iload 15
iflt 29
26: aload 12
iconst_0
iload 15
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 14
start local 14 27: aload 12
iload 15
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 13
start local 13 28: goto 31
end local 14 end local 13 29: StackMap locals: com.sun.glass.ui.monocle.X11Screen int long com.sun.glass.ui.monocle.X$XSetWindowAttributes long int int int int int java.lang.String top top int
StackMap stack:
aload 12
astore 14
start local 14 30: ldc ""
astore 13
start local 13 31: StackMap locals: com.sun.glass.ui.monocle.X11Screen int long com.sun.glass.ui.monocle.X$XSetWindowAttributes long int int int int int java.lang.String java.lang.String java.lang.String int
StackMap stack:
aload 14
ldc ","
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
istore 15
32: aload 14
iconst_0
iload 15
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
istore 7
33: aload 14
iload 15
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
istore 8
34: iconst_0
istore 11
end local 15 end local 14 35: goto 37
end local 13 36: StackMap locals:
StackMap stack:
aload 12
astore 13
start local 13 37: StackMap locals: java.lang.String
StackMap stack:
aload 13
invokevirtual java.lang.String.length:()I
ifle 47
38: aload 13
ldc "x"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
istore 14
start local 14 39: aload 13
iconst_0
iload 14
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
istore 9
40: aload 13
iload 14
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
istore 10
41: iconst_0
istore 11
end local 14 end local 13 42: goto 47
StackMap locals: com.sun.glass.ui.monocle.X11Screen int long com.sun.glass.ui.monocle.X$XSetWindowAttributes long int int int int int java.lang.String
StackMap stack: java.lang.NumberFormatException
43: pop
44: getstatic java.lang.System.err:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Cannot parse geometry string: '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
45: aload 12
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;
46: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
47: StackMap locals:
StackMap stack:
iload 11
ifeq 50
48: aload 4
getfield com.sun.glass.ui.monocle.X$XSetWindowAttributes.p:J
iconst_1
invokestatic com.sun.glass.ui.monocle.X$XSetWindowAttributes.setOverrideRedirect:(JZ)V
49: lload 5
ldc 512
lor
lstore 5
50: StackMap locals:
StackMap stack:
getstatic com.sun.glass.ui.monocle.X11Screen.xLib:Lcom/sun/glass/ui/monocle/X;
51: aload 0
getfield com.sun.glass.ui.monocle.X11Screen.display:J
52: getstatic com.sun.glass.ui.monocle.X11Screen.xLib:Lcom/sun/glass/ui/monocle/X;
lload 2
invokevirtual com.sun.glass.ui.monocle.X.RootWindowOfScreen:(J)J
53: iload 7
iload 8
iload 9
iload 10
54: iconst_0
55: iconst_0
56: iconst_1
57: lconst_0
58: lload 5
59: aload 4
getfield com.sun.glass.ui.monocle.X$XSetWindowAttributes.p:J
60: invokevirtual com.sun.glass.ui.monocle.X.XCreateWindow:(JJIIIIIIIJJJ)J
lstore 13
start local 13 61: getstatic com.sun.glass.ui.monocle.X11Screen.xLib:Lcom/sun/glass/ui/monocle/X;
aload 0
getfield com.sun.glass.ui.monocle.X11Screen.display:J
lload 13
invokevirtual com.sun.glass.ui.monocle.X.XMapWindow:(JJ)V
62: iload 11
ifeq 90
63: new com.sun.glass.ui.monocle.X$XClientMessageEvent
dup
64: new com.sun.glass.ui.monocle.X$XEvent
dup
invokespecial com.sun.glass.ui.monocle.X$XEvent.<init>:()V
65: invokespecial com.sun.glass.ui.monocle.X$XClientMessageEvent.<init>:(Lcom/sun/glass/ui/monocle/X$XEvent;)V
astore 15
start local 15 66: aload 15
getfield com.sun.glass.ui.monocle.X$XClientMessageEvent.p:J
lload 13
invokestatic com.sun.glass.ui.monocle.X$XEvent.setWindow:(JJ)V
67: aload 15
getfield com.sun.glass.ui.monocle.X$XClientMessageEvent.p:J
68: getstatic com.sun.glass.ui.monocle.X11Screen.xLib:Lcom/sun/glass/ui/monocle/X;
aload 0
getfield com.sun.glass.ui.monocle.X11Screen.display:J
69: ldc "_NET_WM_STATE"
70: iconst_0
71: invokevirtual com.sun.glass.ui.monocle.X.XInternAtom:(JLjava/lang/String;Z)J
72: invokestatic com.sun.glass.ui.monocle.X$XClientMessageEvent.setMessageType:(JJ)V
73: aload 15
getfield com.sun.glass.ui.monocle.X$XClientMessageEvent.p:J
ldc 32
invokestatic com.sun.glass.ui.monocle.X$XClientMessageEvent.setFormat:(JJ)V
74: aload 15
getfield com.sun.glass.ui.monocle.X$XClientMessageEvent.p:J
iconst_0
lconst_1
invokestatic com.sun.glass.ui.monocle.X$XClientMessageEvent.setDataLong:(JIJ)V
75: aload 15
getfield com.sun.glass.ui.monocle.X$XClientMessageEvent.p:J
iconst_1
76: getstatic com.sun.glass.ui.monocle.X11Screen.xLib:Lcom/sun/glass/ui/monocle/X;
aload 0
getfield com.sun.glass.ui.monocle.X11Screen.display:J
77: ldc "_NET_WM_STATE_FULLSCREEN"
78: iconst_0
79: invokevirtual com.sun.glass.ui.monocle.X.XInternAtom:(JLjava/lang/String;Z)J
80: invokestatic com.sun.glass.ui.monocle.X$XClientMessageEvent.setDataLong:(JIJ)V
81: aload 15
getfield com.sun.glass.ui.monocle.X$XClientMessageEvent.p:J
iconst_2
lconst_0
invokestatic com.sun.glass.ui.monocle.X$XClientMessageEvent.setDataLong:(JIJ)V
82: getstatic com.sun.glass.ui.monocle.X11Screen.xLib:Lcom/sun/glass/ui/monocle/X;
aload 0
getfield com.sun.glass.ui.monocle.X11Screen.display:J
getstatic com.sun.glass.ui.monocle.X11Screen.xLib:Lcom/sun/glass/ui/monocle/X;
lload 2
invokevirtual com.sun.glass.ui.monocle.X.RootWindowOfScreen:(J)J
83: iconst_0
84: ldc 1572864
85: aload 15
getfield com.sun.glass.ui.monocle.X$XClientMessageEvent.p:J
86: invokevirtual com.sun.glass.ui.monocle.X.XSendEvent:(JJZJJ)V
87: getstatic com.sun.glass.ui.monocle.X11Screen.xLib:Lcom/sun/glass/ui/monocle/X;
aload 0
getfield com.sun.glass.ui.monocle.X11Screen.display:J
lload 13
iconst_1
88: lconst_1
lconst_1
lconst_0
89: invokevirtual com.sun.glass.ui.monocle.X.XGrabKeyboard:(JJZJJJ)V
end local 15 90: StackMap locals: long
StackMap stack:
getstatic com.sun.glass.ui.monocle.X11Screen.xLib:Lcom/sun/glass/ui/monocle/X;
aload 0
getfield com.sun.glass.ui.monocle.X11Screen.display:J
lload 13
ldc "JavaFX framebuffer container"
invokevirtual com.sun.glass.ui.monocle.X.XStoreName:(JJLjava/lang/String;)V
91: getstatic com.sun.glass.ui.monocle.X11Screen.xLib:Lcom/sun/glass/ui/monocle/X;
aload 0
getfield com.sun.glass.ui.monocle.X11Screen.display:J
iconst_0
invokevirtual com.sun.glass.ui.monocle.X.XSync:(JZ)V
92: iconst_1
newarray 10
astore 15
start local 15 93: iconst_1
newarray 10
astore 16
start local 16 94: iconst_1
newarray 10
astore 17
start local 17 95: getstatic com.sun.glass.ui.monocle.X11Screen.xLib:Lcom/sun/glass/ui/monocle/X;
aload 0
getfield com.sun.glass.ui.monocle.X11Screen.display:J
lload 13
aconst_null
aconst_null
aconst_null
aload 15
96: aload 16
aconst_null
aload 17
97: invokevirtual com.sun.glass.ui.monocle.X.XGetGeometry:(JJ[J[I[I[I[I[I[I)V
98: getstatic com.sun.glass.ui.monocle.X11Screen.xLib:Lcom/sun/glass/ui/monocle/X;
aload 0
getfield com.sun.glass.ui.monocle.X11Screen.display:J
invokevirtual com.sun.glass.ui.monocle.X.XUnlockDisplay:(J)V
99: aload 0
aload 15
iconst_0
iaload
putfield com.sun.glass.ui.monocle.X11Screen.width:I
100: aload 0
aload 16
iconst_0
iaload
putfield com.sun.glass.ui.monocle.X11Screen.height:I
101: aload 0
aload 17
iconst_0
iaload
putfield com.sun.glass.ui.monocle.X11Screen.depth:I
102: aload 0
iconst_1
putfield com.sun.glass.ui.monocle.X11Screen.nativeFormat:I
103: aload 0
lload 13
putfield com.sun.glass.ui.monocle.X11Screen.nativeHandle:J
104: return
end local 17 end local 16 end local 15 end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 end local 5 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 105 0 this Lcom/sun/glass/ui/monocle/X11Screen;
0 105 1 showCursor Z
7 105 2 screen J
8 105 4 attrs Lcom/sun/glass/ui/monocle/X$XSetWindowAttributes;
12 105 5 cwMask J
16 105 7 x I
17 105 8 y I
18 105 9 w I
19 105 10 h I
20 105 11 fullScreen Z
22 105 12 geometry Ljava/lang/String;
28 29 13 size Ljava/lang/String;
31 36 13 size Ljava/lang/String;
37 42 13 size Ljava/lang/String;
27 29 14 location Ljava/lang/String;
30 35 14 location Ljava/lang/String;
25 35 15 i I
39 42 14 i I
61 105 13 window J
66 90 15 event Lcom/sun/glass/ui/monocle/X$XClientMessageEvent;
93 105 15 widthA [I
94 105 16 heightA [I
95 105 17 depthA [I
Exception table:
from to target type
23 42 43 Class java.lang.NumberFormatException
MethodParameters:
Name Flags
showCursor
public int getDepth();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.glass.ui.monocle.X11Screen.depth:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/glass/ui/monocle/X11Screen;
public int getNativeFormat();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.glass.ui.monocle.X11Screen.nativeFormat:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/glass/ui/monocle/X11Screen;
public int getWidth();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.glass.ui.monocle.X11Screen.width:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/glass/ui/monocle/X11Screen;
public int getHeight();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.glass.ui.monocle.X11Screen.height:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/glass/ui/monocle/X11Screen;
public float getScale();
descriptor: ()F
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: fconst_1
freturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/glass/ui/monocle/X11Screen;
public long getNativeHandle();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.glass.ui.monocle.X11Screen.nativeHandle:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/glass/ui/monocle/X11Screen;
public int getDPI();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: bipush 96
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/glass/ui/monocle/X11Screen;
public void shutdown();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/glass/ui/monocle/X11Screen;
long getDisplay();
descriptor: ()J
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.glass.ui.monocle.X11Screen.display:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/glass/ui/monocle/X11Screen;
public void uploadPixels(java.nio.Buffer, int, int, int, int, float);
descriptor: (Ljava/nio/Buffer;IIIIF)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=7, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/glass/ui/monocle/X11Screen;
0 1 1 b Ljava/nio/Buffer;
0 1 2 x I
0 1 3 y I
0 1 4 width I
0 1 5 height I
0 1 6 alpha F
MethodParameters:
Name Flags
b
x
y
width
height
alpha
public void swapBuffers();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/glass/ui/monocle/X11Screen;
public java.nio.ByteBuffer getScreenCapture();
descriptor: ()Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/glass/ui/monocle/X11Screen;
private static java.lang.String lambda$0();
descriptor: ()Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=0, args_size=0
0: ldc "x11.geometry"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "X11Screen.java"
InnerClasses:
XClientMessageEvent = com.sun.glass.ui.monocle.X$XClientMessageEvent of com.sun.glass.ui.monocle.X
XEvent = com.sun.glass.ui.monocle.X$XEvent of com.sun.glass.ui.monocle.X
XSetWindowAttributes = com.sun.glass.ui.monocle.X$XSetWindowAttributes of com.sun.glass.ui.monocle.X
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles