public final class sun.font.ScriptRun
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: sun.font.ScriptRun
super_class: java.lang.Object
{
private char[] text;
descriptor: [C
flags: (0x0002) ACC_PRIVATE
private int textStart;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int textLimit;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int scriptStart;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int scriptLimit;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int scriptCode;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int[] stack;
descriptor: [I
flags: (0x0002) ACC_PRIVATE
private int parenSP;
descriptor: I
flags: (0x0002) ACC_PRIVATE
static final int SURROGATE_START;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 65536
static final int LEAD_START;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 55296
static final int LEAD_LIMIT;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 56320
static final int TAIL_START;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 56320
static final int TAIL_LIMIT;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 57344
static final int LEAD_SURROGATE_SHIFT;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 10
static final int SURROGATE_OFFSET;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: -56613888
static final int DONE;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: -1
private static int[] pairedChars;
descriptor: [I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static final int pairedCharPower;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final int ;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: bipush 34
newarray 10
dup
iconst_0
1: bipush 40
iastore
dup
iconst_1
bipush 41
iastore
dup
iconst_2
2: bipush 60
iastore
dup
iconst_3
bipush 62
iastore
dup
iconst_4
3: bipush 91
iastore
dup
iconst_5
bipush 93
iastore
dup
bipush 6
4: bipush 123
iastore
dup
bipush 7
bipush 125
iastore
dup
bipush 8
5: sipush 171
iastore
dup
bipush 9
sipush 187
iastore
dup
bipush 10
6: sipush 8216
iastore
dup
bipush 11
sipush 8217
iastore
dup
bipush 12
7: sipush 8220
iastore
dup
bipush 13
sipush 8221
iastore
dup
bipush 14
8: sipush 8249
iastore
dup
bipush 15
sipush 8250
iastore
dup
bipush 16
9: sipush 12296
iastore
dup
bipush 17
sipush 12297
iastore
dup
bipush 18
10: sipush 12298
iastore
dup
bipush 19
sipush 12299
iastore
dup
bipush 20
11: sipush 12300
iastore
dup
bipush 21
sipush 12301
iastore
dup
bipush 22
12: sipush 12302
iastore
dup
bipush 23
sipush 12303
iastore
dup
bipush 24
13: sipush 12304
iastore
dup
bipush 25
sipush 12305
iastore
dup
bipush 26
14: sipush 12308
iastore
dup
bipush 27
sipush 12309
iastore
dup
bipush 28
15: sipush 12310
iastore
dup
bipush 29
sipush 12311
iastore
dup
bipush 30
16: sipush 12312
iastore
dup
bipush 31
sipush 12313
iastore
dup
bipush 32
17: sipush 12314
iastore
dup
bipush 33
sipush 12315
iastore
18: putstatic sun.font.ScriptRun.pairedChars:[I
19: iconst_1
getstatic sun.font.ScriptRun.pairedChars:[I
arraylength
invokestatic sun.font.ScriptRun.highBit:(I)B
ishl
putstatic sun.font.ScriptRun.pairedCharPower:I
20: getstatic sun.font.ScriptRun.pairedChars:[I
arraylength
getstatic sun.font.ScriptRun.pairedCharPower:I
isub
putstatic sun.font.ScriptRun.pairedCharExtra:I
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/font/ScriptRun;
public void <init>(char[], int, int);
descriptor: ([CII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
iload 2
iload 3
invokevirtual sun.font.ScriptRun.init:([CII)V
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/font/ScriptRun;
0 3 1 chars [C
0 3 2 start I
0 3 3 count I
MethodParameters:
Name Flags
chars
start
count
public void init(char[], int, int);
descriptor: ([CII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
ifnull 1
iload 2
iflt 1
iload 3
iflt 1
iload 3
aload 1
arraylength
iload 2
isub
if_icmple 2
1: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
invokespecial java.lang.IllegalArgumentException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield sun.font.ScriptRun.text:[C
3: aload 0
iload 2
putfield sun.font.ScriptRun.textStart:I
4: aload 0
iload 2
iload 3
iadd
putfield sun.font.ScriptRun.textLimit:I
5: aload 0
aload 0
getfield sun.font.ScriptRun.textStart:I
putfield sun.font.ScriptRun.scriptStart:I
6: aload 0
aload 0
getfield sun.font.ScriptRun.textStart:I
putfield sun.font.ScriptRun.scriptLimit:I
7: aload 0
iconst_m1
putfield sun.font.ScriptRun.scriptCode:I
8: aload 0
iconst_0
putfield sun.font.ScriptRun.parenSP:I
9: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/font/ScriptRun;
0 10 1 chars [C
0 10 2 start I
0 10 3 count I
MethodParameters:
Name Flags
chars
start
count
public int getScriptStart();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.font.ScriptRun.scriptStart:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/font/ScriptRun;
public int getScriptLimit();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.font.ScriptRun.scriptLimit:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/font/ScriptRun;
public int getScriptCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.font.ScriptRun.scriptCode:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/font/ScriptRun;
public boolean next();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=1
start local 0 0: aload 0
getfield sun.font.ScriptRun.parenSP:I
istore 1
start local 1 1: aload 0
getfield sun.font.ScriptRun.scriptLimit:I
aload 0
getfield sun.font.ScriptRun.textLimit:I
if_icmplt 3
2: iconst_0
ireturn
3: StackMap locals: int
StackMap stack:
aload 0
iconst_0
putfield sun.font.ScriptRun.scriptCode:I
4: aload 0
aload 0
getfield sun.font.ScriptRun.scriptLimit:I
putfield sun.font.ScriptRun.scriptStart:I
5: goto 43
start local 2 6: StackMap locals: int
StackMap stack:
iload 2
invokestatic sun.font.ScriptRunData.getScript:(I)I
istore 3
start local 3 7: iload 3
ifne 8
iload 2
invokestatic sun.font.ScriptRun.getPairIndex:(I)I
goto 9
StackMap locals: int
StackMap stack:
8: iconst_m1
StackMap locals:
StackMap stack: int
9: istore 4
start local 4 10: iload 4
iflt 31
11: iload 4
iconst_1
iand
ifne 22
12: aload 0
getfield sun.font.ScriptRun.stack:[I
ifnonnull 15
13: aload 0
bipush 32
newarray 10
putfield sun.font.ScriptRun.stack:[I
14: goto 19
StackMap locals: int
StackMap stack:
15: aload 0
getfield sun.font.ScriptRun.parenSP:I
aload 0
getfield sun.font.ScriptRun.stack:[I
arraylength
if_icmpne 19
16: aload 0
getfield sun.font.ScriptRun.stack:[I
arraylength
bipush 32
iadd
newarray 10
astore 5
start local 5 17: aload 0
getfield sun.font.ScriptRun.stack:[I
iconst_0
aload 5
iconst_0
aload 0
getfield sun.font.ScriptRun.stack:[I
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
18: aload 0
aload 5
putfield sun.font.ScriptRun.stack:[I
end local 5 19: StackMap locals:
StackMap stack:
aload 0
getfield sun.font.ScriptRun.stack:[I
aload 0
dup
getfield sun.font.ScriptRun.parenSP:I
dup_x1
iconst_1
iadd
putfield sun.font.ScriptRun.parenSP:I
iload 4
iastore
20: aload 0
getfield sun.font.ScriptRun.stack:[I
aload 0
dup
getfield sun.font.ScriptRun.parenSP:I
dup_x1
iconst_1
iadd
putfield sun.font.ScriptRun.parenSP:I
aload 0
getfield sun.font.ScriptRun.scriptCode:I
iastore
21: goto 31
StackMap locals:
StackMap stack:
22: aload 0
getfield sun.font.ScriptRun.parenSP:I
ifle 31
23: iload 4
bipush -2
iand
istore 5
start local 5 24: StackMap locals: int
StackMap stack:
aload 0
dup
getfield sun.font.ScriptRun.parenSP:I
iconst_2
isub
dup_x1
putfield sun.font.ScriptRun.parenSP:I
iflt 25
aload 0
getfield sun.font.ScriptRun.stack:[I
aload 0
getfield sun.font.ScriptRun.parenSP:I
iaload
iload 5
if_icmpne 24
25: StackMap locals:
StackMap stack:
aload 0
getfield sun.font.ScriptRun.parenSP:I
iflt 28
26: aload 0
getfield sun.font.ScriptRun.stack:[I
aload 0
getfield sun.font.ScriptRun.parenSP:I
iconst_1
iadd
iaload
istore 3
27: goto 29
28: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield sun.font.ScriptRun.parenSP:I
29: StackMap locals:
StackMap stack:
aload 0
getfield sun.font.ScriptRun.parenSP:I
iload 1
if_icmpge 31
30: aload 0
getfield sun.font.ScriptRun.parenSP:I
istore 1
end local 5 31: StackMap locals:
StackMap stack:
aload 0
getfield sun.font.ScriptRun.scriptCode:I
iload 3
invokestatic sun.font.ScriptRun.sameScript:(II)Z
ifeq 41
32: aload 0
getfield sun.font.ScriptRun.scriptCode:I
iconst_1
if_icmpgt 38
iload 3
iconst_1
if_icmple 38
33: aload 0
iload 3
putfield sun.font.ScriptRun.scriptCode:I
34: goto 37
35: StackMap locals:
StackMap stack:
aload 0
getfield sun.font.ScriptRun.stack:[I
iload 1
iconst_1
iadd
aload 0
getfield sun.font.ScriptRun.scriptCode:I
iastore
36: iinc 1 2
37: StackMap locals:
StackMap stack:
iload 1
aload 0
getfield sun.font.ScriptRun.parenSP:I
if_icmplt 35
38: StackMap locals:
StackMap stack:
iload 4
ifle 43
iload 4
iconst_1
iand
ifeq 43
aload 0
getfield sun.font.ScriptRun.parenSP:I
ifle 43
39: aload 0
dup
getfield sun.font.ScriptRun.parenSP:I
iconst_2
isub
putfield sun.font.ScriptRun.parenSP:I
40: goto 43
41: StackMap locals:
StackMap stack:
aload 0
iload 2
invokevirtual sun.font.ScriptRun.pushback:(I)V
42: goto 45
end local 4 end local 3 end local 2 43: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.font.ScriptRun.nextCodePoint:()I
dup
istore 2
start local 2 44: iconst_m1
if_icmpne 6
45: StackMap locals: int
StackMap stack:
iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 46 0 this Lsun/font/ScriptRun;
1 46 1 startSP I
6 43 2 ch I
44 46 2 ch I
7 43 3 sc I
10 43 4 pairIndex I
17 19 5 newstack [I
24 31 5 pi I
private int nextCodePoint();
descriptor: ()I
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=1
start local 0 0: aload 0
getfield sun.font.ScriptRun.scriptLimit:I
aload 0
getfield sun.font.ScriptRun.textLimit:I
if_icmplt 2
1: iconst_m1
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.font.ScriptRun.text:[C
aload 0
dup
getfield sun.font.ScriptRun.scriptLimit:I
dup_x1
iconst_1
iadd
putfield sun.font.ScriptRun.scriptLimit:I
caload
istore 1
start local 1 3: iload 1
ldc 55296
if_icmplt 8
iload 1
ldc 56320
if_icmpge 8
aload 0
getfield sun.font.ScriptRun.scriptLimit:I
aload 0
getfield sun.font.ScriptRun.textLimit:I
if_icmpge 8
4: aload 0
getfield sun.font.ScriptRun.text:[C
aload 0
getfield sun.font.ScriptRun.scriptLimit:I
caload
istore 2
start local 2 5: iload 2
ldc 56320
if_icmplt 8
iload 2
ldc 57344
if_icmpge 8
6: aload 0
dup
getfield sun.font.ScriptRun.scriptLimit:I
iconst_1
iadd
putfield sun.font.ScriptRun.scriptLimit:I
7: iload 1
bipush 10
ishl
iload 2
iadd
ldc -56613888
iadd
istore 1
end local 2 8: StackMap locals: int
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/font/ScriptRun;
3 9 1 ch I
5 8 2 nch I
private void pushback(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: iload 1
iflt 5
1: iload 1
ldc 65536
if_icmplt 4
2: aload 0
dup
getfield sun.font.ScriptRun.scriptLimit:I
iconst_2
isub
putfield sun.font.ScriptRun.scriptLimit:I
3: goto 5
4: StackMap locals:
StackMap stack:
aload 0
dup
getfield sun.font.ScriptRun.scriptLimit:I
iconst_1
isub
putfield sun.font.ScriptRun.scriptLimit:I
5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/font/ScriptRun;
0 6 1 ch I
MethodParameters:
Name Flags
ch
private static boolean sameScript(int, int);
descriptor: (II)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 0
iload 1
if_icmpeq 1
iload 0
iconst_1
if_icmple 1
iload 1
iconst_1
if_icmple 1
iconst_0
ireturn
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 scriptOne I
0 2 1 scriptTwo I
MethodParameters:
Name Flags
scriptOne
scriptTwo
private static byte highBit(int);
descriptor: (I)B
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: iload 0
ifgt 2
1: bipush -32
ireturn
2: StackMap locals:
StackMap stack:
iconst_0
istore 1
start local 1 3: iload 0
ldc 65536
if_icmplt 6
4: iload 0
bipush 16
ishr
istore 0
5: iload 1
bipush 16
iadd
i2b
istore 1
6: StackMap locals: int
StackMap stack:
iload 0
sipush 256
if_icmplt 9
7: iload 0
bipush 8
ishr
istore 0
8: iload 1
bipush 8
iadd
i2b
istore 1
9: StackMap locals:
StackMap stack:
iload 0
bipush 16
if_icmplt 12
10: iload 0
iconst_4
ishr
istore 0
11: iload 1
iconst_4
iadd
i2b
istore 1
12: StackMap locals:
StackMap stack:
iload 0
iconst_4
if_icmplt 15
13: iload 0
iconst_2
ishr
istore 0
14: iload 1
iconst_2
iadd
i2b
istore 1
15: StackMap locals:
StackMap stack:
iload 0
iconst_2
if_icmplt 18
16: iload 0
iconst_1
ishr
istore 0
17: iload 1
iconst_1
iadd
i2b
istore 1
18: StackMap locals:
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 n I
3 19 1 bit B
MethodParameters:
Name Flags
n
private static int getPairIndex(int);
descriptor: (I)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: getstatic sun.font.ScriptRun.pairedCharPower:I
istore 1
start local 1 1: iconst_0
istore 2
start local 2 2: iload 0
getstatic sun.font.ScriptRun.pairedChars:[I
getstatic sun.font.ScriptRun.pairedCharExtra:I
iaload
if_icmplt 8
3: getstatic sun.font.ScriptRun.pairedCharExtra:I
istore 2
4: goto 8
5: StackMap locals: int int
StackMap stack:
iload 1
iconst_1
ishr
istore 1
6: iload 0
getstatic sun.font.ScriptRun.pairedChars:[I
iload 2
iload 1
iadd
iaload
if_icmplt 8
7: iload 2
iload 1
iadd
istore 2
8: StackMap locals:
StackMap stack:
iload 1
iconst_1
if_icmpgt 5
9: getstatic sun.font.ScriptRun.pairedChars:[I
iload 2
iaload
iload 0
if_icmpeq 11
10: iconst_m1
istore 2
11: StackMap locals:
StackMap stack:
iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 ch I
1 12 1 probe I
2 12 2 index I
MethodParameters:
Name Flags
ch
}
SourceFile: "ScriptRun.java"