public abstract class sun.io.ByteToCharEUC extends sun.io.ByteToCharConverter
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: sun.io.ByteToCharEUC
super_class: sun.io.ByteToCharConverter
{
private final int G0;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
ConstantValue: 0
private final int G1;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
ConstantValue: 1
private final int SS2;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
ConstantValue: 142
private final int SS3;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
ConstantValue: 143
private int firstByte;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int state;
descriptor: I
flags: (0x0002) ACC_PRIVATE
protected java.lang.String mappingTableG1;
descriptor: Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
protected java.lang.String byteToCharTable;
descriptor: Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial sun.io.ByteToCharConverter.<init>:()V
1: aload 0
iconst_0
putfield sun.io.ByteToCharEUC.G0:I
2: aload 0
iconst_1
putfield sun.io.ByteToCharEUC.G1:I
3: aload 0
sipush 142
putfield sun.io.ByteToCharEUC.SS2:I
4: aload 0
sipush 143
putfield sun.io.ByteToCharEUC.SS3:I
5: aload 0
iconst_0
putfield sun.io.ByteToCharEUC.state:I
6: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/io/ByteToCharEUC;
public int flush(char[], int, int);
descriptor: ([CII)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield sun.io.ByteToCharEUC.state:I
ifeq 4
1: aload 0
invokevirtual sun.io.ByteToCharEUC.reset:()V
2: aload 0
iconst_0
putfield sun.io.ByteToCharEUC.badInputLength:I
3: new sun.io.MalformedInputException
dup
invokespecial sun.io.MalformedInputException.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.io.ByteToCharEUC.reset:()V
5: iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/io/ByteToCharEUC;
0 6 1 output [C
0 6 2 outStart I
0 6 3 outEnd I
Exceptions:
throws sun.io.MalformedInputException
MethodParameters:
Name Flags
output
outStart
outEnd
public void reset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
putfield sun.io.ByteToCharEUC.state:I
1: aload 0
aload 0
iconst_0
dup_x1
putfield sun.io.ByteToCharEUC.byteOff:I
putfield sun.io.ByteToCharEUC.charOff:I
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/io/ByteToCharEUC;
public int convert(byte[], int, int, char[], int, int);
descriptor: ([BII[CII)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=9, 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: ldc 65533
istore 8
start local 8 1: aload 0
iload 2
putfield sun.io.ByteToCharEUC.byteOff:I
2: aload 0
iload 5
putfield sun.io.ByteToCharEUC.charOff:I
3: goto 35
4: StackMap locals: sun.io.ByteToCharEUC byte[] int int char[] int int top int
StackMap stack:
aload 1
aload 0
getfield sun.io.ByteToCharEUC.byteOff:I
baload
istore 7
start local 7 5: iload 7
ifge 7
6: iinc 7 256
7: StackMap locals: sun.io.ByteToCharEUC byte[] int int char[] int int int int
StackMap stack:
aload 0
getfield sun.io.ByteToCharEUC.state:I
tableswitch { // 0 - 1
0: 8
1: 20
default: 25
}
8: StackMap locals:
StackMap stack:
iload 7
sipush 142
if_icmpeq 10
9: iload 7
sipush 143
if_icmpne 12
10: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield sun.io.ByteToCharEUC.badInputLength:I
11: new sun.io.MalformedInputException
dup
invokespecial sun.io.MalformedInputException.<init>:()V
athrow
12: StackMap locals:
StackMap stack:
iload 7
sipush 159
if_icmpgt 14
13: aload 0
getfield sun.io.ByteToCharEUC.byteToCharTable:Ljava/lang/String;
iload 7
invokevirtual java.lang.String.charAt:(I)C
istore 8
goto 25
14: StackMap locals:
StackMap stack:
iload 7
sipush 161
if_icmplt 15
iload 7
sipush 254
if_icmple 17
15: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield sun.io.ByteToCharEUC.badInputLength:I
16: new sun.io.MalformedInputException
dup
invokespecial sun.io.MalformedInputException.<init>:()V
athrow
17: StackMap locals:
StackMap stack:
aload 0
iload 7
putfield sun.io.ByteToCharEUC.firstByte:I
18: aload 0
iconst_1
putfield sun.io.ByteToCharEUC.state:I
19: goto 25
20: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield sun.io.ByteToCharEUC.state:I
21: iload 7
sipush 161
if_icmplt 22
iload 7
sipush 254
if_icmple 24
22: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield sun.io.ByteToCharEUC.badInputLength:I
23: new sun.io.MalformedInputException
dup
invokespecial sun.io.MalformedInputException.<init>:()V
athrow
24: StackMap locals:
StackMap stack:
aload 0
getfield sun.io.ByteToCharEUC.mappingTableG1:Ljava/lang/String;
aload 0
getfield sun.io.ByteToCharEUC.firstByte:I
sipush 161
isub
bipush 94
imul
iload 7
iadd
sipush 161
isub
invokevirtual java.lang.String.charAt:(I)C
istore 8
25: StackMap locals:
StackMap stack:
aload 0
getfield sun.io.ByteToCharEUC.state:I
ifne 34
26: iload 8
ldc 65533
if_icmpne 31
27: aload 0
getfield sun.io.ByteToCharEUC.subMode:Z
ifeq 29
28: aload 0
getfield sun.io.ByteToCharEUC.subChars:[C
iconst_0
caload
istore 8
goto 31
29: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield sun.io.ByteToCharEUC.badInputLength:I
30: new sun.io.UnknownCharacterException
dup
invokespecial sun.io.UnknownCharacterException.<init>:()V
athrow
31: StackMap locals:
StackMap stack:
aload 0
getfield sun.io.ByteToCharEUC.charOff:I
iload 6
if_icmplt 33
32: new sun.io.ConversionBufferFullException
dup
invokespecial sun.io.ConversionBufferFullException.<init>:()V
athrow
33: StackMap locals:
StackMap stack:
aload 4
aload 0
dup
getfield sun.io.ByteToCharEUC.charOff:I
dup_x1
iconst_1
iadd
putfield sun.io.ByteToCharEUC.charOff:I
iload 8
castore
34: StackMap locals:
StackMap stack:
aload 0
dup
getfield sun.io.ByteToCharEUC.byteOff:I
iconst_1
iadd
putfield sun.io.ByteToCharEUC.byteOff:I
end local 7 35: StackMap locals: sun.io.ByteToCharEUC byte[] int int char[] int int top int
StackMap stack:
aload 0
getfield sun.io.ByteToCharEUC.byteOff:I
iload 3
if_icmplt 4
36: aload 0
getfield sun.io.ByteToCharEUC.charOff:I
iload 5
isub
ireturn
end local 8 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 37 0 this Lsun/io/ByteToCharEUC;
0 37 1 input [B
0 37 2 inOff I
0 37 3 inEnd I
0 37 4 output [C
0 37 5 outOff I
0 37 6 outEnd I
5 35 7 byte1 I
1 37 8 outputChar C
Exceptions:
throws sun.io.UnknownCharacterException, sun.io.MalformedInputException, sun.io.ConversionBufferFullException
MethodParameters:
Name Flags
input
inOff
inEnd
output
outOff
outEnd
}
SourceFile: "ByteToCharEUC.java"