class sun.java2d.SunGraphicsEnvironment$1 implements java.security.PrivilegedAction<java.lang.Object>
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=11, args_size=1
start local 0 0: ldc "os.name"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 1
start local 1 1: ldc "SunOS"
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 23
2: ldc "os.version"
ldc "0.0"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 3: aload 2
invokestatic java.lang.Float.parseFloat:(Ljava/lang/String;)F
fstore 3
start local 3 4: fload 3
ldc 5.1
fcmpl
ifle 23
5: new java.io.File
dup
ldc "/etc/release"
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 4
start local 4 6: new java.io.FileInputStream
dup
aload 4
invokespecial java.io.FileInputStream.<init>:(Ljava/io/File;)V
astore 5
start local 5 7: new java.io.InputStreamReader
dup
aload 5
ldc "ISO-8859-1"
invokespecial java.io.InputStreamReader.<init>:(Ljava/io/InputStream;Ljava/lang/String;)V
8: astore 6
start local 6 9: new java.io.BufferedReader
dup
aload 6
invokespecial java.io.BufferedReader.<init>:(Ljava/io/Reader;)V
astore 7
start local 7 10: aload 7
invokevirtual java.io.BufferedReader.readLine:()Ljava/lang/String;
astore 8
start local 8 11: aload 8
ldc "OpenSolaris"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
iflt 14
12: iconst_1
putstatic sun.java2d.SunGraphicsEnvironment.isOpenSolaris:Z
13: goto 20
14: StackMap locals: sun.java2d.SunGraphicsEnvironment$1 java.lang.String 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"
15: astore 9
start local 9 16: new java.io.File
dup
aload 9
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 10
start local 10 17: aload 10
invokevirtual java.io.File.exists:()Z
ifeq 18
iconst_0
goto 19
StackMap locals: java.lang.String java.io.File
StackMap stack:
18: iconst_1
StackMap locals:
StackMap stack: int
19: putstatic sun.java2d.SunGraphicsEnvironment.isOpenSolaris:Z
end local 10 end local 9 20: StackMap locals:
StackMap stack:
aload 5
invokevirtual java.io.FileInputStream.close:()V
end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 21: goto 23
StackMap locals: sun.java2d.SunGraphicsEnvironment$1 java.lang.String java.lang.String
StackMap stack: java.lang.Exception
22: pop
end local 2 23: 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;
24: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lsun/java2d/SunGraphicsEnvironment$1;
1 25 1 osName Ljava/lang/String;
3 23 2 version Ljava/lang/String;
4 21 3 ver F
6 21 4 f Ljava/io/File;
7 21 5 fis Ljava/io/FileInputStream;
9 21 6 isr Ljava/io/InputStreamReader;
10 21 7 br Ljava/io/BufferedReader;
11 21 8 line Ljava/lang/String;
16 20 9 courierNew Ljava/lang/String;
17 20 10 courierFile Ljava/io/File;
Exception table:
from to target type
3 21 22 Class java.lang.Exception
}
Signature: Ljava/lang/Object;Ljava/security/PrivilegedAction<Ljava/lang/Object;>;
SourceFile: "SunGraphicsEnvironment.java"
EnclosingMethod: sun.java2d.SunGraphicsEnvironment.<init>:()V
NestHost: sun.java2d.SunGraphicsEnvironment
InnerClasses:
sun.java2d.SunGraphicsEnvironment$1