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 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 BIG_ENDIAN_;
descriptor: B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
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: "ICU data file error: Not an ICU data file"
private static final java.lang.String ;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "ICU data file error: Header authentication failed, please check if you have a valid ICU data file"
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 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 "ICU data file error: Not an ICU data file"
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 "ICU data file error: Header authentication failed, please check if you have a valid ICU data file"
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
}
SourceFile: "ICUBinary.java"
NestMembers:
sun.text.normalizer.ICUBinary$Authenticate
InnerClasses:
public abstract Authenticate = sun.text.normalizer.ICUBinary$Authenticate of sun.text.normalizer.ICUBinary