public class sun.io.ByteToCharEUC_JP extends sun.io.ByteToCharJIS0208
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.io.ByteToCharEUC_JP
super_class: sun.io.ByteToCharJIS0208
{
private byte savedSecond;
descriptor: B
flags: (0x0002) ACC_PRIVATE
sun.io.ByteToCharJIS0201 bcJIS0201;
descriptor: Lsun/io/ByteToCharJIS0201;
flags: (0x0000)
sun.io.ByteToCharJIS0212 bcJIS0212;
descriptor: Lsun/io/ByteToCharJIS0212;
flags: (0x0000)
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial sun.io.ByteToCharJIS0208.<init>:()V
1: aload 0
iconst_0
putfield sun.io.ByteToCharEUC_JP.savedSecond:B
2: aload 0
new sun.io.ByteToCharJIS0201
dup
invokespecial sun.io.ByteToCharJIS0201.<init>:()V
putfield sun.io.ByteToCharEUC_JP.bcJIS0201:Lsun/io/ByteToCharJIS0201;
3: aload 0
new sun.io.ByteToCharJIS0212
dup
invokespecial sun.io.ByteToCharJIS0212.<init>:()V
putfield sun.io.ByteToCharEUC_JP.bcJIS0212:Lsun/io/ByteToCharJIS0212;
4: aload 0
sipush 161
putfield sun.io.ByteToCharEUC_JP.start:I
5: aload 0
sipush 254
putfield sun.io.ByteToCharEUC_JP.end:I
6: aload 0
iconst_0
putfield sun.io.ByteToCharEUC_JP.savedSecond:B
7: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/io/ByteToCharEUC_JP;
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_JP.savedSecond:B
ifeq 3
1: aload 0
invokevirtual sun.io.ByteToCharEUC_JP.reset:()V
2: new sun.io.MalformedInputException
dup
invokespecial sun.io.MalformedInputException.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.io.ByteToCharEUC_JP.reset:()V
4: iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/io/ByteToCharEUC_JP;
0 5 1 output [C
0 5 2 outStart I
0 5 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=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial sun.io.ByteToCharJIS0208.reset:()V
1: aload 0
iconst_0
putfield sun.io.ByteToCharEUC_JP.savedSecond:B
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/io/ByteToCharEUC_JP;
public java.lang.String getCharacterEncoding();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "EUC_JP"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/io/ByteToCharEUC_JP;
protected char convSingleByte(int);
descriptor: (I)C
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
iflt 1
iload 1
bipush 127
if_icmple 2
1: StackMap locals:
StackMap stack:
ldc 65533
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.io.ByteToCharEUC_JP.bcJIS0201:Lsun/io/ByteToCharJIS0201;
iload 1
invokevirtual sun.io.ByteToCharJIS0201.getUnicode:(I)C
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/io/ByteToCharEUC_JP;
0 3 1 b I
MethodParameters:
Name Flags
b
protected char getUnicode(int, int);
descriptor: (II)C
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: iload 1
sipush 142
if_icmpne 2
1: aload 0
getfield sun.io.ByteToCharEUC_JP.bcJIS0201:Lsun/io/ByteToCharJIS0201;
iload 2
sipush 256
isub
invokevirtual sun.io.ByteToCharJIS0201.getUnicode:(I)C
ireturn
2: StackMap locals:
StackMap stack:
iload 1
iflt 4
iload 1
aload 0
getfield sun.io.ByteToCharEUC_JP.index1:[S
arraylength
if_icmpgt 4
3: iload 2
aload 0
getfield sun.io.ByteToCharEUC_JP.start:I
if_icmplt 4
iload 2
aload 0
getfield sun.io.ByteToCharEUC_JP.end:I
if_icmple 5
4: StackMap locals:
StackMap stack:
ldc 65533
ireturn
5: StackMap locals:
StackMap stack:
aload 0
getfield sun.io.ByteToCharEUC_JP.index1:[S
iload 1
sipush 128
isub
saload
bipush 15
iand
aload 0
getfield sun.io.ByteToCharEUC_JP.end:I
aload 0
getfield sun.io.ByteToCharEUC_JP.start:I
isub
iconst_1
iadd
imul
6: iload 2
aload 0
getfield sun.io.ByteToCharEUC_JP.start:I
isub
7: iadd
istore 3
start local 3 8: aload 0
getfield sun.io.ByteToCharEUC_JP.index2:[Ljava/lang/String;
aload 0
getfield sun.io.ByteToCharEUC_JP.index1:[S
iload 1
sipush 128
isub
saload
iconst_4
ishr
aaload
iload 3
invokevirtual java.lang.String.charAt:(I)C
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/io/ByteToCharEUC_JP;
0 9 1 byte1 I
0 9 2 byte2 I
8 9 3 n I
MethodParameters:
Name Flags
byte1
byte2
protected char decode0212(int, int);
descriptor: (II)C
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield sun.io.ByteToCharEUC_JP.bcJIS0212:Lsun/io/ByteToCharJIS0212;
iload 1
iload 2
invokevirtual sun.io.ByteToCharJIS0212.getUnicode:(II)C
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/io/ByteToCharEUC_JP;
0 1 1 byte1 I
0 1 2 byte2 I
MethodParameters:
Name Flags
byte1
byte2
public int convert(byte[], int, int, char[], int, int);
descriptor: ([BII[CII)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=11, 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 7
start local 7 1: iconst_0
istore 8
start local 8 2: aload 0
iload 5
putfield sun.io.ByteToCharEUC_JP.charOff:I
3: aload 0
iload 2
putfield sun.io.ByteToCharEUC_JP.byteOff:I
4: goto 49
5: StackMap locals: int int
StackMap stack:
aload 0
getfield sun.io.ByteToCharEUC_JP.savedByte:B
ifne 9
6: aload 1
aload 0
getfield sun.io.ByteToCharEUC_JP.byteOff:I
baload
istore 9
start local 9 7: iconst_1
istore 8
8: goto 12
end local 9 9: StackMap locals:
StackMap stack:
aload 0
getfield sun.io.ByteToCharEUC_JP.savedByte:B
istore 9
start local 9 10: aload 0
iconst_0
putfield sun.io.ByteToCharEUC_JP.savedByte:B
11: iconst_0
istore 8
12: StackMap locals: int
StackMap stack:
aload 0
iload 9
invokevirtual sun.io.ByteToCharEUC_JP.convSingleByte:(I)C
istore 7
13: iload 7
ldc 65533
if_icmpne 40
14: iload 9
sipush 255
iand
sipush 143
if_icmpne 32
15: aload 0
getfield sun.io.ByteToCharEUC_JP.byteOff:I
iload 8
iadd
iconst_1
iadd
iload 3
if_icmplt 22
16: aload 0
iload 9
i2b
putfield sun.io.ByteToCharEUC_JP.savedByte:B
17: aload 0
dup
getfield sun.io.ByteToCharEUC_JP.byteOff:I
iload 8
iadd
putfield sun.io.ByteToCharEUC_JP.byteOff:I
18: aload 0
getfield sun.io.ByteToCharEUC_JP.byteOff:I
iload 3
if_icmpge 50
19: aload 0
aload 1
aload 0
getfield sun.io.ByteToCharEUC_JP.byteOff:I
baload
putfield sun.io.ByteToCharEUC_JP.savedSecond:B
20: aload 0
dup
getfield sun.io.ByteToCharEUC_JP.byteOff:I
iconst_1
iadd
putfield sun.io.ByteToCharEUC_JP.byteOff:I
21: goto 50
22: StackMap locals:
StackMap stack:
aload 0
getfield sun.io.ByteToCharEUC_JP.savedSecond:B
ifeq 26
23: aload 0
getfield sun.io.ByteToCharEUC_JP.savedSecond:B
sipush 255
iand
istore 9
24: aload 0
iconst_0
putfield sun.io.ByteToCharEUC_JP.savedSecond:B
25: goto 28
26: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield sun.io.ByteToCharEUC_JP.byteOff:I
iload 8
iadd
baload
sipush 255
iand
istore 9
27: iinc 8 1
28: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield sun.io.ByteToCharEUC_JP.byteOff:I
iload 8
iadd
baload
sipush 255
iand
istore 10
start local 10 29: iinc 8 1
30: aload 0
iload 9
sipush 128
isub
iload 10
sipush 128
isub
invokevirtual sun.io.ByteToCharEUC_JP.decode0212:(II)C
istore 7
31: goto 40
end local 10 32: StackMap locals:
StackMap stack:
aload 0
getfield sun.io.ByteToCharEUC_JP.byteOff:I
iload 8
iadd
iload 3
if_icmplt 36
33: aload 0
iload 9
i2b
putfield sun.io.ByteToCharEUC_JP.savedByte:B
34: aload 0
dup
getfield sun.io.ByteToCharEUC_JP.byteOff:I
iload 8
iadd
putfield sun.io.ByteToCharEUC_JP.byteOff:I
35: goto 50
36: StackMap locals:
StackMap stack:
iload 9
sipush 255
iand
istore 9
37: aload 1
aload 0
getfield sun.io.ByteToCharEUC_JP.byteOff:I
iload 8
iadd
baload
sipush 255
iand
istore 10
start local 10 38: iinc 8 1
39: aload 0
iload 9
iload 10
invokevirtual sun.io.ByteToCharEUC_JP.getUnicode:(II)C
istore 7
end local 10 40: StackMap locals:
StackMap stack:
iload 7
ldc 65533
if_icmpne 45
41: aload 0
getfield sun.io.ByteToCharEUC_JP.subMode:Z
ifeq 43
42: aload 0
getfield sun.io.ByteToCharEUC_JP.subChars:[C
iconst_0
caload
istore 7
goto 45
43: StackMap locals:
StackMap stack:
aload 0
iload 8
putfield sun.io.ByteToCharEUC_JP.badInputLength:I
44: new sun.io.UnknownCharacterException
dup
invokespecial sun.io.UnknownCharacterException.<init>:()V
athrow
45: StackMap locals:
StackMap stack:
aload 0
getfield sun.io.ByteToCharEUC_JP.charOff:I
iload 6
if_icmplt 47
46: new sun.io.ConversionBufferFullException
dup
invokespecial sun.io.ConversionBufferFullException.<init>:()V
athrow
47: StackMap locals:
StackMap stack:
aload 4
aload 0
dup
getfield sun.io.ByteToCharEUC_JP.charOff:I
dup_x1
iconst_1
iadd
putfield sun.io.ByteToCharEUC_JP.charOff:I
iload 7
castore
48: aload 0
dup
getfield sun.io.ByteToCharEUC_JP.byteOff:I
iload 8
iadd
putfield sun.io.ByteToCharEUC_JP.byteOff:I
end local 9 49: StackMap locals:
StackMap stack:
aload 0
getfield sun.io.ByteToCharEUC_JP.byteOff:I
iload 3
if_icmplt 5
50: StackMap locals:
StackMap stack:
aload 0
getfield sun.io.ByteToCharEUC_JP.charOff:I
iload 5
isub
ireturn
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 51 0 this Lsun/io/ByteToCharEUC_JP;
0 51 1 input [B
0 51 2 inOff I
0 51 3 inEnd I
0 51 4 output [C
0 51 5 outOff I
0 51 6 outEnd I
1 51 7 outputChar C
2 51 8 inputSize I
7 9 9 byte1 I
10 49 9 byte1 I
29 32 10 byte2 I
38 40 10 byte2 I
Exceptions:
throws sun.io.UnknownCharacterException, sun.io.ConversionBufferFullException
MethodParameters:
Name Flags
input
inOff
inEnd
output
outOff
outEnd
}
SourceFile: "ByteToCharEUC_JP.java"