public abstract class sun.awt.PlatformFont implements java.awt.peer.FontPeer
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: sun.awt.PlatformFont
super_class: java.lang.Object
{
protected sun.awt.FontDescriptor[] componentFonts;
descriptor: [Lsun/awt/FontDescriptor;
flags: (0x0004) ACC_PROTECTED
protected char defaultChar;
descriptor: C
flags: (0x0004) ACC_PROTECTED
protected sun.awt.FontConfiguration fontConfig;
descriptor: Lsun/awt/FontConfiguration;
flags: (0x0004) ACC_PROTECTED
protected sun.awt.FontDescriptor defaultFont;
descriptor: Lsun/awt/FontDescriptor;
flags: (0x0004) ACC_PROTECTED
protected java.lang.String familyName;
descriptor: Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
private java.lang.Object[] fontCache;
descriptor: [Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
protected static int FONTCACHESIZE;
descriptor: I
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
protected static int FONTCACHEMASK;
descriptor: I
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
protected static java.lang.String osVersion;
descriptor: Ljava/lang/String;
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: invokestatic sun.awt.NativeLibLoader.loadLibraries:()V
1: invokestatic sun.awt.PlatformFont.initIDs:()V
2: sipush 256
putstatic sun.awt.PlatformFont.FONTCACHESIZE:I
3: getstatic sun.awt.PlatformFont.FONTCACHESIZE:I
iconst_1
isub
putstatic sun.awt.PlatformFont.FONTCACHEMASK:I
4: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.lang.String, int);
descriptor: (Ljava/lang/String;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: invokestatic sun.font.SunFontManager.getInstance:()Lsun/font/SunFontManager;
astore 3
start local 3 2: aload 3
instanceof sun.java2d.FontSupport
ifeq 4
3: aload 0
aload 3
invokeinterface sun.java2d.FontSupport.getFontConfiguration:()Lsun/awt/FontConfiguration;
putfield sun.awt.PlatformFont.fontConfig:Lsun/awt/FontConfiguration;
4: StackMap locals: sun.awt.PlatformFont java.lang.String int sun.font.SunFontManager
StackMap stack:
aload 0
getfield sun.awt.PlatformFont.fontConfig:Lsun/awt/FontConfiguration;
ifnonnull 6
5: return
6: StackMap locals:
StackMap stack:
aload 0
aload 1
getstatic java.util.Locale.ENGLISH:Ljava/util/Locale;
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
putfield sun.awt.PlatformFont.familyName:Ljava/lang/String;
7: aload 0
getfield sun.awt.PlatformFont.familyName:Ljava/lang/String;
invokestatic sun.awt.FontConfiguration.isLogicalFontFamilyName:(Ljava/lang/String;)Z
ifne 9
8: aload 0
aload 0
getfield sun.awt.PlatformFont.fontConfig:Lsun/awt/FontConfiguration;
aload 0
getfield sun.awt.PlatformFont.familyName:Ljava/lang/String;
ldc "sansserif"
invokevirtual sun.awt.FontConfiguration.getFallbackFamilyName:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
putfield sun.awt.PlatformFont.familyName:Ljava/lang/String;
9: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield sun.awt.PlatformFont.fontConfig:Lsun/awt/FontConfiguration;
aload 0
getfield sun.awt.PlatformFont.familyName:Ljava/lang/String;
iload 2
invokevirtual sun.awt.FontConfiguration.getFontDescriptors:(Ljava/lang/String;I)[Lsun/awt/FontDescriptor;
putfield sun.awt.PlatformFont.componentFonts:[Lsun/awt/FontDescriptor;
10: aload 0
invokevirtual sun.awt.PlatformFont.getMissingGlyphCharacter:()C
istore 4
start local 4 11: aload 0
bipush 63
putfield sun.awt.PlatformFont.defaultChar:C
12: aload 0
getfield sun.awt.PlatformFont.componentFonts:[Lsun/awt/FontDescriptor;
arraylength
ifle 14
13: aload 0
aload 0
getfield sun.awt.PlatformFont.componentFonts:[Lsun/awt/FontDescriptor;
iconst_0
aaload
putfield sun.awt.PlatformFont.defaultFont:Lsun/awt/FontDescriptor;
14: StackMap locals: int
StackMap stack:
iconst_0
istore 5
start local 5 15: goto 23
16: StackMap locals: int
StackMap stack:
aload 0
getfield sun.awt.PlatformFont.componentFonts:[Lsun/awt/FontDescriptor;
iload 5
aaload
iload 4
invokevirtual sun.awt.FontDescriptor.isExcluded:(C)Z
ifeq 18
17: goto 22
18: StackMap locals:
StackMap stack:
aload 0
getfield sun.awt.PlatformFont.componentFonts:[Lsun/awt/FontDescriptor;
iload 5
aaload
getfield sun.awt.FontDescriptor.encoder:Ljava/nio/charset/CharsetEncoder;
iload 4
invokevirtual java.nio.charset.CharsetEncoder.canEncode:(C)Z
ifeq 22
19: aload 0
aload 0
getfield sun.awt.PlatformFont.componentFonts:[Lsun/awt/FontDescriptor;
iload 5
aaload
putfield sun.awt.PlatformFont.defaultFont:Lsun/awt/FontDescriptor;
20: aload 0
iload 4
putfield sun.awt.PlatformFont.defaultChar:C
21: goto 24
22: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
23: iload 5
aload 0
getfield sun.awt.PlatformFont.componentFonts:[Lsun/awt/FontDescriptor;
arraylength
if_icmplt 16
end local 5 24: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lsun/awt/PlatformFont;
0 25 1 name Ljava/lang/String;
0 25 2 style I
2 25 3 sfm Lsun/font/SunFontManager;
11 25 4 missingGlyphCharacter C
15 24 5 i I
MethodParameters:
Name Flags
name
style
protected abstract char getMissingGlyphCharacter();
descriptor: ()C
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
public sun.awt.CharsetString[] makeMultiCharsetString(java.lang.String);
descriptor: (Ljava/lang/String;)[Lsun/awt/CharsetString;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual java.lang.String.toCharArray:()[C
iconst_0
aload 1
invokevirtual java.lang.String.length:()I
iconst_1
invokevirtual sun.awt.PlatformFont.makeMultiCharsetString:([CIIZ)[Lsun/awt/CharsetString;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/PlatformFont;
0 1 1 str Ljava/lang/String;
MethodParameters:
Name Flags
str
public sun.awt.CharsetString[] makeMultiCharsetString(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)[Lsun/awt/CharsetString;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual java.lang.String.toCharArray:()[C
iconst_0
aload 1
invokevirtual java.lang.String.length:()I
iload 2
invokevirtual sun.awt.PlatformFont.makeMultiCharsetString:([CIIZ)[Lsun/awt/CharsetString;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/PlatformFont;
0 1 1 str Ljava/lang/String;
0 1 2 allowdefault Z
MethodParameters:
Name Flags
str
allowdefault
public sun.awt.CharsetString[] makeMultiCharsetString(char[], int, int);
descriptor: ([CII)[Lsun/awt/CharsetString;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
iload 2
iload 3
iconst_1
invokevirtual sun.awt.PlatformFont.makeMultiCharsetString:([CIIZ)[Lsun/awt/CharsetString;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/PlatformFont;
0 1 1 str [C
0 1 2 offset I
0 1 3 len I
MethodParameters:
Name Flags
str
offset
len
public sun.awt.CharsetString[] makeMultiCharsetString(char[], int, int, boolean);
descriptor: ([CIIZ)[Lsun/awt/CharsetString;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=15, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: iload 3
iconst_1
if_icmpge 2
1: iconst_0
anewarray sun.awt.CharsetString
areturn
2: StackMap locals:
StackMap stack:
aconst_null
astore 5
start local 5 3: iload 3
newarray 5
astore 6
start local 6 4: aload 0
getfield sun.awt.PlatformFont.defaultChar:C
istore 7
start local 7 5: iconst_0
istore 8
start local 8 6: aload 0
getfield sun.awt.PlatformFont.defaultFont:Lsun/awt/FontDescriptor;
astore 9
start local 9 7: iconst_0
istore 10
start local 10 8: goto 17
9: StackMap locals: sun.awt.PlatformFont char[] int int int java.util.Vector char[] int int sun.awt.FontDescriptor int
StackMap stack:
aload 0
getfield sun.awt.PlatformFont.componentFonts:[Lsun/awt/FontDescriptor;
iload 10
aaload
aload 1
iload 2
caload
invokevirtual sun.awt.FontDescriptor.isExcluded:(C)Z
ifeq 11
10: goto 16
11: StackMap locals:
StackMap stack:
aload 0
getfield sun.awt.PlatformFont.componentFonts:[Lsun/awt/FontDescriptor;
iload 10
aaload
getfield sun.awt.FontDescriptor.encoder:Ljava/nio/charset/CharsetEncoder;
aload 1
iload 2
caload
invokevirtual java.nio.charset.CharsetEncoder.canEncode:(C)Z
ifeq 16
12: aload 0
getfield sun.awt.PlatformFont.componentFonts:[Lsun/awt/FontDescriptor;
iload 10
aaload
astore 9
13: aload 1
iload 2
caload
istore 7
14: iconst_1
istore 8
15: goto 18
16: StackMap locals:
StackMap stack:
iinc 10 1
StackMap locals:
StackMap stack:
17: iload 10
aload 0
getfield sun.awt.PlatformFont.componentFonts:[Lsun/awt/FontDescriptor;
arraylength
if_icmplt 9
end local 10 18: StackMap locals:
StackMap stack:
iload 4
ifne 20
iload 8
ifne 20
19: aconst_null
areturn
20: StackMap locals:
StackMap stack:
aload 6
iconst_0
iload 7
castore
21: iconst_0
istore 10
start local 10 22: iconst_1
istore 11
start local 11 23: goto 52
24: StackMap locals: int int
StackMap stack:
aload 1
iload 2
iload 11
iadd
caload
istore 12
start local 12 25: aload 0
getfield sun.awt.PlatformFont.defaultFont:Lsun/awt/FontDescriptor;
astore 13
start local 13 26: aload 0
getfield sun.awt.PlatformFont.defaultChar:C
istore 7
27: iconst_0
istore 8
28: iconst_0
istore 14
start local 14 29: goto 38
30: StackMap locals: int sun.awt.FontDescriptor int
StackMap stack:
aload 0
getfield sun.awt.PlatformFont.componentFonts:[Lsun/awt/FontDescriptor;
iload 14
aaload
iload 12
invokevirtual sun.awt.FontDescriptor.isExcluded:(C)Z
ifeq 32
31: goto 37
32: StackMap locals:
StackMap stack:
aload 0
getfield sun.awt.PlatformFont.componentFonts:[Lsun/awt/FontDescriptor;
iload 14
aaload
getfield sun.awt.FontDescriptor.encoder:Ljava/nio/charset/CharsetEncoder;
iload 12
invokevirtual java.nio.charset.CharsetEncoder.canEncode:(C)Z
ifeq 37
33: aload 0
getfield sun.awt.PlatformFont.componentFonts:[Lsun/awt/FontDescriptor;
iload 14
aaload
astore 13
34: iload 12
istore 7
35: iconst_1
istore 8
36: goto 39
37: StackMap locals:
StackMap stack:
iinc 14 1
StackMap locals:
StackMap stack:
38: iload 14
aload 0
getfield sun.awt.PlatformFont.componentFonts:[Lsun/awt/FontDescriptor;
arraylength
if_icmplt 30
end local 14 39: StackMap locals:
StackMap stack:
iload 4
ifne 41
iload 8
ifne 41
40: aconst_null
areturn
41: StackMap locals:
StackMap stack:
aload 6
iload 11
iload 7
castore
42: aload 9
aload 13
if_acmpeq 51
43: aload 5
ifnonnull 45
44: new java.util.Vector
dup
iconst_3
invokespecial java.util.Vector.<init>:(I)V
astore 5
45: StackMap locals:
StackMap stack:
aload 5
new sun.awt.CharsetString
dup
aload 6
iload 10
46: iload 11
iload 10
isub
aload 9
invokespecial sun.awt.CharsetString.<init>:([CIILsun/awt/FontDescriptor;)V
47: invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
48: aload 13
astore 9
49: aload 0
getfield sun.awt.PlatformFont.defaultFont:Lsun/awt/FontDescriptor;
astore 13
50: iload 11
istore 10
end local 13 end local 12 51: StackMap locals:
StackMap stack:
iinc 11 1
StackMap locals:
StackMap stack:
52: iload 11
iload 3
if_icmplt 24
end local 11 53: new sun.awt.CharsetString
dup
aload 6
iload 10
54: iload 3
iload 10
isub
aload 9
55: invokespecial sun.awt.CharsetString.<init>:([CIILsun/awt/FontDescriptor;)V
astore 12
start local 12 56: aload 5
ifnonnull 60
57: iconst_1
anewarray sun.awt.CharsetString
astore 11
start local 11 58: aload 11
iconst_0
aload 12
aastore
59: goto 67
end local 11 60: StackMap locals: sun.awt.PlatformFont char[] int int int java.util.Vector char[] int int sun.awt.FontDescriptor int top sun.awt.CharsetString
StackMap stack:
aload 5
aload 12
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
61: aload 5
invokevirtual java.util.Vector.size:()I
anewarray sun.awt.CharsetString
astore 11
start local 11 62: iconst_0
istore 13
start local 13 63: goto 66
64: StackMap locals: sun.awt.PlatformFont char[] int int int java.util.Vector char[] int int sun.awt.FontDescriptor int sun.awt.CharsetString[] sun.awt.CharsetString int
StackMap stack:
aload 11
iload 13
aload 5
iload 13
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
checkcast sun.awt.CharsetString
aastore
65: iinc 13 1
StackMap locals:
StackMap stack:
66: iload 13
aload 5
invokevirtual java.util.Vector.size:()I
if_icmplt 64
end local 13 67: StackMap locals:
StackMap stack:
aload 11
areturn
end local 12 end local 11 end local 10 end local 9 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 68 0 this Lsun/awt/PlatformFont;
0 68 1 str [C
0 68 2 offset I
0 68 3 len I
0 68 4 allowDefault Z
3 68 5 mcs Ljava/util/Vector;
4 68 6 tmpStr [C
5 68 7 tmpChar C
6 68 8 encoded Z
7 68 9 currentFont Lsun/awt/FontDescriptor;
8 18 10 i I
22 68 10 lastIndex I
23 53 11 i I
25 51 12 ch C
26 51 13 fd Lsun/awt/FontDescriptor;
29 39 14 j I
58 60 11 result [Lsun/awt/CharsetString;
62 68 11 result [Lsun/awt/CharsetString;
56 68 12 cs Lsun/awt/CharsetString;
63 67 13 i I
MethodParameters:
Name Flags
str
offset
len
allowDefault
public boolean mightHaveMultiFontMetrics();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.awt.PlatformFont.fontConfig:Lsun/awt/FontConfiguration;
ifnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/PlatformFont;
public java.lang.Object[] makeConvertedMultiFontString(java.lang.String);
descriptor: (Ljava/lang/String;)[Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual java.lang.String.toCharArray:()[C
iconst_0
aload 1
invokevirtual java.lang.String.length:()I
invokevirtual sun.awt.PlatformFont.makeConvertedMultiFontChars:([CII)[Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/PlatformFont;
0 1 1 str Ljava/lang/String;
MethodParameters:
Name Flags
str
public java.lang.Object[] makeConvertedMultiFontChars(char[], int, int);
descriptor: ([CII)[Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=19, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iconst_2
anewarray java.lang.Object
astore 4
start local 4 1: aconst_null
astore 5
start local 5 2: iload 2
istore 6
start local 6 3: iconst_0
istore 7
start local 7 4: iconst_0
istore 8
start local 8 5: aconst_null
astore 10
start local 10 6: aconst_null
astore 11
start local 11 7: iload 2
iload 3
iadd
istore 14
start local 14 8: iload 2
iflt 9
iload 14
aload 1
arraylength
if_icmple 10
9: StackMap locals: sun.awt.PlatformFont char[] int int java.lang.Object[] byte[] int int int top sun.awt.FontDescriptor sun.awt.FontDescriptor top top int
StackMap stack:
new java.lang.ArrayIndexOutOfBoundsException
dup
invokespecial java.lang.ArrayIndexOutOfBoundsException.<init>:()V
athrow
10: StackMap locals:
StackMap stack:
iload 6
iload 14
if_icmplt 105
11: aconst_null
areturn
12: StackMap locals:
StackMap stack:
aload 1
iload 6
caload
istore 12
start local 12 13: iload 12
getstatic sun.awt.PlatformFont.FONTCACHEMASK:I
iand
istore 9
start local 9 14: aload 0
invokevirtual sun.awt.PlatformFont.getFontCache:()[Ljava/lang/Object;
iload 9
aaload
checkcast sun.awt.PlatformFont$PlatformFontCache
astore 13
start local 13 15: aload 13
ifnull 16
aload 13
getfield sun.awt.PlatformFont$PlatformFontCache.uniChar:C
iload 12
if_icmpeq 55
16: StackMap locals: sun.awt.PlatformFont char[] int int java.lang.Object[] byte[] int int int int sun.awt.FontDescriptor sun.awt.FontDescriptor int sun.awt.PlatformFont$PlatformFontCache int
StackMap stack:
aload 0
getfield sun.awt.PlatformFont.defaultFont:Lsun/awt/FontDescriptor;
astore 10
17: aload 0
getfield sun.awt.PlatformFont.defaultChar:C
istore 12
18: aload 1
iload 6
caload
istore 15
start local 15 19: aload 0
getfield sun.awt.PlatformFont.componentFonts:[Lsun/awt/FontDescriptor;
arraylength
istore 16
start local 16 20: iconst_0
istore 17
start local 17 21: goto 31
22: StackMap locals: int int int
StackMap stack:
aload 0
getfield sun.awt.PlatformFont.componentFonts:[Lsun/awt/FontDescriptor;
iload 17
aaload
astore 18
start local 18 23: aload 18
getfield sun.awt.FontDescriptor.encoder:Ljava/nio/charset/CharsetEncoder;
invokevirtual java.nio.charset.CharsetEncoder.reset:()Ljava/nio/charset/CharsetEncoder;
pop
24: aload 18
iload 15
invokevirtual sun.awt.FontDescriptor.isExcluded:(C)Z
ifeq 26
25: goto 30
26: StackMap locals: sun.awt.FontDescriptor
StackMap stack:
aload 18
getfield sun.awt.FontDescriptor.encoder:Ljava/nio/charset/CharsetEncoder;
iload 15
invokevirtual java.nio.charset.CharsetEncoder.canEncode:(C)Z
ifeq 30
27: aload 18
astore 10
28: iload 15
istore 12
29: goto 32
end local 18 30: StackMap locals:
StackMap stack:
iinc 17 1
StackMap locals:
StackMap stack:
31: iload 17
iload 16
if_icmplt 22
end local 17 32: StackMap locals:
StackMap stack:
iconst_1
newarray 5
astore 17
start local 17 33: aload 17
iconst_0
iload 12
castore
34: new sun.awt.PlatformFont$PlatformFontCache
dup
aload 0
invokespecial sun.awt.PlatformFont$PlatformFontCache.<init>:(Lsun/awt/PlatformFont;)V
astore 13
35: aload 10
invokevirtual sun.awt.FontDescriptor.useUnicode:()Z
ifeq 43
36: getstatic sun.awt.FontDescriptor.isLE:Z
ifeq 40
37: aload 13
getfield sun.awt.PlatformFont$PlatformFontCache.bb:Ljava/nio/ByteBuffer;
aload 17
iconst_0
caload
sipush 255
iand
i2b
invokevirtual java.nio.ByteBuffer.put:(B)Ljava/nio/ByteBuffer;
pop
38: aload 13
getfield sun.awt.PlatformFont$PlatformFontCache.bb:Ljava/nio/ByteBuffer;
aload 17
iconst_0
caload
bipush 8
ishr
i2b
invokevirtual java.nio.ByteBuffer.put:(B)Ljava/nio/ByteBuffer;
pop
39: goto 47
40: StackMap locals: char[]
StackMap stack:
aload 13
getfield sun.awt.PlatformFont$PlatformFontCache.bb:Ljava/nio/ByteBuffer;
aload 17
iconst_0
caload
bipush 8
ishr
i2b
invokevirtual java.nio.ByteBuffer.put:(B)Ljava/nio/ByteBuffer;
pop
41: aload 13
getfield sun.awt.PlatformFont$PlatformFontCache.bb:Ljava/nio/ByteBuffer;
aload 17
iconst_0
caload
sipush 255
iand
i2b
invokevirtual java.nio.ByteBuffer.put:(B)Ljava/nio/ByteBuffer;
pop
42: goto 47
43: StackMap locals:
StackMap stack:
aload 10
getfield sun.awt.FontDescriptor.encoder:Ljava/nio/charset/CharsetEncoder;
aload 17
invokestatic java.nio.CharBuffer.wrap:([C)Ljava/nio/CharBuffer;
44: aload 13
getfield sun.awt.PlatformFont$PlatformFontCache.bb:Ljava/nio/ByteBuffer;
45: iconst_1
46: invokevirtual java.nio.charset.CharsetEncoder.encode:(Ljava/nio/CharBuffer;Ljava/nio/ByteBuffer;Z)Ljava/nio/charset/CoderResult;
pop
47: StackMap locals:
StackMap stack:
aload 13
aload 10
putfield sun.awt.PlatformFont$PlatformFontCache.fontDescriptor:Lsun/awt/FontDescriptor;
48: aload 13
aload 1
iload 6
caload
putfield sun.awt.PlatformFont$PlatformFontCache.uniChar:C
49: aload 0
invokevirtual sun.awt.PlatformFont.getFontCache:()[Ljava/lang/Object;
iload 9
aload 13
aastore
end local 17 50: goto 55
StackMap locals: sun.awt.PlatformFont char[] int int java.lang.Object[] byte[] int int int int sun.awt.FontDescriptor sun.awt.FontDescriptor int sun.awt.PlatformFont$PlatformFontCache int int int
StackMap stack: java.lang.Exception
51: astore 17
start local 17 52: getstatic java.lang.System.err:Ljava/io/PrintStream;
aload 17
invokevirtual java.io.PrintStream.println:(Ljava/lang/Object;)V
53: aload 17
invokevirtual java.lang.Exception.printStackTrace:()V
54: aconst_null
areturn
end local 17 end local 16 end local 15 55: StackMap locals:
StackMap stack:
aload 11
aload 13
getfield sun.awt.PlatformFont$PlatformFontCache.fontDescriptor:Lsun/awt/FontDescriptor;
if_acmpeq 85
56: aload 11
ifnull 71
57: aload 4
iload 8
iinc 8 1
aload 11
aastore
58: aload 4
iload 8
iinc 8 1
aload 5
aastore
59: aload 5
ifnull 65
60: iinc 7 -4
61: aload 5
iconst_0
iload 7
bipush 24
ishr
i2b
bastore
62: aload 5
iconst_1
iload 7
bipush 16
ishr
i2b
bastore
63: aload 5
iconst_2
iload 7
bipush 8
ishr
i2b
bastore
64: aload 5
iconst_3
iload 7
i2b
bastore
65: StackMap locals:
StackMap stack:
iload 8
aload 4
arraylength
if_icmplt 71
66: aload 4
arraylength
iconst_2
imul
anewarray java.lang.Object
astore 15
start local 15 67: aload 4
iconst_0
aload 15
iconst_0
68: aload 4
arraylength
69: invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
70: aload 15
astore 4
end local 15 71: StackMap locals:
StackMap stack:
aload 13
getfield sun.awt.PlatformFont$PlatformFontCache.fontDescriptor:Lsun/awt/FontDescriptor;
invokevirtual sun.awt.FontDescriptor.useUnicode:()Z
ifeq 78
72: iload 14
iload 6
isub
iconst_1
iadd
73: aload 13
getfield sun.awt.PlatformFont$PlatformFontCache.fontDescriptor:Lsun/awt/FontDescriptor;
getfield sun.awt.FontDescriptor.unicodeEncoder:Ljava/nio/charset/CharsetEncoder;
invokevirtual java.nio.charset.CharsetEncoder.maxBytesPerChar:()F
f2i
74: imul
75: iconst_4
76: iadd
newarray 8
astore 5
77: goto 83
78: StackMap locals:
StackMap stack:
iload 14
iload 6
isub
iconst_1
iadd
79: aload 13
getfield sun.awt.PlatformFont$PlatformFontCache.fontDescriptor:Lsun/awt/FontDescriptor;
getfield sun.awt.FontDescriptor.encoder:Ljava/nio/charset/CharsetEncoder;
invokevirtual java.nio.charset.CharsetEncoder.maxBytesPerChar:()F
f2i
80: imul
81: iconst_4
82: iadd
newarray 8
astore 5
83: StackMap locals:
StackMap stack:
iconst_4
istore 7
84: aload 13
getfield sun.awt.PlatformFont$PlatformFontCache.fontDescriptor:Lsun/awt/FontDescriptor;
astore 11
85: StackMap locals:
StackMap stack:
aload 13
getfield sun.awt.PlatformFont$PlatformFontCache.bb:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.array:()[B
astore 15
start local 15 86: aload 13
getfield sun.awt.PlatformFont$PlatformFontCache.bb:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.position:()I
istore 16
start local 16 87: iload 16
iconst_1
if_icmpne 90
88: aload 5
iload 7
iinc 7 1
aload 15
iconst_0
baload
bastore
89: goto 104
90: StackMap locals: byte[] int
StackMap stack:
iload 16
iconst_2
if_icmpne 94
91: aload 5
iload 7
iinc 7 1
aload 15
iconst_0
baload
bastore
92: aload 5
iload 7
iinc 7 1
aload 15
iconst_1
baload
bastore
93: goto 104
StackMap locals:
StackMap stack:
94: iload 16
iconst_3
if_icmpne 99
95: aload 5
iload 7
iinc 7 1
aload 15
iconst_0
baload
bastore
96: aload 5
iload 7
iinc 7 1
aload 15
iconst_1
baload
bastore
97: aload 5
iload 7
iinc 7 1
aload 15
iconst_2
baload
bastore
98: goto 104
StackMap locals:
StackMap stack:
99: iload 16
iconst_4
if_icmpne 104
100: aload 5
iload 7
iinc 7 1
aload 15
iconst_0
baload
bastore
101: aload 5
iload 7
iinc 7 1
aload 15
iconst_1
baload
bastore
102: aload 5
iload 7
iinc 7 1
aload 15
iconst_2
baload
bastore
103: aload 5
iload 7
iinc 7 1
aload 15
iconst_3
baload
bastore
104: StackMap locals:
StackMap stack:
iinc 6 1
end local 16 end local 15 end local 13 end local 12 end local 9 105: StackMap locals: sun.awt.PlatformFont char[] int int java.lang.Object[] byte[] int int int top sun.awt.FontDescriptor sun.awt.FontDescriptor top top int
StackMap stack:
iload 6
iload 14
if_icmplt 12
106: aload 4
iload 8
iinc 8 1
aload 11
aastore
107: aload 4
iload 8
aload 5
aastore
108: aload 5
ifnull 114
109: iinc 7 -4
110: aload 5
iconst_0
iload 7
bipush 24
ishr
i2b
bastore
111: aload 5
iconst_1
iload 7
bipush 16
ishr
i2b
bastore
112: aload 5
iconst_2
iload 7
bipush 8
ishr
i2b
bastore
113: aload 5
iconst_3
iload 7
i2b
bastore
114: StackMap locals:
StackMap stack:
aload 4
areturn
end local 14 end local 11 end local 10 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 115 0 this Lsun/awt/PlatformFont;
0 115 1 data [C
0 115 2 start I
0 115 3 len I
1 115 4 result [Ljava/lang/Object;
2 115 5 convertedData [B
3 115 6 stringIndex I
4 115 7 convertedDataIndex I
5 115 8 resultIndex I
14 105 9 cacheIndex I
6 115 10 currentFontDescriptor Lsun/awt/FontDescriptor;
7 115 11 lastFontDescriptor Lsun/awt/FontDescriptor;
13 105 12 currentDefaultChar C
15 105 13 theChar Lsun/awt/PlatformFont$PlatformFontCache;
8 115 14 end I
19 55 15 ch C
20 55 16 componentCount I
21 32 17 j I
23 30 18 fontDescriptor Lsun/awt/FontDescriptor;
33 50 17 input [C
52 55 17 e Ljava/lang/Exception;
67 71 15 newResult [Ljava/lang/Object;
86 105 15 ba [B
87 105 16 size I
Exception table:
from to target type
32 50 51 Class java.lang.Exception
MethodParameters:
Name Flags
data
start
len
protected final java.lang.Object[] getFontCache();
descriptor: ()[Ljava/lang/Object;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.awt.PlatformFont.fontCache:[Ljava/lang/Object;
ifnonnull 2
1: aload 0
getstatic sun.awt.PlatformFont.FONTCACHESIZE:I
anewarray java.lang.Object
putfield sun.awt.PlatformFont.fontCache:[Ljava/lang/Object;
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.awt.PlatformFont.fontCache:[Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/PlatformFont;
private static native void initIDs();
descriptor: ()V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
}
SourceFile: "PlatformFont.java"
NestMembers:
sun.awt.PlatformFont$PlatformFontCache
InnerClasses:
PlatformFontCache = sun.awt.PlatformFont$PlatformFontCache of sun.awt.PlatformFont