public final class sun.awt.X11GraphicsDevice extends java.awt.GraphicsDevice implements sun.awt.DisplayChangedListener
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: sun.awt.X11GraphicsDevice
super_class: java.awt.GraphicsDevice
{
int screen;
descriptor: I
flags: (0x0000)
java.util.HashMap<sun.java2d.loops.SurfaceType, java.lang.Object> x11ProxyKeyMap;
descriptor: Ljava/util/HashMap;
flags: (0x0000)
Signature: Ljava/util/HashMap<Lsun/java2d/loops/SurfaceType;Ljava/lang/Object;>;
private static java.awt.AWTPermission fullScreenExclusivePermission;
descriptor: Ljava/awt/AWTPermission;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.lang.Boolean xrandrExtSupported;
descriptor: Ljava/lang/Boolean;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private final java.lang.Object configLock;
descriptor: Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private sun.awt.SunDisplayChanger topLevels;
descriptor: Lsun/awt/SunDisplayChanger;
flags: (0x0002) ACC_PRIVATE
private java.awt.DisplayMode origDisplayMode;
descriptor: Ljava/awt/DisplayMode;
flags: (0x0002) ACC_PRIVATE
private boolean shutdownHookRegistered;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private int scale;
descriptor: I
flags: (0x0002) ACC_PRIVATE
java.awt.GraphicsConfiguration[] configs;
descriptor: [Ljava/awt/GraphicsConfiguration;
flags: (0x0000)
java.awt.GraphicsConfiguration defaultConfig;
descriptor: Ljava/awt/GraphicsConfiguration;
flags: (0x0000)
java.util.HashSet<java.lang.Integer> doubleBufferVisuals;
descriptor: Ljava/util/HashSet;
flags: (0x0000)
Signature: Ljava/util/HashSet<Ljava/lang/Integer;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic java.awt.GraphicsEnvironment.isHeadless:()Z
ifne 2
1: invokestatic sun.awt.X11GraphicsDevice.initIDs:()V
2: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.awt.GraphicsDevice.<init>:()V
1: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield sun.awt.X11GraphicsDevice.x11ProxyKeyMap:Ljava/util/HashMap;
2: aload 0
new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putfield sun.awt.X11GraphicsDevice.configLock:Ljava/lang/Object;
3: aload 0
new sun.awt.SunDisplayChanger
dup
invokespecial sun.awt.SunDisplayChanger.<init>:()V
putfield sun.awt.X11GraphicsDevice.topLevels:Lsun/awt/SunDisplayChanger;
4: aload 0
iload 1
putfield sun.awt.X11GraphicsDevice.screen:I
5: aload 0
aload 0
invokevirtual sun.awt.X11GraphicsDevice.initScaleFactor:()I
putfield sun.awt.X11GraphicsDevice.scale:I
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/awt/X11GraphicsDevice;
0 7 1 screennum I
MethodParameters:
Name Flags
screennum
private static native void initIDs();
descriptor: ()V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
public int getScreen();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.awt.X11GraphicsDevice.screen:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/X11GraphicsDevice;
public java.lang.Object getProxyKeyFor(sun.java2d.loops.SurfaceType);
descriptor: (Lsun/java2d/loops/SurfaceType;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.awt.X11GraphicsDevice.x11ProxyKeyMap:Ljava/util/HashMap;
dup
astore 2
monitorenter
1: aload 0
getfield sun.awt.X11GraphicsDevice.x11ProxyKeyMap:Ljava/util/HashMap;
aload 1
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
astore 3
start local 3 2: aload 3
ifnonnull 5
3: new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
astore 3
4: aload 0
getfield sun.awt.X11GraphicsDevice.x11ProxyKeyMap:Ljava/util/HashMap;
aload 1
aload 3
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
5: StackMap locals: java.util.HashMap java.lang.Object
StackMap stack:
aload 3
aload 2
monitorexit
6: areturn
end local 3 7: StackMap locals: sun.awt.X11GraphicsDevice sun.java2d.loops.SurfaceType java.util.HashMap
StackMap stack: java.lang.Throwable
aload 2
monitorexit
8: athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/awt/X11GraphicsDevice;
0 9 1 st Lsun/java2d/loops/SurfaceType;
2 7 3 o Ljava/lang/Object;
Exception table:
from to target type
1 6 7 any
7 8 7 any
MethodParameters:
Name Flags
st
public native long getDisplay();
descriptor: ()J
flags: (0x0101) ACC_PUBLIC, ACC_NATIVE
public int getType();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/X11GraphicsDevice;
public java.lang.String getIDstring();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc ":0."
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.awt.X11GraphicsDevice.screen:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/X11GraphicsDevice;
public java.awt.GraphicsConfiguration[] getConfigurations();
descriptor: ()[Ljava/awt/GraphicsConfiguration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.awt.X11GraphicsDevice.configs:[Ljava/awt/GraphicsConfiguration;
ifnonnull 7
1: aload 0
getfield sun.awt.X11GraphicsDevice.configLock:Ljava/lang/Object;
dup
astore 1
monitorenter
2: aload 0
invokevirtual sun.awt.X11GraphicsDevice.makeConfigurations:()V
3: aload 1
monitorexit
4: goto 7
StackMap locals: sun.awt.X11GraphicsDevice java.lang.Object
StackMap stack: java.lang.Throwable
5: aload 1
monitorexit
6: athrow
7: StackMap locals:
StackMap stack:
aload 0
getfield sun.awt.X11GraphicsDevice.configs:[Ljava/awt/GraphicsConfiguration;
invokevirtual java.awt.GraphicsConfiguration[].clone:()Ljava/lang/Object;
checkcast java.awt.GraphicsConfiguration[]
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/awt/X11GraphicsDevice;
Exception table:
from to target type
2 4 5 any
5 6 5 any
private void makeConfigurations();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=10, args_size=1
start local 0 0: aload 0
getfield sun.awt.X11GraphicsDevice.configs:[Ljava/awt/GraphicsConfiguration;
ifnonnull 37
1: iconst_1
istore 1
start local 1 2: aload 0
aload 0
getfield sun.awt.X11GraphicsDevice.screen:I
invokevirtual sun.awt.X11GraphicsDevice.getNumConfigs:(I)I
istore 2
start local 2 3: iload 2
anewarray java.awt.GraphicsConfiguration
astore 3
start local 3 4: aload 0
getfield sun.awt.X11GraphicsDevice.defaultConfig:Ljava/awt/GraphicsConfiguration;
ifnonnull 7
5: aload 3
iconst_0
aload 0
invokevirtual sun.awt.X11GraphicsDevice.getDefaultConfiguration:()Ljava/awt/GraphicsConfiguration;
aastore
6: goto 8
7: StackMap locals: int int java.awt.GraphicsConfiguration[]
StackMap stack:
aload 3
iconst_0
aload 0
getfield sun.awt.X11GraphicsDevice.defaultConfig:Ljava/awt/GraphicsConfiguration;
aastore
8: StackMap locals:
StackMap stack:
invokestatic sun.awt.X11GraphicsEnvironment.isGLXAvailable:()Z
istore 4
start local 4 9: invokestatic sun.awt.X11GraphicsEnvironment.isXRenderAvailable:()Z
istore 5
start local 5 10: invokestatic sun.awt.X11GraphicsDevice.isDBESupported:()Z
istore 6
start local 6 11: iload 6
ifeq 35
aload 0
getfield sun.awt.X11GraphicsDevice.doubleBufferVisuals:Ljava/util/HashSet;
ifnonnull 35
12: aload 0
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putfield sun.awt.X11GraphicsDevice.doubleBufferVisuals:Ljava/util/HashSet;
13: aload 0
aload 0
getfield sun.awt.X11GraphicsDevice.screen:I
invokevirtual sun.awt.X11GraphicsDevice.getDoubleBufferVisuals:(I)V
14: goto 35
15: StackMap locals: int int int
StackMap stack:
aload 0
iload 1
aload 0
getfield sun.awt.X11GraphicsDevice.screen:I
invokevirtual sun.awt.X11GraphicsDevice.getConfigVisualId:(II)I
istore 7
start local 7 16: aload 0
iload 1
aload 0
getfield sun.awt.X11GraphicsDevice.screen:I
invokevirtual sun.awt.X11GraphicsDevice.getConfigDepth:(II)I
istore 8
start local 8 17: iload 4
ifeq 19
18: aload 3
iload 1
aload 0
iload 7
invokestatic sun.java2d.opengl.GLXGraphicsConfig.getConfig:(Lsun/awt/X11GraphicsDevice;I)Lsun/java2d/opengl/GLXGraphicsConfig;
aastore
19: StackMap locals: int int
StackMap stack:
aload 3
iload 1
aaload
ifnonnull 34
20: iload 6
ifeq 23
21: aload 0
getfield sun.awt.X11GraphicsDevice.doubleBufferVisuals:Ljava/util/HashSet;
iload 7
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual java.util.HashSet.contains:(Ljava/lang/Object;)Z
ifeq 23
22: iconst_1
goto 24
StackMap locals:
StackMap stack:
23: iconst_0
StackMap locals:
StackMap stack: int
24: istore 9
start local 9 25: iload 5
ifeq 30
26: aload 3
iload 1
aload 0
iload 7
iload 8
aload 0
iload 1
aload 0
getfield sun.awt.X11GraphicsDevice.screen:I
invokevirtual sun.awt.X11GraphicsDevice.getConfigColormap:(II)I
27: iload 9
28: invokestatic sun.java2d.xr.XRGraphicsConfig.getConfig:(Lsun/awt/X11GraphicsDevice;IIIZ)Lsun/java2d/xr/XRGraphicsConfig;
aastore
29: goto 34
30: StackMap locals: int
StackMap stack:
aload 3
iload 1
aload 0
iload 7
iload 8
31: aload 0
iload 1
aload 0
getfield sun.awt.X11GraphicsDevice.screen:I
invokevirtual sun.awt.X11GraphicsDevice.getConfigColormap:(II)I
32: iload 9
33: invokestatic sun.awt.X11GraphicsConfig.getConfig:(Lsun/awt/X11GraphicsDevice;IIIZ)Lsun/awt/X11GraphicsConfig;
aastore
end local 9 end local 8 end local 7 34: StackMap locals:
StackMap stack:
iinc 1 1
StackMap locals:
StackMap stack:
35: iload 1
iload 2
if_icmplt 15
36: aload 0
aload 3
putfield sun.awt.X11GraphicsDevice.configs:[Ljava/awt/GraphicsConfiguration;
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 37: StackMap locals: sun.awt.X11GraphicsDevice
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 38 0 this Lsun/awt/X11GraphicsDevice;
2 37 1 i I
3 37 2 num I
4 37 3 ret [Ljava/awt/GraphicsConfiguration;
9 37 4 glxSupported Z
10 37 5 xrenderSupported Z
11 37 6 dbeSupported Z
16 34 7 visNum I
17 34 8 depth I
25 34 9 doubleBuffer Z
public native int getNumConfigs(int);
descriptor: (I)I
flags: (0x0101) ACC_PUBLIC, ACC_NATIVE
MethodParameters:
Name Flags
screen
public native int getConfigVisualId(int, int);
descriptor: (II)I
flags: (0x0101) ACC_PUBLIC, ACC_NATIVE
MethodParameters:
Name Flags
index
screen
private native int getConfigDepth(int, int);
descriptor: (II)I
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
index
screen
private native int getConfigColormap(int, int);
descriptor: (II)I
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
index
screen
static native boolean isDBESupported();
descriptor: ()Z
flags: (0x0108) ACC_STATIC, ACC_NATIVE
private void addDoubleBufferVisual(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.awt.X11GraphicsDevice.doubleBufferVisuals:Ljava/util/HashSet;
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/X11GraphicsDevice;
0 2 1 visNum I
MethodParameters:
Name Flags
visNum
private native void getDoubleBufferVisuals(int);
descriptor: (I)V
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
screen
public java.awt.GraphicsConfiguration getDefaultConfiguration();
descriptor: ()Ljava/awt/GraphicsConfiguration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.awt.X11GraphicsDevice.defaultConfig:Ljava/awt/GraphicsConfiguration;
ifnonnull 7
1: aload 0
getfield sun.awt.X11GraphicsDevice.configLock:Ljava/lang/Object;
dup
astore 1
monitorenter
2: aload 0
invokevirtual sun.awt.X11GraphicsDevice.makeDefaultConfiguration:()V
3: aload 1
monitorexit
4: goto 7
StackMap locals: sun.awt.X11GraphicsDevice java.lang.Object
StackMap stack: java.lang.Throwable
5: aload 1
monitorexit
6: athrow
7: StackMap locals:
StackMap stack:
aload 0
getfield sun.awt.X11GraphicsDevice.defaultConfig:Ljava/awt/GraphicsConfiguration;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/awt/X11GraphicsDevice;
Exception table:
from to target type
2 4 5 any
5 6 5 any
private void makeDefaultConfiguration();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=4, args_size=1
start local 0 0: aload 0
getfield sun.awt.X11GraphicsDevice.defaultConfig:Ljava/awt/GraphicsConfiguration;
ifnonnull 32
1: aload 0
iconst_0
aload 0
getfield sun.awt.X11GraphicsDevice.screen:I
invokevirtual sun.awt.X11GraphicsDevice.getConfigVisualId:(II)I
istore 1
start local 1 2: invokestatic sun.awt.X11GraphicsEnvironment.isGLXAvailable:()Z
ifeq 12
3: aload 0
aload 0
iload 1
invokestatic sun.java2d.opengl.GLXGraphicsConfig.getConfig:(Lsun/awt/X11GraphicsDevice;I)Lsun/java2d/opengl/GLXGraphicsConfig;
putfield sun.awt.X11GraphicsDevice.defaultConfig:Ljava/awt/GraphicsConfiguration;
4: invokestatic sun.awt.X11GraphicsEnvironment.isGLXVerbose:()Z
ifeq 12
5: aload 0
getfield sun.awt.X11GraphicsDevice.defaultConfig:Ljava/awt/GraphicsConfiguration;
ifnull 8
6: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "OpenGL pipeline enabled"
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
7: goto 9
8: StackMap locals: int
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "Could not enable OpenGL pipeline"
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
9: StackMap locals:
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc " for default config on screen "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
10: aload 0
getfield sun.awt.X11GraphicsDevice.screen:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
11: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
12: StackMap locals:
StackMap stack:
aload 0
getfield sun.awt.X11GraphicsDevice.defaultConfig:Ljava/awt/GraphicsConfiguration;
ifnonnull 32
13: aload 0
iconst_0
aload 0
getfield sun.awt.X11GraphicsDevice.screen:I
invokevirtual sun.awt.X11GraphicsDevice.getConfigDepth:(II)I
istore 2
start local 2 14: iconst_0
istore 3
start local 3 15: invokestatic sun.awt.X11GraphicsDevice.isDBESupported:()Z
ifeq 20
aload 0
getfield sun.awt.X11GraphicsDevice.doubleBufferVisuals:Ljava/util/HashSet;
ifnonnull 20
16: aload 0
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putfield sun.awt.X11GraphicsDevice.doubleBufferVisuals:Ljava/util/HashSet;
17: aload 0
aload 0
getfield sun.awt.X11GraphicsDevice.screen:I
invokevirtual sun.awt.X11GraphicsDevice.getDoubleBufferVisuals:(I)V
18: aload 0
getfield sun.awt.X11GraphicsDevice.doubleBufferVisuals:Ljava/util/HashSet;
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual java.util.HashSet.contains:(Ljava/lang/Object;)Z
19: istore 3
20: StackMap locals: int int
StackMap stack:
invokestatic sun.awt.X11GraphicsEnvironment.isXRenderAvailable:()Z
ifeq 28
21: invokestatic sun.awt.X11GraphicsEnvironment.isXRenderVerbose:()Z
ifeq 23
22: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "XRender pipeline enabled"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
23: StackMap locals:
StackMap stack:
aload 0
aload 0
iload 1
24: iload 2
aload 0
iconst_0
aload 0
getfield sun.awt.X11GraphicsDevice.screen:I
invokevirtual sun.awt.X11GraphicsDevice.getConfigColormap:(II)I
25: iload 3
26: invokestatic sun.java2d.xr.XRGraphicsConfig.getConfig:(Lsun/awt/X11GraphicsDevice;IIIZ)Lsun/java2d/xr/XRGraphicsConfig;
putfield sun.awt.X11GraphicsDevice.defaultConfig:Ljava/awt/GraphicsConfiguration;
27: goto 32
28: StackMap locals:
StackMap stack:
aload 0
aload 0
iload 1
29: iload 2
aload 0
iconst_0
aload 0
getfield sun.awt.X11GraphicsDevice.screen:I
invokevirtual sun.awt.X11GraphicsDevice.getConfigColormap:(II)I
30: iload 3
31: invokestatic sun.awt.X11GraphicsConfig.getConfig:(Lsun/awt/X11GraphicsDevice;IIIZ)Lsun/awt/X11GraphicsConfig;
putfield sun.awt.X11GraphicsDevice.defaultConfig:Ljava/awt/GraphicsConfiguration;
end local 3 end local 2 end local 1 32: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 33 0 this Lsun/awt/X11GraphicsDevice;
2 32 1 visNum I
14 32 2 depth I
15 32 3 doubleBuffer Z
private static native void enterFullScreenExclusive(long);
descriptor: (J)V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
window
private static native void exitFullScreenExclusive(long);
descriptor: (J)V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
window
private static native boolean initXrandrExtension();
descriptor: ()Z
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
private static native java.awt.DisplayMode getCurrentDisplayMode(int);
descriptor: (I)Ljava/awt/DisplayMode;
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
screen
private static native void enumDisplayModes(int, java.util.ArrayList<java.awt.DisplayMode>);
descriptor: (ILjava/util/ArrayList;)V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
Signature: (ILjava/util/ArrayList<Ljava/awt/DisplayMode;>;)V
MethodParameters:
Name Flags
screen
modes
private static native void configDisplayMode(int, int, int, int);
descriptor: (IIII)V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
screen
width
height
displayMode
private static native void resetNativeData(int);
descriptor: (I)V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
screen
private static native double getNativeScaleFactor(int);
descriptor: (I)D
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
screen
private static synchronized boolean isXrandrExtensionSupported();
descriptor: ()Z
flags: (0x002a) ACC_PRIVATE, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=1, locals=0, args_size=0
0: getstatic sun.awt.X11GraphicsDevice.xrandrExtSupported:Ljava/lang/Boolean;
ifnonnull 3
1: invokestatic sun.awt.X11GraphicsDevice.initXrandrExtension:()Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
2: putstatic sun.awt.X11GraphicsDevice.xrandrExtSupported:Ljava/lang/Boolean;
3: StackMap locals:
StackMap stack:
getstatic sun.awt.X11GraphicsDevice.xrandrExtSupported:Ljava/lang/Boolean;
invokevirtual java.lang.Boolean.booleanValue:()Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
public boolean isFullScreenSupported();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: invokestatic sun.awt.X11GraphicsDevice.isXrandrExtensionSupported:()Z
istore 1
start local 1 1: iload 1
ifeq 11
2: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 2
start local 2 3: aload 2
ifnull 11
4: getstatic sun.awt.X11GraphicsDevice.fullScreenExclusivePermission:Ljava/awt/AWTPermission;
ifnonnull 7
5: new java.awt.AWTPermission
dup
ldc "fullScreenExclusive"
invokespecial java.awt.AWTPermission.<init>:(Ljava/lang/String;)V
6: putstatic sun.awt.X11GraphicsDevice.fullScreenExclusivePermission:Ljava/awt/AWTPermission;
7: StackMap locals: int java.lang.SecurityManager
StackMap stack:
aload 2
getstatic sun.awt.X11GraphicsDevice.fullScreenExclusivePermission:Ljava/awt/AWTPermission;
invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
8: goto 11
StackMap locals:
StackMap stack: java.lang.SecurityException
9: pop
10: iconst_0
ireturn
end local 2 11: StackMap locals:
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lsun/awt/X11GraphicsDevice;
1 12 1 fsAvailable Z
3 11 2 security Ljava/lang/SecurityManager;
Exception table:
from to target type
7 8 9 Class java.lang.SecurityException
public boolean isDisplayChangeSupported();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.awt.X11GraphicsDevice.isFullScreenSupported:()Z
ifeq 6
1: aload 0
invokevirtual sun.awt.X11GraphicsDevice.getFullScreenWindow:()Ljava/awt/Window;
ifnull 6
2: invokestatic java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment:()Ljava/awt/GraphicsEnvironment;
3: checkcast sun.awt.X11GraphicsEnvironment
4: invokevirtual sun.awt.X11GraphicsEnvironment.runningXinerama:()Z
ifne 6
5: iconst_1
ireturn
StackMap locals:
StackMap stack:
6: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/awt/X11GraphicsDevice;
private static void enterFullScreenExclusive(java.awt.Window);
descriptor: (Ljava/awt/Window;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: invokestatic sun.awt.AWTAccessor.getComponentAccessor:()Lsun/awt/AWTAccessor$ComponentAccessor;
aload 0
invokeinterface sun.awt.AWTAccessor$ComponentAccessor.getPeer:(Ljava/awt/Component;)Ljava/awt/peer/ComponentPeer;
checkcast sun.awt.X11ComponentPeer
astore 1
start local 1 1: aload 1
ifnull 4
2: aload 1
invokeinterface sun.awt.X11ComponentPeer.getWindow:()J
invokestatic sun.awt.X11GraphicsDevice.enterFullScreenExclusive:(J)V
3: aload 1
iconst_1
invokeinterface sun.awt.X11ComponentPeer.setFullScreenExclusiveModeState:(Z)V
4: StackMap locals: sun.awt.X11ComponentPeer
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 w Ljava/awt/Window;
1 5 1 peer Lsun/awt/X11ComponentPeer;
MethodParameters:
Name Flags
w
private static void exitFullScreenExclusive(java.awt.Window);
descriptor: (Ljava/awt/Window;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: invokestatic sun.awt.AWTAccessor.getComponentAccessor:()Lsun/awt/AWTAccessor$ComponentAccessor;
aload 0
invokeinterface sun.awt.AWTAccessor$ComponentAccessor.getPeer:(Ljava/awt/Component;)Ljava/awt/peer/ComponentPeer;
checkcast sun.awt.X11ComponentPeer
astore 1
start local 1 1: aload 1
ifnull 4
2: aload 1
iconst_0
invokeinterface sun.awt.X11ComponentPeer.setFullScreenExclusiveModeState:(Z)V
3: aload 1
invokeinterface sun.awt.X11ComponentPeer.getWindow:()J
invokestatic sun.awt.X11GraphicsDevice.exitFullScreenExclusive:(J)V
4: StackMap locals: sun.awt.X11ComponentPeer
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 w Ljava/awt/Window;
1 5 1 peer Lsun/awt/X11ComponentPeer;
MethodParameters:
Name Flags
w
public synchronized void setFullScreenWindow(java.awt.Window);
descriptor: (Ljava/awt/Window;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.awt.X11GraphicsDevice.getFullScreenWindow:()Ljava/awt/Window;
astore 2
start local 2 1: aload 1
aload 2
if_acmpne 3
2: return
3: StackMap locals: java.awt.Window
StackMap stack:
aload 0
invokevirtual sun.awt.X11GraphicsDevice.isFullScreenSupported:()Z
istore 3
start local 3 4: iload 3
ifeq 8
aload 2
ifnull 8
5: aload 2
invokestatic sun.awt.X11GraphicsDevice.exitFullScreenExclusive:(Ljava/awt/Window;)V
6: aload 0
invokevirtual sun.awt.X11GraphicsDevice.isDisplayChangeSupported:()Z
ifeq 8
7: aload 0
aload 0
getfield sun.awt.X11GraphicsDevice.origDisplayMode:Ljava/awt/DisplayMode;
invokevirtual sun.awt.X11GraphicsDevice.setDisplayMode:(Ljava/awt/DisplayMode;)V
8: StackMap locals: int
StackMap stack:
aload 0
aload 1
invokespecial java.awt.GraphicsDevice.setFullScreenWindow:(Ljava/awt/Window;)V
9: iload 3
ifeq 13
aload 1
ifnull 13
10: aload 0
getfield sun.awt.X11GraphicsDevice.origDisplayMode:Ljava/awt/DisplayMode;
ifnonnull 12
11: aload 0
aload 0
invokevirtual sun.awt.X11GraphicsDevice.getDisplayMode:()Ljava/awt/DisplayMode;
putfield sun.awt.X11GraphicsDevice.origDisplayMode:Ljava/awt/DisplayMode;
12: StackMap locals:
StackMap stack:
aload 1
invokestatic sun.awt.X11GraphicsDevice.enterFullScreenExclusive:(Ljava/awt/Window;)V
13: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lsun/awt/X11GraphicsDevice;
0 14 1 w Ljava/awt/Window;
1 14 2 old Ljava/awt/Window;
4 14 3 fsSupported Z
MethodParameters:
Name Flags
w
private java.awt.DisplayMode getDefaultDisplayMode();
descriptor: ()Ljava/awt/DisplayMode;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual sun.awt.X11GraphicsDevice.getDefaultConfiguration:()Ljava/awt/GraphicsConfiguration;
astore 1
start local 1 1: aload 1
invokevirtual java.awt.GraphicsConfiguration.getBounds:()Ljava/awt/Rectangle;
astore 2
start local 2 2: new java.awt.DisplayMode
dup
aload 2
getfield java.awt.Rectangle.width:I
aload 2
getfield java.awt.Rectangle.height:I
3: iconst_m1
4: iconst_0
5: invokespecial java.awt.DisplayMode.<init>:(IIII)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/awt/X11GraphicsDevice;
1 6 1 gc Ljava/awt/GraphicsConfiguration;
2 6 2 r Ljava/awt/Rectangle;
public synchronized java.awt.DisplayMode getDisplayMode();
descriptor: ()Ljava/awt/DisplayMode;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual sun.awt.X11GraphicsDevice.isFullScreenSupported:()Z
ifeq 5
1: aload 0
getfield sun.awt.X11GraphicsDevice.screen:I
invokestatic sun.awt.X11GraphicsDevice.getCurrentDisplayMode:(I)Ljava/awt/DisplayMode;
astore 1
start local 1 2: aload 1
ifnonnull 4
3: aload 0
invokevirtual sun.awt.X11GraphicsDevice.getDefaultDisplayMode:()Ljava/awt/DisplayMode;
astore 1
4: StackMap locals: java.awt.DisplayMode
StackMap stack:
aload 1
areturn
end local 1 5: StackMap locals:
StackMap stack:
aload 0
getfield sun.awt.X11GraphicsDevice.origDisplayMode:Ljava/awt/DisplayMode;
ifnonnull 7
6: aload 0
aload 0
invokevirtual sun.awt.X11GraphicsDevice.getDefaultDisplayMode:()Ljava/awt/DisplayMode;
putfield sun.awt.X11GraphicsDevice.origDisplayMode:Ljava/awt/DisplayMode;
7: StackMap locals:
StackMap stack:
aload 0
getfield sun.awt.X11GraphicsDevice.origDisplayMode:Ljava/awt/DisplayMode;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/awt/X11GraphicsDevice;
2 5 1 mode Ljava/awt/DisplayMode;
public synchronized java.awt.DisplayMode[] getDisplayModes();
descriptor: ()[Ljava/awt/DisplayMode;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual sun.awt.X11GraphicsDevice.isFullScreenSupported:()Z
ifne 2
1: aload 0
invokespecial java.awt.GraphicsDevice.getDisplayModes:()[Ljava/awt/DisplayMode;
areturn
2: StackMap locals:
StackMap stack:
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 3: aload 0
getfield sun.awt.X11GraphicsDevice.screen:I
aload 1
invokestatic sun.awt.X11GraphicsDevice.enumDisplayModes:(ILjava/util/ArrayList;)V
4: aload 1
invokevirtual java.util.ArrayList.size:()I
anewarray java.awt.DisplayMode
astore 2
start local 2 5: aload 1
aload 2
invokevirtual java.util.ArrayList.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.awt.DisplayMode[]
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/awt/X11GraphicsDevice;
3 6 1 modes Ljava/util/ArrayList<Ljava/awt/DisplayMode;>;
5 6 2 retArray [Ljava/awt/DisplayMode;
public synchronized void setDisplayMode(java.awt.DisplayMode);
descriptor: (Ljava/awt/DisplayMode;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.awt.X11GraphicsDevice.isDisplayChangeSupported:()Z
ifne 3
1: aload 0
aload 1
invokespecial java.awt.GraphicsDevice.setDisplayMode:(Ljava/awt/DisplayMode;)V
2: return
3: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.awt.X11GraphicsDevice.getFullScreenWindow:()Ljava/awt/Window;
astore 2
start local 2 4: aload 2
ifnonnull 6
5: new java.lang.IllegalStateException
dup
ldc "Must be in fullscreen mode in order to set display mode"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals: java.awt.Window
StackMap stack:
aload 0
invokevirtual sun.awt.X11GraphicsDevice.getDisplayMode:()Ljava/awt/DisplayMode;
aload 1
invokevirtual java.awt.DisplayMode.equals:(Ljava/awt/DisplayMode;)Z
ifeq 8
7: return
8: StackMap locals:
StackMap stack:
aload 1
ifnull 10
9: aload 0
aload 1
invokevirtual sun.awt.X11GraphicsDevice.getMatchingDisplayMode:(Ljava/awt/DisplayMode;)Ljava/awt/DisplayMode;
dup
astore 1
ifnonnull 11
10: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "Invalid display mode"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
11: StackMap locals:
StackMap stack:
aload 0
getfield sun.awt.X11GraphicsDevice.shutdownHookRegistered:Z
ifne 15
12: aload 0
iconst_1
putfield sun.awt.X11GraphicsDevice.shutdownHookRegistered:Z
13: aload 0
invokedynamic run(Lsun/awt/X11GraphicsDevice;)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;
sun/awt/X11GraphicsDevice.lambda$0()Ljava/lang/Void; (7)
()Ljava/lang/Void;
astore 3
start local 3 14: aload 3
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
pop
end local 3 15: StackMap locals:
StackMap stack:
aload 0
getfield sun.awt.X11GraphicsDevice.screen:I
16: aload 1
invokevirtual java.awt.DisplayMode.getWidth:()I
aload 1
invokevirtual java.awt.DisplayMode.getHeight:()I
17: aload 1
invokevirtual java.awt.DisplayMode.getRefreshRate:()I
18: invokestatic sun.awt.X11GraphicsDevice.configDisplayMode:(IIII)V
19: aload 2
iconst_0
iconst_0
aload 1
invokevirtual java.awt.DisplayMode.getWidth:()I
aload 1
invokevirtual java.awt.DisplayMode.getHeight:()I
invokevirtual java.awt.Window.setBounds:(IIII)V
20: invokestatic java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment:()Ljava/awt/GraphicsEnvironment;
21: checkcast sun.awt.X11GraphicsEnvironment
22: invokevirtual sun.awt.X11GraphicsEnvironment.displayChanged:()V
23: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lsun/awt/X11GraphicsDevice;
0 24 1 dm Ljava/awt/DisplayMode;
4 24 2 w Ljava/awt/Window;
14 15 3 a Ljava/security/PrivilegedAction<Ljava/lang/Void;>;
MethodParameters:
Name Flags
dm
private synchronized java.awt.DisplayMode getMatchingDisplayMode(java.awt.DisplayMode);
descriptor: (Ljava/awt/DisplayMode;)Ljava/awt/DisplayMode;
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=2, locals=7, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.awt.X11GraphicsDevice.isDisplayChangeSupported:()Z
ifne 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.awt.X11GraphicsDevice.getDisplayModes:()[Ljava/awt/DisplayMode;
astore 2
start local 2 3: aload 2
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 12
StackMap locals: sun.awt.X11GraphicsDevice java.awt.DisplayMode java.awt.DisplayMode[] top int int java.awt.DisplayMode[]
StackMap stack:
4: aload 6
iload 4
aaload
astore 3
start local 3 5: aload 1
aload 3
invokevirtual java.awt.DisplayMode.equals:(Ljava/awt/DisplayMode;)Z
ifne 10
6: aload 1
invokevirtual java.awt.DisplayMode.getRefreshRate:()I
ifne 11
7: aload 1
invokevirtual java.awt.DisplayMode.getWidth:()I
aload 3
invokevirtual java.awt.DisplayMode.getWidth:()I
if_icmpne 11
8: aload 1
invokevirtual java.awt.DisplayMode.getHeight:()I
aload 3
invokevirtual java.awt.DisplayMode.getHeight:()I
if_icmpne 11
9: aload 1
invokevirtual java.awt.DisplayMode.getBitDepth:()I
aload 3
invokevirtual java.awt.DisplayMode.getBitDepth:()I
if_icmpne 11
10: StackMap locals: sun.awt.X11GraphicsDevice java.awt.DisplayMode java.awt.DisplayMode[] java.awt.DisplayMode int int java.awt.DisplayMode[]
StackMap stack:
aload 3
areturn
end local 3 11: StackMap locals: sun.awt.X11GraphicsDevice java.awt.DisplayMode java.awt.DisplayMode[] top int int java.awt.DisplayMode[]
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
12: iload 4
iload 5
if_icmplt 4
13: aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lsun/awt/X11GraphicsDevice;
0 14 1 dm Ljava/awt/DisplayMode;
3 14 2 modes [Ljava/awt/DisplayMode;
5 11 3 mode Ljava/awt/DisplayMode;
MethodParameters:
Name Flags
dm
public synchronized void displayChanged();
descriptor: ()V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
invokevirtual sun.awt.X11GraphicsDevice.initScaleFactor:()I
putfield sun.awt.X11GraphicsDevice.scale:I
1: aload 0
getfield sun.awt.X11GraphicsDevice.topLevels:Lsun/awt/SunDisplayChanger;
invokevirtual sun.awt.SunDisplayChanger.notifyListeners:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/X11GraphicsDevice;
public void paletteChanged();
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 Lsun/awt/X11GraphicsDevice;
public void addDisplayChangedListener(sun.awt.DisplayChangedListener);
descriptor: (Lsun/awt/DisplayChangedListener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.awt.X11GraphicsDevice.topLevels:Lsun/awt/SunDisplayChanger;
aload 1
invokevirtual sun.awt.SunDisplayChanger.add:(Lsun/awt/DisplayChangedListener;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/X11GraphicsDevice;
0 2 1 client Lsun/awt/DisplayChangedListener;
MethodParameters:
Name Flags
client
public int getScaleFactor();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.awt.X11GraphicsDevice.scale:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/X11GraphicsDevice;
public int getNativeScale();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: invokestatic sun.awt.X11GraphicsDevice.isXrandrExtensionSupported:()Z
pop
1: aload 0
getfield sun.awt.X11GraphicsDevice.screen:I
invokestatic sun.awt.X11GraphicsDevice.getNativeScaleFactor:(I)D
invokestatic java.lang.Math.round:(D)J
l2i
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/X11GraphicsDevice;
private int initScaleFactor();
descriptor: ()I
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=1
start local 0 0: invokestatic sun.java2d.SunGraphicsEnvironment.isUIScaleEnabled:()Z
ifeq 8
1: invokestatic sun.java2d.SunGraphicsEnvironment.getDebugScale:()D
dstore 1
start local 1 2: dload 1
dconst_1
dcmpl
iflt 4
3: dload 1
d2i
ireturn
4: StackMap locals: double
StackMap stack:
aload 0
invokevirtual sun.awt.X11GraphicsDevice.getNativeScale:()I
istore 3
start local 3 5: iload 3
iconst_1
if_icmplt 6
iload 3
goto 7
StackMap locals: int
StackMap stack:
6: iconst_1
StackMap locals:
StackMap stack: int
7: ireturn
end local 3 end local 1 8: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/awt/X11GraphicsDevice;
2 8 1 debugScale D
5 8 3 nativeScale I
public void removeDisplayChangedListener(sun.awt.DisplayChangedListener);
descriptor: (Lsun/awt/DisplayChangedListener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.awt.X11GraphicsDevice.topLevels:Lsun/awt/SunDisplayChanger;
aload 1
invokevirtual sun.awt.SunDisplayChanger.remove:(Lsun/awt/DisplayChangedListener;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/X11GraphicsDevice;
0 2 1 client Lsun/awt/DisplayChangedListener;
MethodParameters:
Name Flags
client
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "X11GraphicsDevice[screen="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.awt.X11GraphicsDevice.screen:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/X11GraphicsDevice;
private java.lang.Void lambda$0();
descriptor: ()Ljava/lang/Void;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=8, locals=4, args_size=1
start local 0 0: aload 0
invokedynamic run(Lsun/awt/X11GraphicsDevice;)Ljava/lang/Runnable;
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:
()V
sun/awt/X11GraphicsDevice.lambda$1()V (7)
()V
astore 1
start local 1 1: new java.lang.StringBuilder
dup
ldc "Display-Change-Shutdown-Thread-"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.awt.X11GraphicsDevice.screen:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
start local 2 2: new java.lang.Thread
dup
3: invokestatic sun.awt.util.ThreadGroupUtils.getRootThreadGroup:()Ljava/lang/ThreadGroup;
aload 1
aload 2
lconst_0
iconst_0
4: invokespecial java.lang.Thread.<init>:(Ljava/lang/ThreadGroup;Ljava/lang/Runnable;Ljava/lang/String;JZ)V
astore 3
start local 3 5: aload 3
aconst_null
invokevirtual java.lang.Thread.setContextClassLoader:(Ljava/lang/ClassLoader;)V
6: invokestatic java.lang.Runtime.getRuntime:()Ljava/lang/Runtime;
aload 3
invokevirtual java.lang.Runtime.addShutdownHook:(Ljava/lang/Thread;)V
7: aconst_null
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/awt/X11GraphicsDevice;
1 8 1 r Ljava/lang/Runnable;
2 8 2 name Ljava/lang/String;
5 8 3 t Ljava/lang/Thread;
private void lambda$1();
descriptor: ()V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual sun.awt.X11GraphicsDevice.getFullScreenWindow:()Ljava/awt/Window;
astore 1
start local 1 1: aload 1
ifnull 5
2: aload 1
invokestatic sun.awt.X11GraphicsDevice.exitFullScreenExclusive:(Ljava/awt/Window;)V
3: aload 0
invokevirtual sun.awt.X11GraphicsDevice.isDisplayChangeSupported:()Z
ifeq 5
4: aload 0
aload 0
getfield sun.awt.X11GraphicsDevice.origDisplayMode:Ljava/awt/DisplayMode;
invokevirtual sun.awt.X11GraphicsDevice.setDisplayMode:(Ljava/awt/DisplayMode;)V
end local 1 5: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/awt/X11GraphicsDevice;
1 5 1 old Ljava/awt/Window;
}
SourceFile: "X11GraphicsDevice.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract ComponentAccessor = sun.awt.AWTAccessor$ComponentAccessor of sun.awt.AWTAccessor