public final class sun.awt.X11GraphicsEnvironment extends sun.java2d.SunGraphicsEnvironment
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: sun.awt.X11GraphicsEnvironment
super_class: sun.java2d.SunGraphicsEnvironment
{
private static boolean glxAvailable;
descriptor: Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static boolean glxVerbose;
descriptor: Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static boolean xRenderVerbose;
descriptor: Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static boolean xRenderAvailable;
descriptor: Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private java.lang.Boolean isDisplayLocal;
descriptor: Ljava/lang/Boolean;
flags: (0x0002) ACC_PRIVATE
private final java.util.Map<java.lang.Integer, sun.awt.X11GraphicsDevice> devices;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/Integer;Lsun/awt/X11GraphicsDevice;>;
private int mainScreen;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private java.util.List<java.lang.ref.WeakReference<sun.awt.X11GraphicsDevice>> oldDevices;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Ljava/lang/ref/WeakReference<Lsun/awt/X11GraphicsDevice;>;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new sun.awt.X11GraphicsEnvironment$1
dup
invokespecial sun.awt.X11GraphicsEnvironment$1.<init>:()V
1: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
pop
2: new sun.java2d.UnixSurfaceManagerFactory
dup
invokespecial sun.java2d.UnixSurfaceManagerFactory.<init>:()V
invokestatic sun.java2d.SurfaceManagerFactory.setInstance:(Lsun/java2d/SurfaceManagerFactory;)V
3: return
LocalVariableTable:
Start End Slot Name Signature
private static native boolean initGLX();
descriptor: ()Z
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
public static boolean isGLXAvailable();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic sun.awt.X11GraphicsEnvironment.glxAvailable:Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
public static boolean isGLXVerbose();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic sun.awt.X11GraphicsEnvironment.glxVerbose:Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
private static native boolean initXRender(boolean, boolean);
descriptor: (ZZ)Z
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
verbose
ignoreLinuxVersion
public static boolean isXRenderAvailable();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic sun.awt.X11GraphicsEnvironment.xRenderAvailable:Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
public static boolean isXRenderVerbose();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic sun.awt.X11GraphicsEnvironment.xRenderVerbose:Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
private static native int checkShmExt();
descriptor: ()I
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
private static native java.lang.String getDisplayString();
descriptor: ()Ljava/lang/String;
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
private static native void initDisplay(boolean);
descriptor: (Z)V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
glxRequested
protected native int getNumScreens();
descriptor: ()I
flags: (0x0104) ACC_PROTECTED, ACC_NATIVE
private native int getDefaultScreenNum();
descriptor: ()I
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokespecial sun.java2d.SunGraphicsEnvironment.<init>:()V
1: aload 0
new java.util.HashMap
dup
iconst_5
invokespecial java.util.HashMap.<init>:(I)V
putfield sun.awt.X11GraphicsEnvironment.devices:Ljava/util/Map;
2: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield sun.awt.X11GraphicsEnvironment.oldDevices:Ljava/util/List;
3: invokestatic sun.awt.X11GraphicsEnvironment.isHeadless:()Z
ifeq 5
4: return
5: StackMap locals: sun.awt.X11GraphicsEnvironment
StackMap stack:
aload 0
invokevirtual sun.awt.X11GraphicsEnvironment.rebuildDevices:()V
6: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/awt/X11GraphicsEnvironment;
private static native void initNativeData();
descriptor: ()V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
public void rebuildDevices();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: invokestatic sun.awt.X11.XToolkit.awtLock:()V
1: invokestatic sun.awt.X11GraphicsEnvironment.initNativeData:()V
2: aload 0
invokevirtual sun.awt.X11GraphicsEnvironment.initDevices:()V
3: goto 7
StackMap locals:
StackMap stack: java.lang.Throwable
4: astore 1
5: invokestatic sun.awt.X11.XToolkit.awtUnlock:()V
6: aload 1
athrow
7: StackMap locals:
StackMap stack:
invokestatic sun.awt.X11.XToolkit.awtUnlock:()V
8: aload 0
invokevirtual sun.awt.X11GraphicsEnvironment.displayChanged:()V
9: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/awt/X11GraphicsEnvironment;
Exception table:
from to target type
1 4 4 any
private synchronized void initDevices();
descriptor: ()V
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=5, locals=6, args_size=1
start local 0 0: new java.util.HashMap
dup
aload 0
getfield sun.awt.X11GraphicsEnvironment.devices:Ljava/util/Map;
invokespecial java.util.HashMap.<init>:(Ljava/util/Map;)V
astore 1
start local 1 1: aload 0
getfield sun.awt.X11GraphicsEnvironment.devices:Ljava/util/Map;
invokeinterface java.util.Map.clear:()V
2: aload 0
invokevirtual sun.awt.X11GraphicsEnvironment.getNumScreens:()I
istore 2
start local 2 3: iload 2
ifne 5
4: new java.awt.AWTError
dup
ldc "no screen devices"
invokespecial java.awt.AWTError.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: java.util.Map int
StackMap stack:
aload 0
invokevirtual sun.awt.X11GraphicsEnvironment.getDefaultScreenNum:()I
istore 3
start local 3 6: aload 0
iload 3
ifle 7
iload 3
aload 0
getfield sun.awt.X11GraphicsEnvironment.screens:[Ljava/awt/GraphicsDevice;
arraylength
if_icmpge 7
iload 3
goto 8
StackMap locals: sun.awt.X11GraphicsEnvironment java.util.Map int int
StackMap stack: sun.awt.X11GraphicsEnvironment
7: iconst_0
StackMap locals: sun.awt.X11GraphicsEnvironment java.util.Map int int
StackMap stack: sun.awt.X11GraphicsEnvironment int
8: putfield sun.awt.X11GraphicsEnvironment.mainScreen:I
9: iconst_0
istore 4
start local 4 10: goto 15
11: StackMap locals: int
StackMap stack:
aload 0
getfield sun.awt.X11GraphicsEnvironment.devices:Ljava/util/Map;
iload 4
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aload 1
iload 4
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifeq 12
aload 1
iload 4
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.awt.X11GraphicsDevice
goto 13
12: StackMap locals: sun.awt.X11GraphicsEnvironment java.util.Map int int int
StackMap stack: java.util.Map java.lang.Integer
new sun.awt.X11GraphicsDevice
dup
iload 4
invokespecial sun.awt.X11GraphicsDevice.<init>:(I)V
13: StackMap locals: sun.awt.X11GraphicsEnvironment java.util.Map int int int
StackMap stack: java.util.Map java.lang.Integer sun.awt.X11GraphicsDevice
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
14: iinc 4 1
StackMap locals:
StackMap stack:
15: iload 4
iload 2
if_icmplt 11
end local 4 16: aload 1
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 5
goto 19
StackMap locals: sun.awt.X11GraphicsEnvironment java.util.Map int int top java.util.Iterator
StackMap stack:
17: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.awt.X11GraphicsDevice
astore 4
start local 4 18: aload 0
getfield sun.awt.X11GraphicsEnvironment.oldDevices:Ljava/util/List;
new java.lang.ref.WeakReference
dup
aload 4
invokespecial java.lang.ref.WeakReference.<init>:(Ljava/lang/Object;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 4 19: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 17
20: aload 0
getfield sun.awt.X11GraphicsEnvironment.oldDevices:Ljava/util/List;
invokeinterface java.util.List.listIterator:()Ljava/util/ListIterator;
21: astore 4
start local 4 22: goto 29
23: StackMap locals: sun.awt.X11GraphicsEnvironment java.util.Map int int java.util.ListIterator
StackMap stack:
aload 4
invokeinterface java.util.ListIterator.next:()Ljava/lang/Object;
checkcast java.lang.ref.WeakReference
invokevirtual java.lang.ref.WeakReference.get:()Ljava/lang/Object;
checkcast sun.awt.X11GraphicsDevice
astore 5
start local 5 24: aload 5
ifnull 28
25: aload 5
aload 0
getfield sun.awt.X11GraphicsEnvironment.devices:Ljava/util/Map;
aload 0
getfield sun.awt.X11GraphicsEnvironment.mainScreen:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.awt.X11GraphicsDevice
invokevirtual sun.awt.X11GraphicsDevice.invalidate:(Lsun/awt/X11GraphicsDevice;)V
26: aload 5
invokevirtual sun.awt.X11GraphicsDevice.displayChanged:()V
27: goto 29
28: StackMap locals: sun.awt.X11GraphicsDevice
StackMap stack:
aload 4
invokeinterface java.util.ListIterator.remove:()V
end local 5 29: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.ListIterator.hasNext:()Z
ifne 23
end local 4 30: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 31 0 this Lsun/awt/X11GraphicsEnvironment;
1 31 1 old Ljava/util/Map<Ljava/lang/Integer;Lsun/awt/X11GraphicsDevice;>;
3 31 2 numScreens I
6 31 3 index I
10 16 4 id I
18 19 4 gd Lsun/awt/X11GraphicsDevice;
22 30 4 it Ljava/util/ListIterator<Ljava/lang/ref/WeakReference<Lsun/awt/X11GraphicsDevice;>;>;
24 29 5 gd Lsun/awt/X11GraphicsDevice;
public synchronized java.awt.GraphicsDevice getDefaultScreenDevice();
descriptor: ()Ljava/awt/GraphicsDevice;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.awt.X11GraphicsEnvironment.devices:Ljava/util/Map;
aload 0
getfield sun.awt.X11GraphicsEnvironment.mainScreen:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.awt.GraphicsDevice
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/X11GraphicsEnvironment;
public synchronized java.awt.GraphicsDevice[] getScreenDevices();
descriptor: ()[Ljava/awt/GraphicsDevice;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.awt.X11GraphicsEnvironment.devices:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
iconst_0
anewarray sun.awt.X11GraphicsDevice
invokeinterface java.util.Collection.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.awt.GraphicsDevice[]
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/X11GraphicsEnvironment;
public synchronized java.awt.GraphicsDevice getScreenDevice(int);
descriptor: (I)Ljava/awt/GraphicsDevice;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.awt.X11GraphicsEnvironment.devices:Ljava/util/Map;
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.awt.GraphicsDevice
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/X11GraphicsEnvironment;
0 1 1 screen I
MethodParameters:
Name Flags
screen
protected java.awt.GraphicsDevice makeScreenDevice(int);
descriptor: (I)Ljava/awt/GraphicsDevice;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new java.lang.UnsupportedOperationException
dup
ldc "This method is unused andshould not be called in this implementation"
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/X11GraphicsEnvironment;
0 1 1 screennum I
MethodParameters:
Name Flags
screennum
public boolean isDisplayLocal();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.awt.X11GraphicsEnvironment.isDisplayLocal:Ljava/lang/Boolean;
ifnonnull 9
1: invokestatic sun.awt.SunToolkit.awtLock:()V
2: aload 0
getfield sun.awt.X11GraphicsEnvironment.isDisplayLocal:Ljava/lang/Boolean;
ifnonnull 8
3: aload 0
invokestatic sun.awt.X11GraphicsEnvironment._isDisplayLocal:()Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
putfield sun.awt.X11GraphicsEnvironment.isDisplayLocal:Ljava/lang/Boolean;
4: goto 8
StackMap locals:
StackMap stack: java.lang.Throwable
5: astore 1
6: invokestatic sun.awt.SunToolkit.awtUnlock:()V
7: aload 1
athrow
8: StackMap locals:
StackMap stack:
invokestatic sun.awt.SunToolkit.awtUnlock:()V
9: StackMap locals:
StackMap stack:
aload 0
getfield sun.awt.X11GraphicsEnvironment.isDisplayLocal:Ljava/lang/Boolean;
invokevirtual java.lang.Boolean.booleanValue:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/awt/X11GraphicsEnvironment;
Exception table:
from to target type
2 5 5 any
private static boolean _isDisplayLocal();
descriptor: ()Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=6, args_size=0
0: invokestatic sun.awt.X11GraphicsEnvironment.isHeadless:()Z
ifeq 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
new sun.security.action.GetPropertyAction
dup
ldc "sun.java2d.remote"
invokespecial sun.security.action.GetPropertyAction.<init>:(Ljava/lang/String;)V
3: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.String
astore 0
start local 0 4: aload 0
ifnull 6
5: aload 0
ldc "false"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ireturn
6: StackMap locals: java.lang.String
StackMap stack:
invokestatic sun.awt.X11GraphicsEnvironment.checkShmExt:()I
istore 1
start local 1 7: iload 1
iconst_m1
if_icmpeq 10
8: iload 1
iconst_1
if_icmpne 9
iconst_1
ireturn
StackMap locals: int
StackMap stack:
9: iconst_0
ireturn
10: StackMap locals:
StackMap stack:
invokestatic sun.awt.X11GraphicsEnvironment.getDisplayString:()Ljava/lang/String;
astore 2
start local 2 11: aload 2
bipush 58
invokevirtual java.lang.String.indexOf:(I)I
istore 3
start local 3 12: aload 2
iconst_0
iload 3
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 4
start local 4 13: iload 3
ifgt 15
14: iconst_1
ireturn
15: StackMap locals: java.lang.String int java.lang.String
StackMap stack:
new sun.awt.X11GraphicsEnvironment$2
dup
aload 4
invokespecial sun.awt.X11GraphicsEnvironment$2.<init>:(Ljava/lang/String;)V
16: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.Boolean
astore 5
start local 5 17: aload 5
invokevirtual java.lang.Boolean.booleanValue:()Z
ireturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
4 18 0 isRemote Ljava/lang/String;
7 18 1 shm I
11 18 2 display Ljava/lang/String;
12 18 3 ind I
13 18 4 hostName Ljava/lang/String;
17 18 5 result Ljava/lang/Boolean;
public java.lang.String getDefaultFontFaceName();
descriptor: ()Ljava/lang/String;
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 Lsun/awt/X11GraphicsEnvironment;
private static native boolean pRunningXinerama();
descriptor: ()Z
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
public boolean runningXinerama();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: invokestatic sun.awt.X11GraphicsEnvironment.pRunningXinerama:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/X11GraphicsEnvironment;
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/X11GraphicsEnvironment;
}
SourceFile: "X11GraphicsEnvironment.java"
NestMembers:
sun.awt.X11GraphicsEnvironment$1 sun.awt.X11GraphicsEnvironment$2
InnerClasses:
sun.awt.X11GraphicsEnvironment$1
sun.awt.X11GraphicsEnvironment$2