public abstract class sun.awt.UNIXToolkit extends sun.awt.SunToolkit
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: sun.awt.UNIXToolkit
super_class: sun.awt.SunToolkit
{
public static final java.lang.Object GTK_LOCK;
descriptor: Ljava/lang/Object;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
private static final int[] BAND_OFFSETS;
descriptor: [I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final int[] BAND_OFFSETS_ALPHA;
descriptor: [I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final int DEFAULT_DATATRANSFER_TIMEOUT;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 10000
private java.lang.Boolean nativeGTKAvailable;
descriptor: Ljava/lang/Boolean;
flags: (0x0002) ACC_PRIVATE
private java.lang.Boolean nativeGTKLoaded;
descriptor: Ljava/lang/Boolean;
flags: (0x0002) ACC_PRIVATE
private java.awt.image.BufferedImage tmpImage;
descriptor: Ljava/awt/image/BufferedImage;
flags: (0x0002) ACC_PRIVATE
public static final java.lang.String FONTCONFIGAAHINT;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "fontconfig/Antialias"
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putstatic sun.awt.UNIXToolkit.GTK_LOCK:Ljava/lang/Object;
1: iconst_3
newarray 10
dup
iconst_1
iconst_1
iastore
dup
iconst_2
iconst_2
iastore
putstatic sun.awt.UNIXToolkit.BAND_OFFSETS:[I
2: iconst_4
newarray 10
dup
iconst_1
iconst_1
iastore
dup
iconst_2
iconst_2
iastore
dup
iconst_3
iconst_3
iastore
putstatic sun.awt.UNIXToolkit.BAND_OFFSETS_ALPHA:[I
3: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial sun.awt.SunToolkit.<init>:()V
1: aload 0
aconst_null
putfield sun.awt.UNIXToolkit.tmpImage:Ljava/awt/image/BufferedImage;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/UNIXToolkit;
public static int getDatatransferTimeout();
descriptor: ()I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=0
0: new sun.security.action.GetIntegerAction
dup
ldc "sun.awt.datatransfer.timeout"
invokespecial sun.security.action.GetIntegerAction.<init>:(Ljava/lang/String;)V
1: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.Integer
astore 0
start local 0 2: aload 0
ifnull 3
aload 0
invokevirtual java.lang.Integer.intValue:()I
ifgt 4
3: StackMap locals: java.lang.Integer
StackMap stack:
sipush 10000
ireturn
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.Integer.intValue:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
2 5 0 dt Ljava/lang/Integer;
public java.lang.String getDesktop();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: 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;
sun/awt/UNIXToolkit.lambda$0()Ljava/lang/String; (6)
()Ljava/lang/String;
1: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.String
astore 1
start local 1 2: aload 1
ifnull 3
ldc "gnome"
goto 4
StackMap locals: java.lang.String
StackMap stack:
3: aconst_null
StackMap locals:
StackMap stack: java.lang.String
4: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/awt/UNIXToolkit;
2 5 1 gsi Ljava/lang/String;
public boolean isNativeGTKAvailable();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: getstatic sun.awt.UNIXToolkit.GTK_LOCK:Ljava/lang/Object;
dup
astore 1
monitorenter
1: aload 0
getfield sun.awt.UNIXToolkit.nativeGTKLoaded:Ljava/lang/Boolean;
ifnull 4
2: aload 0
getfield sun.awt.UNIXToolkit.nativeGTKLoaded:Ljava/lang/Boolean;
invokevirtual java.lang.Boolean.booleanValue:()Z
aload 1
monitorexit
3: ireturn
4: StackMap locals: java.lang.Object
StackMap stack:
aload 0
getfield sun.awt.UNIXToolkit.nativeGTKAvailable:Ljava/lang/Boolean;
ifnull 7
5: aload 0
getfield sun.awt.UNIXToolkit.nativeGTKAvailable:Ljava/lang/Boolean;
invokevirtual java.lang.Boolean.booleanValue:()Z
aload 1
monitorexit
6: ireturn
7: StackMap locals:
StackMap stack:
invokestatic sun.awt.UNIXToolkit.getEnabledGtkVersion:()Lsun/awt/UNIXToolkit$GtkVersions;
invokevirtual sun.awt.UNIXToolkit$GtkVersions.getNumber:()I
invokestatic sun.awt.UNIXToolkit.check_gtk:(I)Z
istore 2
start local 2 8: aload 0
iload 2
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
putfield sun.awt.UNIXToolkit.nativeGTKAvailable:Ljava/lang/Boolean;
9: iload 2
aload 1
monitorexit
10: ireturn
end local 2 11: StackMap locals:
StackMap stack: java.lang.Throwable
aload 1
monitorexit
12: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lsun/awt/UNIXToolkit;
8 11 2 success Z
Exception table:
from to target type
1 3 11 any
4 6 11 any
7 10 11 any
11 12 11 any
public boolean loadGTK();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: getstatic sun.awt.UNIXToolkit.GTK_LOCK:Ljava/lang/Object;
dup
astore 1
monitorenter
1: aload 0
getfield sun.awt.UNIXToolkit.nativeGTKLoaded:Ljava/lang/Boolean;
ifnonnull 5
2: aload 0
invokestatic sun.awt.UNIXToolkit.getEnabledGtkVersion:()Lsun/awt/UNIXToolkit$GtkVersions;
invokevirtual sun.awt.UNIXToolkit$GtkVersions.getNumber:()I
3: invokestatic sun.awt.UNIXToolkit.isGtkVerbose:()Z
4: invokestatic sun.awt.UNIXToolkit.load_gtk:(IZ)Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
putfield sun.awt.UNIXToolkit.nativeGTKLoaded:Ljava/lang/Boolean;
5: StackMap locals: java.lang.Object
StackMap stack:
aload 1
monitorexit
6: goto 9
StackMap locals:
StackMap stack: java.lang.Throwable
7: aload 1
monitorexit
8: athrow
9: StackMap locals:
StackMap stack:
aload 0
getfield sun.awt.UNIXToolkit.nativeGTKLoaded: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/UNIXToolkit;
Exception table:
from to target type
1 6 7 any
7 8 7 any
protected java.lang.Object lazilyLoadDesktopProperty(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "gtk.icon."
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 2
1: aload 0
aload 1
invokevirtual sun.awt.UNIXToolkit.lazilyLoadGTKIcon:(Ljava/lang/String;)Ljava/lang/Object;
areturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokespecial sun.awt.SunToolkit.lazilyLoadDesktopProperty:(Ljava/lang/String;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/UNIXToolkit;
0 3 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
protected java.lang.Object lazilyLoadGTKIcon(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=7, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.awt.UNIXToolkit.desktopProperties:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
astore 2
start local 2 1: aload 2
ifnull 3
2: aload 2
areturn
3: StackMap locals: java.lang.Object
StackMap stack:
aload 1
ldc "\\."
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
astore 3
start local 3 4: aload 3
arraylength
iconst_5
if_icmpeq 6
5: aconst_null
areturn
6: StackMap locals: java.lang.String[]
StackMap stack:
iconst_0
istore 4
start local 4 7: aload 3
iconst_3
aaload
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
istore 4
8: goto 11
StackMap locals: sun.awt.UNIXToolkit java.lang.String java.lang.Object java.lang.String[] int
StackMap stack: java.lang.NumberFormatException
9: pop
10: aconst_null
areturn
11: StackMap locals:
StackMap stack:
ldc "ltr"
aload 3
iconst_4
aaload
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 12
getstatic com.sun.java.swing.plaf.gtk.GTKConstants$TextDirection.LTR:Lcom/sun/java/swing/plaf/gtk/GTKConstants$TextDirection;
goto 13
12: StackMap locals:
StackMap stack:
getstatic com.sun.java.swing.plaf.gtk.GTKConstants$TextDirection.RTL:Lcom/sun/java/swing/plaf/gtk/GTKConstants$TextDirection;
13: StackMap locals:
StackMap stack: com.sun.java.swing.plaf.gtk.GTKConstants$TextDirection
astore 5
start local 5 14: aload 0
iconst_m1
aload 3
iconst_2
aaload
iload 4
aload 5
invokevirtual com.sun.java.swing.plaf.gtk.GTKConstants$TextDirection.ordinal:()I
aconst_null
invokevirtual sun.awt.UNIXToolkit.getStockIcon:(ILjava/lang/String;IILjava/lang/String;)Ljava/awt/image/BufferedImage;
astore 6
start local 6 15: aload 6
ifnull 17
16: aload 0
aload 1
aload 6
invokevirtual sun.awt.UNIXToolkit.setDesktopProperty:(Ljava/lang/String;Ljava/lang/Object;)V
17: StackMap locals: com.sun.java.swing.plaf.gtk.GTKConstants$TextDirection java.awt.image.BufferedImage
StackMap stack:
aload 6
areturn
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 18 0 this Lsun/awt/UNIXToolkit;
0 18 1 longname Ljava/lang/String;
1 18 2 result Ljava/lang/Object;
4 18 3 str [Ljava/lang/String;
7 18 4 size I
14 18 5 dir Lcom/sun/java/swing/plaf/gtk/GTKConstants$TextDirection;
15 18 6 img Ljava/awt/image/BufferedImage;
Exception table:
from to target type
7 8 9 Class java.lang.NumberFormatException
MethodParameters:
Name Flags
longname
public java.awt.image.BufferedImage getGTKIcon(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/awt/image/BufferedImage;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.awt.UNIXToolkit.loadGTK:()Z
ifne 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
getstatic sun.awt.UNIXToolkit.GTK_LOCK:Ljava/lang/Object;
dup
astore 2
monitorenter
3: aload 0
aload 1
invokevirtual sun.awt.UNIXToolkit.load_gtk_icon:(Ljava/lang/String;)Z
ifne 5
4: aload 0
aconst_null
putfield sun.awt.UNIXToolkit.tmpImage:Ljava/awt/image/BufferedImage;
5: StackMap locals: java.lang.Object
StackMap stack:
aload 2
monitorexit
6: goto 9
StackMap locals:
StackMap stack: java.lang.Throwable
7: aload 2
monitorexit
8: athrow
9: StackMap locals:
StackMap stack:
aload 0
getfield sun.awt.UNIXToolkit.tmpImage:Ljava/awt/image/BufferedImage;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/awt/UNIXToolkit;
0 10 1 filename Ljava/lang/String;
Exception table:
from to target type
3 6 7 any
7 8 7 any
MethodParameters:
Name Flags
filename final
public java.awt.image.BufferedImage getStockIcon(int, java.lang.String, int, int, java.lang.String);
descriptor: (ILjava/lang/String;IILjava/lang/String;)Ljava/awt/image/BufferedImage;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
invokevirtual sun.awt.UNIXToolkit.loadGTK:()Z
ifne 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
getstatic sun.awt.UNIXToolkit.GTK_LOCK:Ljava/lang/Object;
dup
astore 6
monitorenter
3: aload 0
iload 1
aload 2
iload 3
iload 4
aload 5
invokevirtual sun.awt.UNIXToolkit.load_stock_icon:(ILjava/lang/String;IILjava/lang/String;)Z
ifne 5
4: aload 0
aconst_null
putfield sun.awt.UNIXToolkit.tmpImage:Ljava/awt/image/BufferedImage;
5: StackMap locals: java.lang.Object
StackMap stack:
aload 6
monitorexit
6: goto 9
StackMap locals:
StackMap stack: java.lang.Throwable
7: aload 6
monitorexit
8: athrow
9: StackMap locals:
StackMap stack:
aload 0
getfield sun.awt.UNIXToolkit.tmpImage:Ljava/awt/image/BufferedImage;
areturn
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 10 0 this Lsun/awt/UNIXToolkit;
0 10 1 widgetType I
0 10 2 stockId Ljava/lang/String;
0 10 3 iconSize I
0 10 4 direction I
0 10 5 detail Ljava/lang/String;
Exception table:
from to target type
3 6 7 any
7 8 7 any
MethodParameters:
Name Flags
widgetType final
stockId final
iconSize final
direction final
detail final
public void loadIconCallback(byte[], int, int, int, int, int, boolean);
descriptor: ([BIIIIIZ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=11, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: aload 0
aconst_null
putfield sun.awt.UNIXToolkit.tmpImage:Ljava/awt/image/BufferedImage;
1: new java.awt.image.DataBufferByte
dup
aload 1
iload 4
iload 3
imul
invokespecial java.awt.image.DataBufferByte.<init>:([BI)V
astore 8
start local 8 2: aload 8
3: iload 2
iload 3
iload 4
iload 6
4: iload 7
ifeq 5
getstatic sun.awt.UNIXToolkit.BAND_OFFSETS_ALPHA:[I
goto 6
StackMap locals: sun.awt.UNIXToolkit byte[] int int int int int int java.awt.image.DataBuffer
StackMap stack: java.awt.image.DataBuffer int int int int
5: getstatic sun.awt.UNIXToolkit.BAND_OFFSETS:[I
StackMap locals: sun.awt.UNIXToolkit byte[] int int int int int int java.awt.image.DataBuffer
StackMap stack: java.awt.image.DataBuffer int int int int int[]
6: aconst_null
7: invokestatic java.awt.image.Raster.createInterleavedRaster:(Ljava/awt/image/DataBuffer;IIII[ILjava/awt/Point;)Ljava/awt/image/WritableRaster;
astore 9
start local 9 8: new java.awt.image.ComponentColorModel
dup
9: sipush 1000
invokestatic java.awt.color.ColorSpace.getInstance:(I)Ljava/awt/color/ColorSpace;
iload 7
iconst_0
10: iconst_3
iconst_0
11: invokespecial java.awt.image.ComponentColorModel.<init>:(Ljava/awt/color/ColorSpace;ZZII)V
astore 10
start local 10 12: aload 0
new java.awt.image.BufferedImage
dup
aload 10
aload 9
iconst_0
aconst_null
invokespecial java.awt.image.BufferedImage.<init>:(Ljava/awt/image/ColorModel;Ljava/awt/image/WritableRaster;ZLjava/util/Hashtable;)V
putfield sun.awt.UNIXToolkit.tmpImage:Ljava/awt/image/BufferedImage;
13: return
end local 10 end local 9 end local 8 end local 7 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 14 0 this Lsun/awt/UNIXToolkit;
0 14 1 data [B
0 14 2 width I
0 14 3 height I
0 14 4 rowStride I
0 14 5 bps I
0 14 6 channels I
0 14 7 alpha Z
2 14 8 dataBuf Ljava/awt/image/DataBuffer;
8 14 9 raster Ljava/awt/image/WritableRaster;
12 14 10 colorModel Ljava/awt/image/ColorModel;
MethodParameters:
Name Flags
data
width
height
rowStride
bps
channels
alpha
private static native boolean check_gtk(int);
descriptor: (I)Z
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
version
private static native boolean load_gtk(int, boolean);
descriptor: (IZ)Z
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
version
verbose
private static native boolean unload_gtk();
descriptor: ()Z
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
private native boolean load_gtk_icon(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
filename
private native boolean load_stock_icon(int, java.lang.String, int, int, java.lang.String);
descriptor: (ILjava/lang/String;IILjava/lang/String;)Z
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
widget_type
stock_id
iconSize
textDirection
detail
private native void nativeSync();
descriptor: ()V
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
private static native int get_gtk_version();
descriptor: ()I
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
public void sync();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.awt.UNIXToolkit.nativeSync:()V
1: invokestatic sun.java2d.opengl.OGLRenderQueue.sync:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/UNIXToolkit;
protected java.awt.RenderingHints getDesktopAAHints();
descriptor: ()Ljava/awt/RenderingHints;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=5, args_size=1
start local 0 0: aload 0
ldc "gnome.Xft/Antialias"
invokevirtual sun.awt.UNIXToolkit.getDesktopProperty:(Ljava/lang/String;)Ljava/lang/Object;
astore 1
start local 1 1: aload 1
ifnonnull 6
2: aload 0
ldc "fontconfig/Antialias"
invokevirtual sun.awt.UNIXToolkit.getDesktopProperty:(Ljava/lang/String;)Ljava/lang/Object;
astore 1
3: aload 1
ifnull 5
4: new java.awt.RenderingHints
dup
getstatic java.awt.RenderingHints.KEY_TEXT_ANTIALIASING:Ljava/awt/RenderingHints$Key;
aload 1
invokespecial java.awt.RenderingHints.<init>:(Ljava/awt/RenderingHints$Key;Ljava/lang/Object;)V
areturn
5: StackMap locals: java.lang.Object
StackMap stack:
aconst_null
areturn
6: StackMap locals:
StackMap stack:
aload 1
instanceof java.lang.Number
ifeq 9
7: aload 1
checkcast java.lang.Number
invokevirtual java.lang.Number.intValue:()I
ifeq 9
8: iconst_1
goto 10
StackMap locals:
StackMap stack:
9: iconst_0
StackMap locals:
StackMap stack: int
10: istore 2
start local 2 11: iload 2
ifeq 31
12: aload 0
ldc "gnome.Xft/RGBA"
invokevirtual sun.awt.UNIXToolkit.getDesktopProperty:(Ljava/lang/String;)Ljava/lang/Object;
checkcast java.lang.String
13: astore 4
start local 4 14: aload 4
ifnull 15
aload 4
ldc "none"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 17
15: StackMap locals: sun.awt.UNIXToolkit java.lang.Object int top java.lang.String
StackMap stack:
getstatic java.awt.RenderingHints.VALUE_TEXT_ANTIALIAS_ON:Ljava/lang/Object;
astore 3
start local 3 16: goto 32
end local 3 StackMap locals:
StackMap stack:
17: aload 4
ldc "rgb"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 20
18: getstatic java.awt.RenderingHints.VALUE_TEXT_ANTIALIAS_LCD_HRGB:Ljava/lang/Object;
astore 3
start local 3 19: goto 32
end local 3 StackMap locals:
StackMap stack:
20: aload 4
ldc "bgr"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 23
21: getstatic java.awt.RenderingHints.VALUE_TEXT_ANTIALIAS_LCD_HBGR:Ljava/lang/Object;
astore 3
start local 3 22: goto 32
end local 3 StackMap locals:
StackMap stack:
23: aload 4
ldc "vrgb"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 26
24: getstatic java.awt.RenderingHints.VALUE_TEXT_ANTIALIAS_LCD_VRGB:Ljava/lang/Object;
astore 3
start local 3 25: goto 32
end local 3 StackMap locals:
StackMap stack:
26: aload 4
ldc "vbgr"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 29
27: getstatic java.awt.RenderingHints.VALUE_TEXT_ANTIALIAS_LCD_VBGR:Ljava/lang/Object;
astore 3
start local 3 28: goto 32
end local 3 29: StackMap locals:
StackMap stack:
getstatic java.awt.RenderingHints.VALUE_TEXT_ANTIALIAS_ON:Ljava/lang/Object;
astore 3
end local 4 start local 3 30: goto 32
end local 3 31: StackMap locals: sun.awt.UNIXToolkit java.lang.Object int
StackMap stack:
getstatic java.awt.RenderingHints.VALUE_TEXT_ANTIALIAS_DEFAULT:Ljava/lang/Object;
astore 3
start local 3 32: StackMap locals: java.lang.Object
StackMap stack:
new java.awt.RenderingHints
dup
getstatic java.awt.RenderingHints.KEY_TEXT_ANTIALIASING:Ljava/awt/RenderingHints$Key;
aload 3
invokespecial java.awt.RenderingHints.<init>:(Ljava/awt/RenderingHints$Key;Ljava/lang/Object;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 33 0 this Lsun/awt/UNIXToolkit;
1 33 1 aaValue Ljava/lang/Object;
11 33 2 aa Z
16 17 3 aaHint Ljava/lang/Object;
19 20 3 aaHint Ljava/lang/Object;
22 23 3 aaHint Ljava/lang/Object;
25 26 3 aaHint Ljava/lang/Object;
28 29 3 aaHint Ljava/lang/Object;
30 31 3 aaHint Ljava/lang/Object;
32 33 3 aaHint Ljava/lang/Object;
14 30 4 subpixOrder Ljava/lang/String;
private native boolean gtkCheckVersionImpl(int, int, int);
descriptor: (III)Z
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
major
minor
micro
public boolean checkGtkVersion(int, int, int);
descriptor: (III)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual sun.awt.UNIXToolkit.loadGTK:()Z
ifeq 2
1: aload 0
iload 1
iload 2
iload 3
invokevirtual sun.awt.UNIXToolkit.gtkCheckVersionImpl:(III)Z
ireturn
2: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/UNIXToolkit;
0 3 1 major I
0 3 2 minor I
0 3 3 micro I
MethodParameters:
Name Flags
major
minor
micro
public static sun.awt.UNIXToolkit$GtkVersions getEnabledGtkVersion();
descriptor: ()Lsun/awt/UNIXToolkit$GtkVersions;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=0
0: new sun.security.action.GetPropertyAction
dup
ldc "jdk.gtk.version"
invokespecial sun.security.action.GetPropertyAction.<init>:(Ljava/lang/String;)V
1: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.String
astore 0
start local 0 2: aload 0
ifnonnull 4
3: getstatic sun.awt.UNIXToolkit$GtkVersions.ANY:Lsun/awt/UNIXToolkit$GtkVersions;
areturn
4: StackMap locals: java.lang.String
StackMap stack:
aload 0
ldc "2"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 6
5: getstatic sun.awt.UNIXToolkit$GtkVersions.GTK2:Lsun/awt/UNIXToolkit$GtkVersions;
areturn
6: StackMap locals:
StackMap stack:
ldc "3"
aload 0
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 8
7: getstatic sun.awt.UNIXToolkit$GtkVersions.GTK3:Lsun/awt/UNIXToolkit$GtkVersions;
areturn
8: StackMap locals:
StackMap stack:
getstatic sun.awt.UNIXToolkit$GtkVersions.ANY:Lsun/awt/UNIXToolkit$GtkVersions;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
2 9 0 version Ljava/lang/String;
public static sun.awt.UNIXToolkit$GtkVersions getGtkVersion();
descriptor: ()Lsun/awt/UNIXToolkit$GtkVersions;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic sun.awt.UNIXToolkit.get_gtk_version:()I
invokestatic sun.awt.UNIXToolkit$GtkVersions.getVersion:(I)Lsun/awt/UNIXToolkit$GtkVersions;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static boolean isGtkVerbose();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: 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;
sun/awt/UNIXToolkit.lambda$1()Ljava/lang/Boolean; (6)
()Ljava/lang/Boolean;
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
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 "GNOME_DESKTOP_SESSION_ID"
invokestatic java.lang.System.getenv:(Ljava/lang/String;)Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
private static java.lang.Boolean lambda$1();
descriptor: ()Ljava/lang/Boolean;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=0, args_size=0
0: ldc "jdk.gtk.verbose"
invokestatic java.lang.Boolean.getBoolean:(Ljava/lang/String;)Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "UNIXToolkit.java"
NestMembers:
sun.awt.UNIXToolkit$GtkVersions sun.awt.UNIXToolkit$GtkVersions$Constants
InnerClasses:
public final TextDirection = com.sun.java.swing.plaf.gtk.GTKConstants$TextDirection of com.sun.java.swing.plaf.gtk.GTKConstants
public abstract Key = java.awt.RenderingHints$Key of java.awt.RenderingHints
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public final GtkVersions = sun.awt.UNIXToolkit$GtkVersions of sun.awt.UNIXToolkit