class sun.font.FontUtilities$1 implements java.security.PrivilegedAction
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.font.FontUtilities$1
super_class: java.lang.Object
{
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 // sun.font.FontUtilities$1 this
0: .line 74
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
return
end local 0 // sun.font.FontUtilities$1 this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/font/FontUtilities$1;
public java.lang.Object run();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=10, args_size=1
start local 0 // sun.font.FontUtilities$1 this
0: .line 76
ldc "os.name"
ldc "unknownOS"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 1 /* osName */
start local 1 // java.lang.String osName
1: .line 77
aload 1 /* osName */
ldc "SunOS"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
putstatic sun.font.FontUtilities.isSolaris:Z
2: .line 79
aload 1 /* osName */
ldc "Linux"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
putstatic sun.font.FontUtilities.isLinux:Z
3: .line 81
aload 1 /* osName */
ldc "OS X"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
putstatic sun.font.FontUtilities.isMacOSX:Z
4: .line 83
ldc "sun.java2d.font.scaler"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 2 /* t2kStr */
start local 2 // java.lang.String t2kStr
5: .line 84
aload 2 /* t2kStr */
ifnull 8
6: .line 85
ldc "t2k"
aload 2 /* t2kStr */
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
putstatic sun.font.FontUtilities.useT2K:Z
7: .line 86
goto 9
8: .line 87
StackMap locals: java.lang.String java.lang.String
StackMap stack:
iconst_0
putstatic sun.font.FontUtilities.useT2K:Z
9: .line 89
StackMap locals:
StackMap stack:
getstatic sun.font.FontUtilities.isSolaris:Z
ifeq 33
10: .line 90
ldc "os.version"
ldc "0.0"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 3 /* version */
start local 3 // java.lang.String version
11: .line 91
aload 3 /* version */
ldc "5.8"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
putstatic sun.font.FontUtilities.isSolaris8:Z
12: .line 92
aload 3 /* version */
ldc "5.9"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
putstatic sun.font.FontUtilities.isSolaris9:Z
13: .line 93
aload 3 /* version */
invokestatic java.lang.Float.parseFloat:(Ljava/lang/String;)F
fstore 4 /* ver */
start local 4 // float ver
14: .line 94
fload 4 /* ver */
ldc 5.1
fcmpl
ifle 31
15: .line 95
new java.io.File
dup
ldc "/etc/release"
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 5 /* f */
start local 5 // java.io.File f
16: .line 96
aconst_null
astore 6 /* line */
start local 6 // java.lang.String line
17: .line 98
new java.io.FileInputStream
dup
aload 5 /* f */
invokespecial java.io.FileInputStream.<init>:(Ljava/io/File;)V
astore 7 /* fis */
start local 7 // java.io.FileInputStream fis
18: .line 99
new java.io.InputStreamReader
dup
19: .line 100
aload 7 /* fis */
ldc "ISO-8859-1"
20: .line 99
invokespecial java.io.InputStreamReader.<init>:(Ljava/io/InputStream;Ljava/lang/String;)V
astore 8 /* isr */
start local 8 // java.io.InputStreamReader isr
21: .line 101
new java.io.BufferedReader
dup
aload 8 /* isr */
invokespecial java.io.BufferedReader.<init>:(Ljava/io/Reader;)V
astore 9 /* br */
start local 9 // java.io.BufferedReader br
22: .line 102
aload 9 /* br */
invokevirtual java.io.BufferedReader.readLine:()Ljava/lang/String;
astore 6 /* line */
23: .line 103
aload 7 /* fis */
invokevirtual java.io.FileInputStream.close:()V
end local 9 // java.io.BufferedReader br
end local 8 // java.io.InputStreamReader isr
end local 7 // java.io.FileInputStream fis
24: .line 104
goto 26
StackMap locals: sun.font.FontUtilities$1 java.lang.String java.lang.String java.lang.String float java.io.File java.lang.String
StackMap stack: java.lang.Exception
25: pop
26: .line 107
StackMap locals:
StackMap stack:
aload 6 /* line */
ifnull 29
aload 6 /* line */
ldc "OpenSolaris"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
iflt 29
27: .line 108
iconst_1
putstatic sun.font.FontUtilities.isOpenSolaris:Z
28: .line 109
goto 36
29: .line 110
StackMap locals:
StackMap stack:
iconst_0
putstatic sun.font.FontUtilities.isOpenSolaris:Z
end local 6 // java.lang.String line
end local 5 // java.io.File f
30: .line 112
goto 36
31: .line 113
StackMap locals:
StackMap stack:
iconst_0
putstatic sun.font.FontUtilities.isOpenSolaris:Z
end local 4 // float ver
end local 3 // java.lang.String version
32: .line 115
goto 36
33: .line 116
StackMap locals:
StackMap stack:
iconst_0
putstatic sun.font.FontUtilities.isSolaris8:Z
34: .line 117
iconst_0
putstatic sun.font.FontUtilities.isSolaris9:Z
35: .line 118
iconst_0
putstatic sun.font.FontUtilities.isOpenSolaris:Z
36: .line 120
StackMap locals:
StackMap stack:
aload 1 /* osName */
ldc "Windows"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
putstatic sun.font.FontUtilities.isWindows:Z
37: .line 121
new java.lang.StringBuilder
dup
ldc "java.home"
ldc ""
invokestatic java.lang.System.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
38: .line 122
getstatic java.io.File.separator:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "lib"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
39: .line 121
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3 /* jreLibDirName */
start local 3 // java.lang.String jreLibDirName
40: .line 124
new java.lang.StringBuilder
dup
aload 3 /* jreLibDirName */
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic java.io.File.separator:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "fonts"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
41: .line 123
astore 4 /* jreFontDirName */
start local 4 // java.lang.String jreFontDirName
42: .line 125
new java.io.File
dup
new java.lang.StringBuilder
dup
aload 4 /* jreFontDirName */
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic java.io.File.separator:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
43: .line 126
ldc "LucidaSansRegular.ttf"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
44: .line 125
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 5 /* lucidaFile */
start local 5 // java.io.File lucidaFile
45: .line 127
aload 5 /* lucidaFile */
invokevirtual java.io.File.exists:()Z
ifeq 46
iconst_0
goto 47
StackMap locals: java.lang.String java.lang.String java.io.File
StackMap stack:
46: iconst_1
StackMap locals:
StackMap stack: int
47: putstatic sun.font.FontUtilities.isOpenJDK:Z
48: .line 130
ldc "sun.java2d.debugfonts"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
49: .line 129
astore 6 /* debugLevel */
start local 6 // java.lang.String debugLevel
50: .line 132
aload 6 /* debugLevel */
ifnull 58
aload 6 /* debugLevel */
ldc "false"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 58
51: .line 133
iconst_1
putstatic sun.font.FontUtilities.debugFonts:Z
52: .line 134
ldc "sun.java2d"
invokestatic sun.util.logging.PlatformLogger.getLogger:(Ljava/lang/String;)Lsun/util/logging/PlatformLogger;
putstatic sun.font.FontUtilities.logger:Lsun/util/logging/PlatformLogger;
53: .line 135
aload 6 /* debugLevel */
ldc "warning"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 56
54: .line 136
getstatic sun.font.FontUtilities.logger:Lsun/util/logging/PlatformLogger;
getstatic sun.util.logging.PlatformLogger$Level.WARNING:Lsun/util/logging/PlatformLogger$Level;
invokevirtual sun.util.logging.PlatformLogger.setLevel:(Lsun/util/logging/PlatformLogger$Level;)V
55: .line 137
goto 58
StackMap locals: java.lang.String
StackMap stack:
56: aload 6 /* debugLevel */
ldc "severe"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 58
57: .line 138
getstatic sun.font.FontUtilities.logger:Lsun/util/logging/PlatformLogger;
getstatic sun.util.logging.PlatformLogger$Level.SEVERE:Lsun/util/logging/PlatformLogger$Level;
invokevirtual sun.util.logging.PlatformLogger.setLevel:(Lsun/util/logging/PlatformLogger$Level;)V
58: .line 142
StackMap locals:
StackMap stack:
getstatic sun.font.FontUtilities.debugFonts:Z
ifeq 61
59: .line 143
ldc "sun.java2d"
invokestatic sun.util.logging.PlatformLogger.getLogger:(Ljava/lang/String;)Lsun/util/logging/PlatformLogger;
putstatic sun.font.FontUtilities.logger:Lsun/util/logging/PlatformLogger;
60: .line 144
getstatic sun.font.FontUtilities.logger:Lsun/util/logging/PlatformLogger;
invokevirtual sun.util.logging.PlatformLogger.isEnabled:()Z
putstatic sun.font.FontUtilities.logging:Z
61: .line 147
StackMap locals:
StackMap stack:
aconst_null
areturn
end local 6 // java.lang.String debugLevel
end local 5 // java.io.File lucidaFile
end local 4 // java.lang.String jreFontDirName
end local 3 // java.lang.String jreLibDirName
end local 2 // java.lang.String t2kStr
end local 1 // java.lang.String osName
end local 0 // sun.font.FontUtilities$1 this
LocalVariableTable:
Start End Slot Name Signature
0 62 0 this Lsun/font/FontUtilities$1;
1 62 1 osName Ljava/lang/String;
5 62 2 t2kStr Ljava/lang/String;
11 32 3 version Ljava/lang/String;
14 32 4 ver F
16 30 5 f Ljava/io/File;
17 30 6 line Ljava/lang/String;
18 24 7 fis Ljava/io/FileInputStream;
21 24 8 isr Ljava/io/InputStreamReader;
22 24 9 br Ljava/io/BufferedReader;
40 62 3 jreLibDirName Ljava/lang/String;
42 62 4 jreFontDirName Ljava/lang/String;
45 62 5 lucidaFile Ljava/io/File;
50 62 6 debugLevel Ljava/lang/String;
Exception table:
from to target type
17 24 25 Class java.lang.Exception
}
SourceFile: "FontUtilities.java"
EnclosingMethod: sun.font.FontUtilities
NestHost: sun.font.FontUtilities
InnerClasses:
sun.font.FontUtilities$1
public final Level = sun.util.logging.PlatformLogger$Level of sun.util.logging.PlatformLogger