class sun.font.XMap
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.font.XMap
super_class: java.lang.Object
{
private static java.util.HashMap<java.lang.String, sun.font.XMap> xMappers;
descriptor: Ljava/util/HashMap;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Signature: Ljava/util/HashMap<Ljava/lang/String;Lsun/font/XMap;>;
char[] convertedGlyphs;
descriptor: [C
flags: (0x0000)
static final int SINGLE_BYTE;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 1
static final int DOUBLE_BYTE;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 2
private static final char SURR_MIN;
descriptor: C
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 55296
private static final char SURR_MAX;
descriptor: C
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 57343
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putstatic sun.font.XMap.xMappers:Ljava/util/HashMap;
1: return
LocalVariableTable:
Start End Slot Name Signature
static synchronized sun.font.XMap getXMapper(java.lang.String);
descriptor: (Ljava/lang/String;)Lsun/font/XMap;
flags: (0x0028) ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=2, args_size=1
start local 0 0: getstatic sun.font.XMap.xMappers:Ljava/util/HashMap;
aload 0
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.font.XMap
astore 1
start local 1 1: aload 1
ifnonnull 4
2: aload 0
invokestatic sun.font.XMap.getXMapperInternal:(Ljava/lang/String;)Lsun/font/XMap;
astore 1
3: getstatic sun.font.XMap.xMappers:Ljava/util/HashMap;
aload 0
aload 1
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
4: StackMap locals: sun.font.XMap
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 encoding Ljava/lang/String;
1 5 1 mapper Lsun/font/XMap;
MethodParameters:
Name Flags
encoding
private static sun.font.XMap getXMapperInternal(java.lang.String);
descriptor: (Ljava/lang/String;)Lsun/font/XMap;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=8, locals=7, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: iconst_1
istore 2
start local 2 2: ldc 65535
istore 3
start local 3 3: iconst_0
istore 4
start local 4 4: iconst_0
istore 5
start local 5 5: iconst_0
istore 6
start local 6 6: aload 0
ldc "dingbats"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 11
7: ldc "sun.font.X11Dingbats"
astore 1
8: sipush 9985
istore 4
9: sipush 10174
istore 3
10: goto 120
StackMap locals: java.lang.String java.lang.String int int int int int
StackMap stack:
11: aload 0
ldc "symbol"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 16
12: ldc "sun.awt.Symbol"
astore 1
13: sipush 913
istore 4
14: sipush 8943
istore 3
15: goto 120
StackMap locals:
StackMap stack:
16: aload 0
ldc "iso8859-1"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 19
17: sipush 255
istore 3
18: goto 120
StackMap locals:
StackMap stack:
19: aload 0
ldc "iso8859-2"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 22
20: ldc "ISO8859_2"
astore 1
21: goto 120
StackMap locals:
StackMap stack:
22: aload 0
ldc "jisx0208.1983-0"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 26
23: ldc "JIS0208"
astore 1
24: iconst_2
istore 2
25: goto 120
StackMap locals:
StackMap stack:
26: aload 0
ldc "jisx0201.1976-0"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 31
27: ldc "JIS0201"
astore 1
28: iconst_1
istore 5
29: iconst_1
istore 6
30: goto 120
StackMap locals:
StackMap stack:
31: aload 0
ldc "jisx0212.1990-0"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 35
32: ldc "JIS0212"
astore 1
33: iconst_2
istore 2
34: goto 120
StackMap locals:
StackMap stack:
35: aload 0
ldc "iso8859-4"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 38
36: ldc "ISO8859_4"
astore 1
37: goto 120
StackMap locals:
StackMap stack:
38: aload 0
ldc "iso8859-5"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 41
39: ldc "ISO8859_5"
astore 1
40: goto 120
StackMap locals:
StackMap stack:
41: aload 0
ldc "koi8-r"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 44
42: ldc "KOI8_R"
astore 1
43: goto 120
StackMap locals:
StackMap stack:
44: aload 0
ldc "ansi-1251"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 47
45: ldc "windows-1251"
astore 1
46: goto 120
StackMap locals:
StackMap stack:
47: aload 0
ldc "iso8859-6"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 50
48: ldc "ISO8859_6"
astore 1
49: goto 120
StackMap locals:
StackMap stack:
50: aload 0
ldc "iso8859-7"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 53
51: ldc "ISO8859_7"
astore 1
52: goto 120
StackMap locals:
StackMap stack:
53: aload 0
ldc "iso8859-8"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 56
54: ldc "ISO8859_8"
astore 1
55: goto 120
StackMap locals:
StackMap stack:
56: aload 0
ldc "iso8859-9"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 59
57: ldc "ISO8859_9"
astore 1
58: goto 120
StackMap locals:
StackMap stack:
59: aload 0
ldc "iso8859-13"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 62
60: ldc "ISO8859_13"
astore 1
61: goto 120
StackMap locals:
StackMap stack:
62: aload 0
ldc "iso8859-15"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 65
63: ldc "ISO8859_15"
astore 1
64: goto 120
StackMap locals:
StackMap stack:
65: aload 0
ldc "ksc5601.1987-0"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 69
66: ldc "sun.font.X11KSC5601"
astore 1
67: iconst_2
istore 2
68: goto 120
StackMap locals:
StackMap stack:
69: aload 0
ldc "ksc5601.1992-3"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 73
70: ldc "sun.font.X11Johab"
astore 1
71: iconst_2
istore 2
72: goto 120
StackMap locals:
StackMap stack:
73: aload 0
ldc "ksc5601.1987-1"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 77
74: ldc "EUC_KR"
astore 1
75: iconst_2
istore 2
76: goto 120
StackMap locals:
StackMap stack:
77: aload 0
ldc "cns11643-1"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 81
78: ldc "sun.font.X11CNS11643P1"
astore 1
79: iconst_2
istore 2
80: goto 120
StackMap locals:
StackMap stack:
81: aload 0
ldc "cns11643-2"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 85
82: ldc "sun.font.X11CNS11643P2"
astore 1
83: iconst_2
istore 2
84: goto 120
StackMap locals:
StackMap stack:
85: aload 0
ldc "cns11643-3"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 89
86: ldc "sun.font.X11CNS11643P3"
astore 1
87: iconst_2
istore 2
88: goto 120
StackMap locals:
StackMap stack:
89: aload 0
ldc "gb2312.1980-0"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 93
90: ldc "sun.font.X11GB2312"
astore 1
91: iconst_2
istore 2
92: goto 120
StackMap locals:
StackMap stack:
93: aload 0
ldc "big5"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
iflt 98
94: ldc "Big5"
astore 1
95: iconst_2
istore 2
96: iconst_1
istore 5
97: goto 120
StackMap locals:
StackMap stack:
98: aload 0
ldc "tis620.2533-0"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 101
99: ldc "TIS620"
astore 1
100: goto 120
StackMap locals:
StackMap stack:
101: aload 0
ldc "gbk-0"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 105
102: ldc "sun.font.X11GBK"
astore 1
103: iconst_2
istore 2
104: goto 120
StackMap locals:
StackMap stack:
105: aload 0
ldc "sun.unicode-0"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
iflt 109
106: ldc "sun.font.X11SunUnicode_0"
astore 1
107: iconst_2
istore 2
108: goto 120
StackMap locals:
StackMap stack:
109: aload 0
ldc "gb18030.2000-1"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
iflt 113
110: ldc "sun.font.X11GB18030_1"
astore 1
111: iconst_2
istore 2
112: goto 120
StackMap locals:
StackMap stack:
113: aload 0
ldc "gb18030.2000-0"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
iflt 117
114: ldc "sun.font.X11GB18030_0"
astore 1
115: iconst_2
istore 2
116: goto 120
StackMap locals:
StackMap stack:
117: aload 0
ldc "hkscs"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
iflt 120
118: ldc "MS950_HKSCS_XP"
astore 1
119: iconst_2
istore 2
120: StackMap locals:
StackMap stack:
new sun.font.XMap
dup
aload 1
iload 4
iload 3
iload 2
iload 5
iload 6
invokespecial sun.font.XMap.<init>:(Ljava/lang/String;IIIZZ)V
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 121 0 encoding Ljava/lang/String;
1 121 1 jclass Ljava/lang/String;
2 121 2 nBytes I
3 121 3 maxU I
4 121 4 minU I
5 121 5 addAscii Z
6 121 6 lowPartOnly Z
MethodParameters:
Name Flags
encoding
private void <init>(java.lang.String, int, int, int, boolean, boolean);
descriptor: (Ljava/lang/String;IIIZZ)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=15, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aconst_null
astore 7
start local 7 2: aload 1
ifnull 12
3: aload 1
ldc "sun.awt"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 8
4: aload 1
invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
iconst_0
anewarray java.lang.Class
invokevirtual java.lang.Class.getDeclaredConstructor:([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
iconst_0
anewarray java.lang.Object
5: invokevirtual java.lang.reflect.Constructor.newInstance:([Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.nio.charset.Charset
invokevirtual java.nio.charset.Charset.newEncoder:()Ljava/nio/charset/CharsetEncoder;
6: astore 7
7: goto 12
8: StackMap locals: sun.font.XMap java.lang.String int int int int int java.nio.charset.CharsetEncoder
StackMap stack:
aload 1
invokestatic java.nio.charset.Charset.forName:(Ljava/lang/String;)Ljava/nio/charset/Charset;
invokevirtual java.nio.charset.Charset.newEncoder:()Ljava/nio/charset/CharsetEncoder;
astore 7
9: goto 12
StackMap locals:
StackMap stack: java.lang.Exception
10: astore 8
start local 8 11: aload 8
invokevirtual java.lang.Exception.printStackTrace:()V
end local 8 12: StackMap locals:
StackMap stack:
aload 7
ifnonnull 20
13: aload 0
sipush 256
newarray 5
putfield sun.font.XMap.convertedGlyphs:[C
14: iconst_0
istore 8
start local 8 15: goto 18
16: StackMap locals: int
StackMap stack:
aload 0
getfield sun.font.XMap.convertedGlyphs:[C
iload 8
iload 8
i2c
castore
17: iinc 8 1
StackMap locals:
StackMap stack:
18: iload 8
sipush 256
if_icmplt 16
end local 8 19: return
20: StackMap locals:
StackMap stack:
iload 3
iload 2
isub
iconst_1
iadd
istore 8
start local 8 21: iload 8
iload 4
imul
newarray 8
astore 9
start local 9 22: iload 8
newarray 5
astore 10
start local 10 23: iconst_0
istore 11
start local 11 24: goto 27
25: StackMap locals: sun.font.XMap java.lang.String int int int int int java.nio.charset.CharsetEncoder int byte[] char[] int
StackMap stack:
aload 10
iload 11
iload 2
iload 11
iadd
i2c
castore
26: iinc 11 1
StackMap locals:
StackMap stack:
27: iload 11
iload 8
if_icmplt 25
end local 11 28: iconst_0
istore 11
start local 11 29: iload 4
iconst_1
if_icmple 31
iload 2
sipush 256
if_icmpge 31
30: sipush 256
iload 2
isub
istore 11
31: StackMap locals:
StackMap stack:
iload 4
newarray 8
astore 12
start local 12 32: iconst_0
istore 13
start local 13 33: iconst_0
istore 14
start local 14 34: iload 11
ldc 55296
if_icmpge 45
iload 11
iload 8
iadd
ldc 57343
if_icmple 45
35: ldc 55296
iload 11
isub
istore 13
36: iload 13
iload 4
imul
istore 14
37: aload 7
getstatic java.nio.charset.CodingErrorAction.REPLACE:Ljava/nio/charset/CodingErrorAction;
invokevirtual java.nio.charset.CharsetEncoder.onMalformedInput:(Ljava/nio/charset/CodingErrorAction;)Ljava/nio/charset/CharsetEncoder;
38: getstatic java.nio.charset.CodingErrorAction.REPLACE:Ljava/nio/charset/CodingErrorAction;
invokevirtual java.nio.charset.CharsetEncoder.onUnmappableCharacter:(Ljava/nio/charset/CodingErrorAction;)Ljava/nio/charset/CharsetEncoder;
39: aload 12
invokevirtual java.nio.charset.CharsetEncoder.replaceWith:([B)Ljava/nio/charset/CharsetEncoder;
40: aload 10
iload 11
iload 13
invokestatic java.nio.CharBuffer.wrap:([CII)Ljava/nio/CharBuffer;
41: aload 9
iload 11
iload 4
imul
iload 14
invokestatic java.nio.ByteBuffer.wrap:([BII)Ljava/nio/ByteBuffer;
42: iconst_1
43: invokevirtual java.nio.charset.CharsetEncoder.encode:(Ljava/nio/CharBuffer;Ljava/nio/ByteBuffer;Z)Ljava/nio/charset/CoderResult;
pop
44: ldc 57344
istore 11
45: StackMap locals: byte[] int int
StackMap stack:
iload 8
iload 11
isub
istore 13
46: iload 13
iload 4
imul
istore 14
47: aload 7
getstatic java.nio.charset.CodingErrorAction.REPLACE:Ljava/nio/charset/CodingErrorAction;
invokevirtual java.nio.charset.CharsetEncoder.onMalformedInput:(Ljava/nio/charset/CodingErrorAction;)Ljava/nio/charset/CharsetEncoder;
48: getstatic java.nio.charset.CodingErrorAction.REPLACE:Ljava/nio/charset/CodingErrorAction;
invokevirtual java.nio.charset.CharsetEncoder.onUnmappableCharacter:(Ljava/nio/charset/CodingErrorAction;)Ljava/nio/charset/CharsetEncoder;
49: aload 12
invokevirtual java.nio.charset.CharsetEncoder.replaceWith:([B)Ljava/nio/charset/CharsetEncoder;
50: aload 10
iload 11
iload 13
invokestatic java.nio.CharBuffer.wrap:([CII)Ljava/nio/CharBuffer;
51: aload 9
iload 11
iload 4
imul
iload 14
invokestatic java.nio.ByteBuffer.wrap:([BII)Ljava/nio/ByteBuffer;
52: iconst_1
53: invokevirtual java.nio.charset.CharsetEncoder.encode:(Ljava/nio/CharBuffer;Ljava/nio/ByteBuffer;Z)Ljava/nio/charset/CoderResult;
pop
end local 14 end local 13 54: goto 57
StackMap locals: sun.font.XMap java.lang.String int int int int int java.nio.charset.CharsetEncoder int byte[] char[] int byte[]
StackMap stack: java.lang.Exception
55: astore 13
start local 13 56: aload 13
invokevirtual java.lang.Exception.printStackTrace:()V
end local 13 57: StackMap locals:
StackMap stack:
aload 0
ldc 65536
newarray 5
putfield sun.font.XMap.convertedGlyphs:[C
58: iconst_0
istore 13
start local 13 59: goto 67
60: StackMap locals: int
StackMap stack:
iload 4
iconst_1
if_icmpne 63
61: aload 0
getfield sun.font.XMap.convertedGlyphs:[C
iload 13
iload 2
iadd
aload 9
iload 13
baload
sipush 255
iand
i2c
castore
62: goto 66
63: StackMap locals:
StackMap stack:
aload 0
getfield sun.font.XMap.convertedGlyphs:[C
iload 13
iload 2
iadd
64: aload 9
iload 13
iconst_2
imul
baload
sipush 255
iand
bipush 8
ishl
aload 9
iload 13
iconst_2
imul
iconst_1
iadd
baload
sipush 255
iand
iadd
i2c
65: castore
66: StackMap locals:
StackMap stack:
iinc 13 1
StackMap locals:
StackMap stack:
67: iload 13
iload 8
if_icmplt 60
end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 68: iload 6
ifeq 69
sipush 128
goto 70
StackMap locals: sun.font.XMap java.lang.String int int int int int java.nio.charset.CharsetEncoder
StackMap stack:
69: sipush 256
StackMap locals:
StackMap stack: int
70: istore 8
start local 8 71: iload 5
ifeq 78
aload 0
getfield sun.font.XMap.convertedGlyphs:[C
arraylength
sipush 256
if_icmplt 78
72: iconst_0
istore 9
start local 9 73: goto 77
74: StackMap locals: int int
StackMap stack:
aload 0
getfield sun.font.XMap.convertedGlyphs:[C
iload 9
caload
ifne 76
75: aload 0
getfield sun.font.XMap.convertedGlyphs:[C
iload 9
iload 9
i2c
castore
76: StackMap locals:
StackMap stack:
iinc 9 1
StackMap locals:
StackMap stack:
77: iload 9
iload 8
if_icmplt 74
end local 9 78: StackMap locals:
StackMap stack:
return
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 79 0 this Lsun/font/XMap;
0 79 1 className Ljava/lang/String;
0 79 2 minU I
0 79 3 maxU I
0 79 4 nBytes I
0 79 5 addAscii Z
0 79 6 lowPartOnly Z
2 79 7 enc Ljava/nio/charset/CharsetEncoder;
11 12 8 x Ljava/lang/Exception;
15 19 8 i I
21 68 8 count I
22 68 9 bytes [B
23 68 10 chars [C
24 28 11 i I
29 68 11 startCharIndex I
32 68 12 rbytes [B
33 54 13 cbLen I
34 54 14 bbLen I
56 57 13 e Ljava/lang/Exception;
59 68 13 i I
71 79 8 max I
73 78 9 i I
Exception table:
from to target type
3 9 10 Class java.lang.Exception
32 54 55 Class java.lang.Exception
MethodParameters:
Name Flags
className
minU
maxU
nBytes
addAscii
lowPartOnly
}
SourceFile: "XMap.java"