class sun.java2d.SunGraphicsEnvironment$1 implements java.security.PrivilegedAction
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.java2d.SunGraphicsEnvironment$1
super_class: java.lang.Object
{
final sun.java2d.SunGraphicsEnvironment this$0;
descriptor: Lsun/java2d/SunGraphicsEnvironment;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(sun.java2d.SunGraphicsEnvironment);
descriptor: (Lsun/java2d/SunGraphicsEnvironment;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield sun.java2d.SunGraphicsEnvironment$1.this$0:Lsun/java2d/SunGraphicsEnvironment;
aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/java2d/SunGraphicsEnvironment$1;
MethodParameters:
Name Flags
this$0 final
public java.lang.Object run();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=10, args_size=1
start local 0 0: ldc "os.version"
ldc "0.0"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 1
start local 1 1: aload 1
invokestatic java.lang.Float.parseFloat:(Ljava/lang/String;)F
fstore 2
start local 2 2: fload 2
ldc 5.1
fcmpl
ifle 21
3: new java.io.File
dup
ldc "/etc/release"
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 3
start local 3 4: new java.io.FileInputStream
dup
aload 3
invokespecial java.io.FileInputStream.<init>:(Ljava/io/File;)V
astore 4
start local 4 5: new java.io.InputStreamReader
dup
aload 4
ldc "ISO-8859-1"
invokespecial java.io.InputStreamReader.<init>:(Ljava/io/InputStream;Ljava/lang/String;)V
6: astore 5
start local 5 7: new java.io.BufferedReader
dup
aload 5
invokespecial java.io.BufferedReader.<init>:(Ljava/io/Reader;)V
astore 6
start local 6 8: aload 6
invokevirtual java.io.BufferedReader.readLine:()Ljava/lang/String;
astore 7
start local 7 9: aload 7
ldc "OpenSolaris"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
iflt 12
10: iconst_1
putstatic sun.java2d.SunGraphicsEnvironment.isOpenSolaris:Z
11: goto 18
12: StackMap locals: sun.java2d.SunGraphicsEnvironment$1 java.lang.String float java.io.File java.io.FileInputStream java.io.InputStreamReader java.io.BufferedReader java.lang.String
StackMap stack:
ldc "/usr/openwin/lib/X11/fonts/TrueType/CourierNew.ttf"
13: astore 8
start local 8 14: new java.io.File
dup
aload 8
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 9
start local 9 15: aload 9
invokevirtual java.io.File.exists:()Z
ifeq 16
iconst_0
goto 17
StackMap locals: java.lang.String java.io.File
StackMap stack:
16: iconst_1
StackMap locals:
StackMap stack: int
17: putstatic sun.java2d.SunGraphicsEnvironment.isOpenSolaris:Z
end local 9 end local 8 18: StackMap locals:
StackMap stack:
aload 4
invokevirtual java.io.FileInputStream.close:()V
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 19: goto 21
StackMap locals: sun.java2d.SunGraphicsEnvironment$1 java.lang.String
StackMap stack: java.lang.Exception
20: pop
21: StackMap locals:
StackMap stack:
new java.awt.Font
dup
ldc "Dialog"
iconst_0
bipush 12
invokespecial java.awt.Font.<init>:(Ljava/lang/String;II)V
putstatic sun.java2d.SunGraphicsEnvironment.defaultFont:Ljava/awt/Font;
22: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lsun/java2d/SunGraphicsEnvironment$1;
1 23 1 version Ljava/lang/String;
2 19 2 ver F
4 19 3 f Ljava/io/File;
5 19 4 fis Ljava/io/FileInputStream;
7 19 5 isr Ljava/io/InputStreamReader;
8 19 6 br Ljava/io/BufferedReader;
9 19 7 line Ljava/lang/String;
14 18 8 courierNew Ljava/lang/String;
15 18 9 courierFile Ljava/io/File;
Exception table:
from to target type
1 19 20 Class java.lang.Exception
}
SourceFile: "SunGraphicsEnvironment.java"
EnclosingMethod: sun.java2d.SunGraphicsEnvironment.<init>:()V
NestHost: sun.java2d.SunGraphicsEnvironment
InnerClasses:
sun.java2d.SunGraphicsEnvironment$1