public final class sun.text.normalizer.ICUBinary
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: sun.text.normalizer.ICUBinary
super_class: java.lang.Object
{
private static final byte BIG_ENDIAN_;
descriptor: B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private static final byte MAGIC1;
descriptor: B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -38
private static final byte MAGIC2;
descriptor: B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 39
private static final byte CHAR_SET_;
descriptor: B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private static final byte CHAR_SIZE_;
descriptor: B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 2
private static final java.lang.String MAGIC_NUMBER_AUTHENTICATION_FAILED_;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "ICUBinary data file error: Magic number authentication failed"
private static final java.lang.String ;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "ICUBinary data file error: Header authentication failed"
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lsun/text/normalizer/ICUBinary;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic sun.text.normalizer.ICUBinary.$assertionsDisabled:Z
3: 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
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/text/normalizer/ICUBinary;
public static java.nio.ByteBuffer getRequiredData(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/nio/ByteBuffer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=11, args_size=1
start local 0 0: ldc Lsun/text/normalizer/ICUBinary;
astore 1
start local 1 1: aconst_null
astore 2
aconst_null
astore 3
2: new sun.text.normalizer.ICUBinary$1
dup
aload 1
aload 0
invokespecial sun.text.normalizer.ICUBinary$1.<init>:(Ljava/lang/Class;Ljava/lang/String;)V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.io.InputStream
astore 4
start local 4 3: aload 4
invokevirtual java.io.InputStream.available:()I
istore 6
start local 6 4: iload 6
bipush 32
if_icmple 7
5: iload 6
newarray 8
astore 5
start local 5 6: goto 8
end local 5 7: StackMap locals: java.lang.String java.lang.Class java.lang.Throwable java.lang.Throwable java.io.InputStream top int
StackMap stack:
sipush 128
newarray 8
astore 5
start local 5 8: StackMap locals: java.lang.String java.lang.Class java.lang.Throwable java.lang.Throwable java.io.InputStream byte[] int
StackMap stack:
iconst_0
istore 7
start local 7 9: StackMap locals: int
StackMap stack:
iload 7
aload 5
arraylength
if_icmpge 15
10: aload 4
aload 5
iload 7
aload 5
arraylength
iload 7
isub
invokevirtual java.io.InputStream.read:([BII)I
istore 8
start local 8 11: iload 8
ifge 13
12: goto 29
13: StackMap locals: int
StackMap stack:
iload 7
iload 8
iadd
istore 7
end local 8 14: goto 9
15: StackMap locals:
StackMap stack:
aload 4
invokevirtual java.io.InputStream.read:()I
istore 8
start local 8 16: iload 8
ifge 18
17: goto 29
18: StackMap locals: int
StackMap stack:
iconst_2
aload 5
arraylength
imul
istore 9
start local 9 19: iload 9
sipush 128
if_icmpge 22
20: sipush 128
istore 9
21: goto 24
StackMap locals: int
StackMap stack:
22: iload 9
sipush 16384
if_icmpge 24
23: iload 9
iconst_2
imul
istore 9
24: StackMap locals:
StackMap stack:
iload 9
newarray 8
astore 10
start local 10 25: aload 5
iconst_0
aload 10
iconst_0
iload 7
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
26: aload 10
astore 5
27: aload 5
iload 7
iinc 7 1
iload 8
i2b
bastore
end local 10 end local 9 end local 8 28: goto 9
29: StackMap locals:
StackMap stack:
aload 5
iconst_0
iload 7
invokestatic java.nio.ByteBuffer.wrap:([BII)Ljava/nio/ByteBuffer;
30: aload 4
ifnull 31
aload 4
invokevirtual java.io.InputStream.close:()V
31: StackMap locals:
StackMap stack: java.nio.ByteBuffer
areturn
end local 7 end local 6 end local 5 StackMap locals: java.lang.String java.lang.Class java.lang.Throwable java.lang.Throwable java.io.InputStream
StackMap stack: java.lang.Throwable
32: astore 2
33: aload 4
ifnull 34
aload 4
invokevirtual java.io.InputStream.close:()V
end local 4 StackMap locals:
StackMap stack:
34: aload 2
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
35: astore 3
aload 2
ifnonnull 36
aload 3
astore 2
goto 37
StackMap locals:
StackMap stack:
36: aload 2
aload 3
if_acmpeq 37
aload 2
aload 3
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
37: aload 2
athrow
38: StackMap locals: java.lang.String java.lang.Class
StackMap stack: java.io.IOException
astore 2
start local 2 39: new java.io.UncheckedIOException
dup
aload 2
invokespecial java.io.UncheckedIOException.<init>:(Ljava/io/IOException;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 40 0 itemPath Ljava/lang/String;
1 40 1 root Ljava/lang/Class<Lsun/text/normalizer/ICUBinary;>;
3 34 4 is Ljava/io/InputStream;
6 7 5 bytes [B
8 32 5 bytes [B
4 32 6 avail I
9 32 7 length I
11 14 8 numRead I
16 28 8 nextByte I
19 28 9 capacity I
25 28 10 newBytes [B
39 40 2 e Ljava/io/IOException;
Exception table:
from to target type
3 30 32 any
2 31 35 any
32 35 35 any
1 31 38 Class java.io.IOException
32 38 38 Class java.io.IOException
MethodParameters:
Name Flags
itemPath
public static sun.text.normalizer.VersionInfo readHeaderAndDataVersion(java.nio.ByteBuffer, int, sun.text.normalizer.ICUBinary$Authenticate);
descriptor: (Ljava/nio/ByteBuffer;ILsun/text/normalizer/ICUBinary$Authenticate;)Lsun/text/normalizer/VersionInfo;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
aload 2
invokestatic sun.text.normalizer.ICUBinary.readHeader:(Ljava/nio/ByteBuffer;ILsun/text/normalizer/ICUBinary$Authenticate;)I
invokestatic sun.text.normalizer.ICUBinary.getVersionInfoFromCompactInt:(I)Lsun/text/normalizer/VersionInfo;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 bytes Ljava/nio/ByteBuffer;
0 1 1 dataFormat I
0 1 2 authenticate Lsun/text/normalizer/ICUBinary$Authenticate;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
bytes
dataFormat
authenticate
public static final byte[] (java.io.InputStream, byte[], sun.text.normalizer.ICUBinary$Authenticate);
descriptor: (Ljava/io/InputStream;[BLsun/text/normalizer/ICUBinary$Authenticate;)[B
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=3, locals=14, args_size=3
start local 0 start local 1 start local 2 0: new java.io.DataInputStream
dup
aload 0
invokespecial java.io.DataInputStream.<init>:(Ljava/io/InputStream;)V
astore 3
start local 3 1: aload 3
invokevirtual java.io.DataInputStream.readChar:()C
istore 4
start local 4 2: iconst_2
istore 5
start local 5 3: aload 3
invokevirtual java.io.DataInputStream.readByte:()B
istore 6
start local 6 4: iinc 5 1
5: aload 3
invokevirtual java.io.DataInputStream.readByte:()B
istore 7
start local 7 6: iinc 5 1
7: iload 6
bipush -38
if_icmpne 8
iload 7
bipush 39
if_icmpeq 9
8: StackMap locals: java.io.InputStream byte[] sun.text.normalizer.ICUBinary$Authenticate java.io.DataInputStream int int int int
StackMap stack:
new java.io.IOException
dup
ldc "ICUBinary data file error: Magic number authentication failed"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.io.DataInputStream.readChar:()C
pop
10: iinc 5 2
11: aload 3
invokevirtual java.io.DataInputStream.readChar:()C
pop
12: iinc 5 2
13: aload 3
invokevirtual java.io.DataInputStream.readByte:()B
istore 8
start local 8 14: iinc 5 1
15: aload 3
invokevirtual java.io.DataInputStream.readByte:()B
istore 9
start local 9 16: iinc 5 1
17: aload 3
invokevirtual java.io.DataInputStream.readByte:()B
istore 10
start local 10 18: iinc 5 1
19: aload 3
invokevirtual java.io.DataInputStream.readByte:()B
pop
20: iinc 5 1
21: iconst_4
newarray 8
astore 11
start local 11 22: aload 3
aload 11
invokevirtual java.io.DataInputStream.readFully:([B)V
23: iinc 5 4
24: iconst_4
newarray 8
astore 12
start local 12 25: aload 3
aload 12
invokevirtual java.io.DataInputStream.readFully:([B)V
26: iinc 5 4
27: iconst_4
newarray 8
astore 13
start local 13 28: aload 3
aload 13
invokevirtual java.io.DataInputStream.readFully:([B)V
29: iinc 5 4
30: iload 4
iload 5
if_icmpge 32
31: new java.io.IOException
dup
ldc "Internal Error: Header size error"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
32: StackMap locals: java.io.InputStream byte[] sun.text.normalizer.ICUBinary$Authenticate java.io.DataInputStream int int int int int int int byte[] byte[] byte[]
StackMap stack:
aload 3
iload 4
iload 5
isub
invokevirtual java.io.DataInputStream.skipBytes:(I)I
pop
33: iload 8
iconst_1
if_icmpne 38
iload 9
ifne 38
34: iload 10
iconst_2
if_icmpne 38
35: aload 1
aload 11
invokestatic java.util.Arrays.equals:([B[B)Z
ifeq 38
36: aload 2
ifnull 39
37: aload 2
aload 12
invokeinterface sun.text.normalizer.ICUBinary$Authenticate.isDataVersionAcceptable:([B)Z
ifne 39
38: StackMap locals:
StackMap stack:
new java.io.IOException
dup
ldc "ICUBinary data file error: Header authentication failed"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
39: StackMap locals:
StackMap stack:
aload 13
areturn
end local 13 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 40 0 inputStream Ljava/io/InputStream;
0 40 1 dataFormatIDExpected [B
0 40 2 authenticate Lsun/text/normalizer/ICUBinary$Authenticate;
1 40 3 input Ljava/io/DataInputStream;
2 40 4 headersize C
3 40 5 readcount I
4 40 6 magic1 B
6 40 7 magic2 B
14 40 8 bigendian B
16 40 9 charset B
18 40 10 charsize B
22 40 11 dataFormatID [B
25 40 12 dataVersion [B
28 40 13 unicodeVersion [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
inputStream
dataFormatIDExpected
authenticate
public static int (java.nio.ByteBuffer, int, sun.text.normalizer.ICUBinary$Authenticate);
descriptor: (Ljava/nio/ByteBuffer;ILsun/text/normalizer/ICUBinary$Authenticate;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=9, locals=11, args_size=3
start local 0 start local 1 start local 2 0: getstatic sun.text.normalizer.ICUBinary.$assertionsDisabled:Z
ifne 1
aload 0
invokevirtual java.nio.ByteBuffer.position:()I
ifeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
iconst_2
invokevirtual java.nio.ByteBuffer.get:(I)B
istore 3
start local 3 2: aload 0
iconst_3
invokevirtual java.nio.ByteBuffer.get:(I)B
istore 4
start local 4 3: iload 3
bipush -38
if_icmpne 4
iload 4
bipush 39
if_icmpeq 5
4: StackMap locals: int int
StackMap stack:
new java.io.IOException
dup
ldc "ICUBinary data file error: Magic number authentication failed"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
aload 0
bipush 8
invokevirtual java.nio.ByteBuffer.get:(I)B
istore 5
start local 5 6: aload 0
bipush 9
invokevirtual java.nio.ByteBuffer.get:(I)B
istore 6
start local 6 7: aload 0
bipush 10
invokevirtual java.nio.ByteBuffer.get:(I)B
istore 7
start local 7 8: iload 5
iflt 10
iconst_1
iload 5
if_icmplt 10
9: iload 6
ifne 10
iload 7
iconst_2
if_icmpeq 11
10: StackMap locals: int int int
StackMap stack:
new java.io.IOException
dup
ldc "ICUBinary data file error: Header authentication failed"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
11: StackMap locals:
StackMap stack:
aload 0
iload 5
ifeq 12
getstatic java.nio.ByteOrder.BIG_ENDIAN:Ljava/nio/ByteOrder;
goto 13
StackMap locals:
StackMap stack: java.nio.ByteBuffer
12: getstatic java.nio.ByteOrder.LITTLE_ENDIAN:Ljava/nio/ByteOrder;
StackMap locals: java.nio.ByteBuffer int sun.text.normalizer.ICUBinary$Authenticate int int int int int
StackMap stack: java.nio.ByteBuffer java.nio.ByteOrder
13: invokevirtual java.nio.ByteBuffer.order:(Ljava/nio/ByteOrder;)Ljava/nio/ByteBuffer;
pop
14: aload 0
iconst_0
invokevirtual java.nio.ByteBuffer.getChar:(I)C
istore 8
start local 8 15: aload 0
iconst_4
invokevirtual java.nio.ByteBuffer.getChar:(I)C
istore 9
start local 9 16: iload 9
bipush 20
if_icmplt 17
iload 8
iload 9
iconst_4
iadd
if_icmpge 18
17: StackMap locals: int int
StackMap stack:
new java.io.IOException
dup
ldc "Internal Error: Header size error"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
18: StackMap locals:
StackMap stack:
iconst_4
newarray 8
dup
iconst_0
19: aload 0
bipush 16
invokevirtual java.nio.ByteBuffer.get:(I)B
bastore
dup
iconst_1
aload 0
bipush 17
invokevirtual java.nio.ByteBuffer.get:(I)B
bastore
dup
iconst_2
aload 0
bipush 18
invokevirtual java.nio.ByteBuffer.get:(I)B
bastore
dup
iconst_3
aload 0
bipush 19
invokevirtual java.nio.ByteBuffer.get:(I)B
bastore
20: astore 10
start local 10 21: aload 0
bipush 12
invokevirtual java.nio.ByteBuffer.get:(I)B
iload 1
bipush 24
ishr
i2b
if_icmpne 26
22: aload 0
bipush 13
invokevirtual java.nio.ByteBuffer.get:(I)B
iload 1
bipush 16
ishr
i2b
if_icmpne 26
23: aload 0
bipush 14
invokevirtual java.nio.ByteBuffer.get:(I)B
iload 1
bipush 8
ishr
i2b
if_icmpne 26
24: aload 0
bipush 15
invokevirtual java.nio.ByteBuffer.get:(I)B
iload 1
i2b
if_icmpne 26
25: aload 2
ifnull 33
aload 2
aload 10
invokeinterface sun.text.normalizer.ICUBinary$Authenticate.isDataVersionAcceptable:([B)Z
ifne 33
26: StackMap locals: byte[]
StackMap stack:
new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "ICUBinary data file error: Header authentication failed"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
27: ldc "; data format %02x%02x%02x%02x, format version %d.%d.%d.%d"
bipush 8
anewarray java.lang.Object
dup
iconst_0
28: aload 0
bipush 12
invokevirtual java.nio.ByteBuffer.get:(I)B
invokestatic java.lang.Byte.valueOf:(B)Ljava/lang/Byte;
aastore
dup
iconst_1
aload 0
bipush 13
invokevirtual java.nio.ByteBuffer.get:(I)B
invokestatic java.lang.Byte.valueOf:(B)Ljava/lang/Byte;
aastore
dup
iconst_2
aload 0
bipush 14
invokevirtual java.nio.ByteBuffer.get:(I)B
invokestatic java.lang.Byte.valueOf:(B)Ljava/lang/Byte;
aastore
dup
iconst_3
aload 0
bipush 15
invokevirtual java.nio.ByteBuffer.get:(I)B
invokestatic java.lang.Byte.valueOf:(B)Ljava/lang/Byte;
aastore
dup
iconst_4
29: aload 10
iconst_0
baload
sipush 255
iand
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_5
aload 10
iconst_1
baload
sipush 255
iand
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
bipush 6
30: aload 10
iconst_2
baload
sipush 255
iand
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
bipush 7
aload 10
iconst_3
baload
sipush 255
iand
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
31: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
32: invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
33: StackMap locals:
StackMap stack:
aload 0
iload 8
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/ByteBuffer;
pop
34: aload 0
bipush 20
invokevirtual java.nio.ByteBuffer.get:(I)B
bipush 24
ishl
35: aload 0
bipush 21
invokevirtual java.nio.ByteBuffer.get:(I)B
sipush 255
iand
bipush 16
ishl
36: ior
37: aload 0
bipush 22
invokevirtual java.nio.ByteBuffer.get:(I)B
sipush 255
iand
bipush 8
ishl
38: ior
39: aload 0
bipush 23
invokevirtual java.nio.ByteBuffer.get:(I)B
sipush 255
iand
40: ior
41: ireturn
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 42 0 bytes Ljava/nio/ByteBuffer;
0 42 1 dataFormat I
0 42 2 authenticate Lsun/text/normalizer/ICUBinary$Authenticate;
2 42 3 magic1 B
3 42 4 magic2 B
6 42 5 isBigEndian B
7 42 6 charsetFamily B
8 42 7 sizeofUChar B
15 42 8 headerSize I
16 42 9 sizeofUDataInfo I
21 42 10 formatVersion [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
bytes
dataFormat
authenticate
public static void skipBytes(java.nio.ByteBuffer, int);
descriptor: (Ljava/nio/ByteBuffer;I)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: iload 1
ifle 2
1: aload 0
aload 0
invokevirtual java.nio.ByteBuffer.position:()I
iload 1
iadd
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/ByteBuffer;
pop
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 bytes Ljava/nio/ByteBuffer;
0 3 1 skipLength I
MethodParameters:
Name Flags
bytes
skipLength
public static sun.text.normalizer.VersionInfo getVersionInfoFromCompactInt(int);
descriptor: (I)Lsun/text/normalizer/VersionInfo;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: iload 0
bipush 24
iushr
iload 0
bipush 16
ishr
sipush 255
iand
iload 0
bipush 8
ishr
sipush 255
iand
iload 0
sipush 255
iand
1: invokestatic sun.text.normalizer.VersionInfo.getInstance:(IIII)Lsun/text/normalizer/VersionInfo;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 version I
MethodParameters:
Name Flags
version
}
SourceFile: "ICUBinary.java"
NestMembers:
sun.text.normalizer.ICUBinary$1 sun.text.normalizer.ICUBinary$Authenticate sun.text.normalizer.ICUBinary$IsAcceptable
InnerClasses:
sun.text.normalizer.ICUBinary$1
public abstract Authenticate = sun.text.normalizer.ICUBinary$Authenticate of sun.text.normalizer.ICUBinary
private final IsAcceptable = sun.text.normalizer.ICUBinary$IsAcceptable of sun.text.normalizer.ICUBinary