public class sun.awt.X11GraphicsDevice extends java.awt.GraphicsDevice implements sun.awt.DisplayChangedListener
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.awt.X11GraphicsDevice
super_class: java.awt.GraphicsDevice
{
int screen;
descriptor: I
flags: (0x0000)
java.util.HashMap x11ProxyKeyMap;
descriptor: Ljava/util/HashMap;
flags: (0x0000)
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
java.awt.GraphicsConfiguration[] configs;
descriptor: [Ljava/awt/GraphicsConfiguration;
flags: (0x0000)
java.awt.GraphicsConfiguration defaultConfig;
descriptor: Ljava/awt/GraphicsConfiguration;
flags: (0x0000)
java.util.HashSet doubleBufferVisuals;
descriptor: Ljava/util/HashSet;
flags: (0x0000)
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: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/awt/X11GraphicsDevice;
0 6 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=9, args_size=1
start local 0 0: aload 0
getfield sun.awt.X11GraphicsDevice.configs:[Ljava/awt/GraphicsConfiguration;
ifnonnull 31
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.X11GraphicsDevice.isDBESupported:()Z
istore 5
start local 5 10: iload 5
ifeq 29
aload 0
getfield sun.awt.X11GraphicsDevice.doubleBufferVisuals:Ljava/util/HashSet;
ifnonnull 29
11: aload 0
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putfield sun.awt.X11GraphicsDevice.doubleBufferVisuals:Ljava/util/HashSet;
12: aload 0
aload 0
getfield sun.awt.X11GraphicsDevice.screen:I
invokevirtual sun.awt.X11GraphicsDevice.getDoubleBufferVisuals:(I)V
13: goto 29
14: StackMap locals: int int
StackMap stack:
aload 0
iload 1
aload 0
getfield sun.awt.X11GraphicsDevice.screen:I
invokevirtual sun.awt.X11GraphicsDevice.getConfigVisualId:(II)I
istore 6
start local 6 15: aload 0
iload 1
aload 0
getfield sun.awt.X11GraphicsDevice.screen:I
invokevirtual sun.awt.X11GraphicsDevice.getConfigDepth:(II)I
istore 7
start local 7 16: iload 4
ifeq 18
17: aload 3
iload 1
aload 0
iload 6
invokestatic sun.java2d.opengl.GLXGraphicsConfig.getConfig:(Lsun/awt/X11GraphicsDevice;I)Lsun/java2d/opengl/GLXGraphicsConfig;
aastore
18: StackMap locals: int int
StackMap stack:
aload 3
iload 1
aaload
ifnonnull 28
19: iload 5
ifeq 22
20: aload 0
getfield sun.awt.X11GraphicsDevice.doubleBufferVisuals:Ljava/util/HashSet;
new java.lang.Integer
dup
iload 6
invokespecial java.lang.Integer.<init>:(I)V
invokevirtual java.util.HashSet.contains:(Ljava/lang/Object;)Z
ifeq 22
21: iconst_1
goto 23
StackMap locals:
StackMap stack:
22: iconst_0
StackMap locals:
StackMap stack: int
23: istore 8
start local 8 24: aload 3
iload 1
aload 0
iload 6
iload 7
25: aload 0
iload 1
aload 0
getfield sun.awt.X11GraphicsDevice.screen:I
invokevirtual sun.awt.X11GraphicsDevice.getConfigColormap:(II)I
26: iload 8
27: invokestatic sun.awt.X11GraphicsConfig.getConfig:(Lsun/awt/X11GraphicsDevice;IIIZ)Lsun/awt/X11GraphicsConfig;
aastore
end local 8 end local 7 end local 6 28: StackMap locals:
StackMap stack:
iinc 1 1
StackMap locals:
StackMap stack:
29: iload 1
iload 2
if_icmplt 14
30: aload 0
aload 3
putfield sun.awt.X11GraphicsDevice.configs:[Ljava/awt/GraphicsConfiguration;
end local 5 end local 4 end local 3 end local 2 end local 1 31: StackMap locals: sun.awt.X11GraphicsDevice
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 32 0 this Lsun/awt/X11GraphicsDevice;
2 31 1 i I
3 31 2 num I
4 31 3 ret [Ljava/awt/GraphicsConfiguration;
9 31 4 glxSupported Z
10 31 5 dbeSupported Z
15 28 6 visNum I
16 28 7 depth I
24 28 8 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
public native int getConfigDepth(int, int);
descriptor: (II)I
flags: (0x0101) ACC_PUBLIC, ACC_NATIVE
MethodParameters:
Name Flags
index
screen
public native int getConfigColormap(int, int);
descriptor: (II)I
flags: (0x0101) ACC_PUBLIC, ACC_NATIVE
MethodParameters:
Name Flags
index
screen
public static native boolean isDBESupported();
descriptor: ()Z
flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
private void addDoubleBufferVisual(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.awt.X11GraphicsDevice.doubleBufferVisuals:Ljava/util/HashSet;
new java.lang.Integer
dup
iload 1
invokespecial java.lang.Integer.<init>:(I)V
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 24
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 24
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;
new java.lang.Integer
dup
iload 1
invokespecial java.lang.Integer.<init>:(I)V
invokevirtual java.util.HashSet.contains:(Ljava/lang/Object;)Z
19: istore 3
20: StackMap locals: int int
StackMap stack:
aload 0
aload 0
iload 1
21: iload 2
aload 0
iconst_0
aload 0
getfield sun.awt.X11GraphicsDevice.screen:I
invokevirtual sun.awt.X11GraphicsDevice.getConfigColormap:(II)I
22: iload 3
23: 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 24: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lsun/awt/X11GraphicsDevice;
2 24 1 visNum I
14 24 2 depth I
15 24 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 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: aload 0
getfield sun.awt.X11GraphicsDevice.screen:I
ifne 1
invokestatic sun.awt.X11GraphicsDevice.isXrandrExtensionSupported:()Z
ifeq 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: istore 1
start local 1 3: iload 1
ifeq 13
4: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 2
start local 2 5: aload 2
ifnull 13
6: getstatic sun.awt.X11GraphicsDevice.fullScreenExclusivePermission:Ljava/awt/AWTPermission;
ifnonnull 9
7: new java.awt.AWTPermission
dup
ldc "fullScreenExclusive"
invokespecial java.awt.AWTPermission.<init>:(Ljava/lang/String;)V
8: putstatic sun.awt.X11GraphicsDevice.fullScreenExclusivePermission:Ljava/awt/AWTPermission;
9: 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
10: goto 13
StackMap locals:
StackMap stack: java.lang.SecurityException
11: pop
12: iconst_0
ireturn
end local 2 13: StackMap locals:
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lsun/awt/X11GraphicsDevice;
3 14 1 fsAvailable Z
5 13 2 security Ljava/lang/SecurityManager;
Exception table:
from to target type
9 10 11 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 1
aload 0
invokevirtual sun.awt.X11GraphicsDevice.getFullScreenWindow:()Ljava/awt/Window;
ifnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 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: aload 0
invokevirtual java.awt.Window.getPeer:()Ljava/awt/peer/ComponentPeer;
checkcast sun.awt.X11ComponentPeer
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 1
invokeinterface sun.awt.X11ComponentPeer.getContentWindow:()J
invokestatic sun.awt.X11GraphicsDevice.enterFullScreenExclusive:(J)V
3: StackMap locals: sun.awt.X11ComponentPeer
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 w Ljava/awt/Window;
1 4 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: aload 0
invokevirtual java.awt.Window.getPeer:()Ljava/awt/peer/ComponentPeer;
checkcast sun.awt.X11ComponentPeer
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 1
invokeinterface sun.awt.X11ComponentPeer.getContentWindow:()J
invokestatic sun.awt.X11GraphicsDevice.exitFullScreenExclusive:(J)V
3: StackMap locals: sun.awt.X11ComponentPeer
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 w Ljava/awt/Window;
1 4 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 7
aload 2
ifnull 7
5: aload 2
invokestatic sun.awt.X11GraphicsDevice.exitFullScreenExclusive:(Ljava/awt/Window;)V
6: aload 0
aload 0
getfield sun.awt.X11GraphicsDevice.origDisplayMode:Ljava/awt/DisplayMode;
invokevirtual sun.awt.X11GraphicsDevice.setDisplayMode:(Ljava/awt/DisplayMode;)V
7: StackMap locals: int
StackMap stack:
aload 0
aload 1
invokespecial java.awt.GraphicsDevice.setFullScreenWindow:(Ljava/awt/Window;)V
8: iload 3
ifeq 12
aload 1
ifnull 12
9: aload 0
getfield sun.awt.X11GraphicsDevice.origDisplayMode:Ljava/awt/DisplayMode;
ifnonnull 11
10: aload 0
aload 0
invokevirtual sun.awt.X11GraphicsDevice.getDisplayMode:()Ljava/awt/DisplayMode;
putfield sun.awt.X11GraphicsDevice.origDisplayMode:Ljava/awt/DisplayMode;
11: StackMap locals:
StackMap stack:
aload 1
invokestatic sun.awt.X11GraphicsDevice.enterFullScreenExclusive:(Ljava/awt/Window;)V
12: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lsun/awt/X11GraphicsDevice;
0 13 1 w Ljava/awt/Window;
1 13 2 old Ljava/awt/Window;
4 13 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=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.awt.X11GraphicsDevice.isFullScreenSupported:()Z
ifeq 2
1: aload 0
getfield sun.awt.X11GraphicsDevice.screen:I
invokestatic sun.awt.X11GraphicsDevice.getCurrentDisplayMode:(I)Ljava/awt/DisplayMode;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.awt.X11GraphicsDevice.origDisplayMode:Ljava/awt/DisplayMode;
ifnonnull 4
3: aload 0
aload 0
invokevirtual sun.awt.X11GraphicsDevice.getDefaultDisplayMode:()Ljava/awt/DisplayMode;
putfield sun.awt.X11GraphicsDevice.origDisplayMode:Ljava/awt/DisplayMode;
4: 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 5 0 this Lsun/awt/X11GraphicsDevice;
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: new sun.awt.X11GraphicsDevice$1
dup
aload 0
invokespecial sun.awt.X11GraphicsDevice$1.<init>:(Lsun/awt/X11GraphicsDevice;)V
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
aconst_null
putfield sun.awt.X11GraphicsDevice.defaultConfig:Ljava/awt/GraphicsConfiguration;
1: aload 0
aconst_null
putfield sun.awt.X11GraphicsDevice.configs:[Ljava/awt/GraphicsConfiguration;
2: aload 0
aconst_null
putfield sun.awt.X11GraphicsDevice.doubleBufferVisuals:Ljava/util/HashSet;
3: aload 0
getfield sun.awt.X11GraphicsDevice.screen:I
invokestatic sun.awt.X11GraphicsDevice.resetNativeData:(I)V
4: aload 0
getfield sun.awt.X11GraphicsDevice.topLevels:Lsun/awt/SunDisplayChanger;
invokevirtual sun.awt.SunDisplayChanger.notifyListeners:()V
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 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 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;
}
SourceFile: "X11GraphicsDevice.java"
NestMembers:
sun.awt.X11GraphicsDevice$1 sun.awt.X11GraphicsDevice$1$1
InnerClasses:
sun.awt.X11GraphicsDevice$1