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 xMappers;
descriptor: Ljava/util/HashMap;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
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.awt.motif.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 "sun.awt.motif.X11JIS0208"
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 "sun.awt.motif.X11JIS0201"
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 "sun.awt.motif.X11JIS0212"
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.awt.motif.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.awt.motif.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.awt.motif.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.awt.motif.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.awt.motif.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.awt.motif.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.awt.motif.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.awt.motif.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.awt.motif.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.awt.motif.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 "sun.awt.HKSCS"
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 10
3: aload 1
ldc "sun.awt"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 6
4: aload 1
invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
invokevirtual java.lang.Class.newInstance:()Ljava/lang/Object;
checkcast java.nio.charset.Charset
invokevirtual java.nio.charset.Charset.newEncoder:()Ljava/nio/charset/CharsetEncoder;
astore 7
5: goto 10
6: 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
7: goto 10
StackMap locals:
StackMap stack: java.lang.Exception
8: astore 8
start local 8 9: aload 8
invokevirtual java.lang.Exception.printStackTrace:()V
end local 8 10: StackMap locals:
StackMap stack:
aload 7
ifnonnull 18
11: aload 0
sipush 256
newarray 5
putfield sun.font.XMap.convertedGlyphs:[C
12: iconst_0
istore 8
start local 8 13: goto 16
14: StackMap locals: int
StackMap stack:
aload 0
getfield sun.font.XMap.convertedGlyphs:[C
iload 8
iload 8
i2c
castore
15: iinc 8 1
StackMap locals:
StackMap stack:
16: iload 8
sipush 256
if_icmplt 14
end local 8 17: return
18: StackMap locals:
StackMap stack:
iload 3
iload 2
isub
iconst_1
iadd
istore 8
start local 8 19: iload 8
iload 4
imul
newarray 8
astore 9
start local 9 20: iload 8
newarray 5
astore 10
start local 10 21: iconst_0
istore 11
start local 11 22: goto 25
23: 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
24: iinc 11 1
StackMap locals:
StackMap stack:
25: iload 11
iload 8
if_icmplt 23
end local 11 26: iconst_0
istore 11
start local 11 27: iload 4
iconst_1
if_icmple 29
iload 2
sipush 256
if_icmpge 29
28: sipush 256
iload 2
isub
istore 11
29: StackMap locals:
StackMap stack:
iload 4
newarray 8
astore 12
start local 12 30: iconst_0
istore 13
start local 13 31: iconst_0
istore 14
start local 14 32: iload 11
ldc 55296
if_icmpge 43
iload 11
iload 8
iadd
ldc 57343
if_icmple 43
33: ldc 55296
iload 11
isub
istore 13
34: iload 13
iload 4
imul
istore 14
35: 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;
36: getstatic java.nio.charset.CodingErrorAction.REPLACE:Ljava/nio/charset/CodingErrorAction;
invokevirtual java.nio.charset.CharsetEncoder.onUnmappableCharacter:(Ljava/nio/charset/CodingErrorAction;)Ljava/nio/charset/CharsetEncoder;
37: aload 12
invokevirtual java.nio.charset.CharsetEncoder.replaceWith:([B)Ljava/nio/charset/CharsetEncoder;
38: aload 10
iload 11
iload 13
invokestatic java.nio.CharBuffer.wrap:([CII)Ljava/nio/CharBuffer;
39: aload 9
iload 11
iload 4
imul
iload 14
invokestatic java.nio.ByteBuffer.wrap:([BII)Ljava/nio/ByteBuffer;
40: iconst_1
41: invokevirtual java.nio.charset.CharsetEncoder.encode:(Ljava/nio/CharBuffer;Ljava/nio/ByteBuffer;Z)Ljava/nio/charset/CoderResult;
pop
42: ldc 57344
istore 11
43: StackMap locals: byte[] int int
StackMap stack:
iload 8
iload 11
isub
istore 13
44: iload 13
iload 4
imul
istore 14
45: 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;
46: getstatic java.nio.charset.CodingErrorAction.REPLACE:Ljava/nio/charset/CodingErrorAction;
invokevirtual java.nio.charset.CharsetEncoder.onUnmappableCharacter:(Ljava/nio/charset/CodingErrorAction;)Ljava/nio/charset/CharsetEncoder;
47: aload 12
invokevirtual java.nio.charset.CharsetEncoder.replaceWith:([B)Ljava/nio/charset/CharsetEncoder;
48: aload 10
iload 11
iload 13
invokestatic java.nio.CharBuffer.wrap:([CII)Ljava/nio/CharBuffer;
49: aload 9
iload 11
iload 4
imul
iload 14
invokestatic java.nio.ByteBuffer.wrap:([BII)Ljava/nio/ByteBuffer;
50: iconst_1
51: invokevirtual java.nio.charset.CharsetEncoder.encode:(Ljava/nio/CharBuffer;Ljava/nio/ByteBuffer;Z)Ljava/nio/charset/CoderResult;
pop
end local 14 end local 13 52: goto 55
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
53: astore 13
start local 13 54: aload 13
invokevirtual java.lang.Exception.printStackTrace:()V
end local 13 55: StackMap locals:
StackMap stack:
aload 0
ldc 65536
newarray 5
putfield sun.font.XMap.convertedGlyphs:[C
56: iconst_0
istore 13
start local 13 57: goto 65
58: StackMap locals: int
StackMap stack:
iload 4
iconst_1
if_icmpne 61
59: aload 0
getfield sun.font.XMap.convertedGlyphs:[C
iload 13
iload 2
iadd
aload 9
iload 13
baload
sipush 255
iand
i2c
castore
60: goto 64
61: StackMap locals:
StackMap stack:
aload 0
getfield sun.font.XMap.convertedGlyphs:[C
iload 13
iload 2
iadd
62: 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
63: castore
64: StackMap locals:
StackMap stack:
iinc 13 1
StackMap locals:
StackMap stack:
65: iload 13
iload 8
if_icmplt 58
end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 66: iload 6
ifeq 67
sipush 128
goto 68
StackMap locals: sun.font.XMap java.lang.String int int int int int java.nio.charset.CharsetEncoder
StackMap stack:
67: sipush 256
StackMap locals:
StackMap stack: int
68: istore 8
start local 8 69: iload 5
ifeq 76
aload 0
getfield sun.font.XMap.convertedGlyphs:[C
arraylength
sipush 256
if_icmplt 76
70: iconst_0
istore 9
start local 9 71: goto 75
72: StackMap locals: int int
StackMap stack:
aload 0
getfield sun.font.XMap.convertedGlyphs:[C
iload 9
caload
ifne 74
73: aload 0
getfield sun.font.XMap.convertedGlyphs:[C
iload 9
iload 9
i2c
castore
74: StackMap locals:
StackMap stack:
iinc 9 1
StackMap locals:
StackMap stack:
75: iload 9
iload 8
if_icmplt 72
end local 9 76: 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 77 0 this Lsun/font/XMap;
0 77 1 className Ljava/lang/String;
0 77 2 minU I
0 77 3 maxU I
0 77 4 nBytes I
0 77 5 addAscii Z
0 77 6 lowPartOnly Z
2 77 7 enc Ljava/nio/charset/CharsetEncoder;
9 10 8 x Ljava/lang/Exception;
13 17 8 i I
19 66 8 count I
20 66 9 bytes [B
21 66 10 chars [C
22 26 11 i I
27 66 11 startCharIndex I
30 66 12 rbytes [B
31 52 13 cbLen I
32 52 14 bbLen I
54 55 13 e Ljava/lang/Exception;
57 66 13 i I
69 77 8 max I
71 76 9 i I
Exception table:
from to target type
3 7 8 Class java.lang.Exception
30 52 53 Class java.lang.Exception
MethodParameters:
Name Flags
className
minU
maxU
nBytes
addAscii
lowPartOnly
}
SourceFile: "XMap.java"