public class sun.io.CharToByteEUC_JP_Solaris extends sun.io.CharToByteEUC_JP
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.io.CharToByteEUC_JP_Solaris
super_class: sun.io.CharToByteEUC_JP
{
sun.io.CharToByteJIS0201 cbJIS0201;
descriptor: Lsun/io/CharToByteJIS0201;
flags: (0x0000)
sun.io.CharToByteJIS0212_Solaris cbJIS0212;
descriptor: Lsun/io/CharToByteJIS0212_Solaris;
flags: (0x0000)
short[] j0208Index1;
descriptor: [S
flags: (0x0000)
java.lang.String[] j0208Index2;
descriptor: [Ljava/lang/String;
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.CharToByteEUC_JP.<init>:()V
1: aload 0
new sun.io.CharToByteJIS0201
dup
invokespecial sun.io.CharToByteJIS0201.<init>:()V
putfield sun.io.CharToByteEUC_JP_Solaris.cbJIS0201:Lsun/io/CharToByteJIS0201;
2: aload 0
new sun.io.CharToByteJIS0212_Solaris
dup
invokespecial sun.io.CharToByteJIS0212_Solaris.<init>:()V
putfield sun.io.CharToByteEUC_JP_Solaris.cbJIS0212:Lsun/io/CharToByteJIS0212_Solaris;
3: aload 0
invokestatic sun.nio.cs.ext.JIS_X_0208_Solaris_Encoder.getIndex1:()[S
putfield sun.io.CharToByteEUC_JP_Solaris.j0208Index1:[S
4: aload 0
invokestatic sun.nio.cs.ext.JIS_X_0208_Solaris_Encoder.getIndex2:()[Ljava/lang/String;
putfield sun.io.CharToByteEUC_JP_Solaris.j0208Index2:[Ljava/lang/String;
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/io/CharToByteEUC_JP_Solaris;
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 "eucJP-open"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/io/CharToByteEUC_JP_Solaris;
protected int convSingleByte(char, byte[]);
descriptor: (C[B)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: iload 1
ifne 3
1: aload 2
iconst_0
iconst_0
bastore
2: iconst_1
ireturn
3: StackMap locals:
StackMap stack:
aload 0
getfield sun.io.CharToByteEUC_JP_Solaris.cbJIS0201:Lsun/io/CharToByteJIS0201;
iload 1
invokevirtual sun.io.CharToByteJIS0201.getNative:(C)B
dup
istore 3
start local 3 4: ifne 6
5: iconst_0
ireturn
6: StackMap locals: int
StackMap stack:
iload 3
ifle 9
iload 3
sipush 128
if_icmpge 9
7: aload 2
iconst_0
iload 3
bastore
8: iconst_1
ireturn
9: StackMap locals:
StackMap stack:
aload 2
iconst_0
bipush -114
bastore
10: aload 2
iconst_1
iload 3
bastore
11: iconst_2
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lsun/io/CharToByteEUC_JP_Solaris;
0 12 1 inputChar C
0 12 2 outputByte [B
4 12 3 b B
MethodParameters:
Name Flags
inputChar
outputByte
protected int getNative(char);
descriptor: (C)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokespecial sun.io.CharToByteEUC_JP.getNative:(C)I
istore 2
start local 2 1: iload 2
ifeq 3
2: iload 2
ireturn
3: StackMap locals: int
StackMap stack:
aload 0
getfield sun.io.CharToByteEUC_JP_Solaris.j0208Index1:[S
iload 1
ldc 65280
iand
bipush 8
ishr
saload
bipush 8
ishl
istore 3
start local 3 4: aload 0
getfield sun.io.CharToByteEUC_JP_Solaris.j0208Index2:[Ljava/lang/String;
iload 3
bipush 12
ishr
aaload
iload 3
sipush 4095
iand
iload 1
sipush 255
iand
iadd
invokevirtual java.lang.String.charAt:(I)C
istore 2
5: iload 2
sipush 29952
if_icmple 7
6: ldc 9404544
aload 0
getfield sun.io.CharToByteEUC_JP_Solaris.cbJIS0212:Lsun/io/CharToByteJIS0212_Solaris;
iload 1
invokevirtual sun.io.CharToByteJIS0212_Solaris.getNative:(C)I
iadd
ireturn
end local 3 7: StackMap locals:
StackMap stack:
iload 2
ifne 8
iload 2
goto 9
StackMap locals:
StackMap stack:
8: iload 2
ldc 32896
iadd
StackMap locals:
StackMap stack: int
9: ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/io/CharToByteEUC_JP_Solaris;
0 10 1 ch C
1 10 2 r I
4 7 3 offset I
MethodParameters:
Name Flags
ch
public int convert(char[], int, int, byte[], int, int);
descriptor: ([CII[BII)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=13, 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: iconst_0
istore 9
start local 9 1: iconst_0
istore 10
start local 10 2: iconst_4
newarray 8
astore 11
start local 11 3: aload 0
iload 2
putfield sun.io.CharToByteEUC_JP_Solaris.charOff:I
4: aload 0
iload 5
putfield sun.io.CharToByteEUC_JP_Solaris.byteOff:I
5: aload 0
getfield sun.io.CharToByteEUC_JP_Solaris.highHalfZoneCode:C
ifeq 62
6: aload 0
getfield sun.io.CharToByteEUC_JP_Solaris.highHalfZoneCode:C
istore 7
start local 7 7: aload 0
iconst_0
putfield sun.io.CharToByteEUC_JP_Solaris.highHalfZoneCode:C
8: aload 1
iload 2
caload
ldc 56320
if_icmplt 11
aload 1
iload 2
caload
ldc 57343
if_icmpgt 11
9: aload 0
iconst_1
putfield sun.io.CharToByteEUC_JP_Solaris.badInputLength:I
10: new sun.io.UnknownCharacterException
dup
invokespecial sun.io.UnknownCharacterException.<init>:()V
athrow
11: StackMap locals: sun.io.CharToByteEUC_JP_Solaris char[] int int byte[] int int int top int int byte[]
StackMap stack:
aload 0
iconst_0
putfield sun.io.CharToByteEUC_JP_Solaris.badInputLength:I
12: new sun.io.MalformedInputException
dup
invokespecial sun.io.MalformedInputException.<init>:()V
athrow
end local 7 13: StackMap locals: sun.io.CharToByteEUC_JP_Solaris char[] int int byte[] int int top top int int byte[]
StackMap stack:
iconst_1
istore 9
14: aload 11
astore 8
start local 8 15: aload 1
aload 0
getfield sun.io.CharToByteEUC_JP_Solaris.charOff:I
caload
istore 7
start local 7 16: iload 7
ldc 55296
if_icmplt 31
iload 7
ldc 56319
if_icmpgt 31
17: aload 0
getfield sun.io.CharToByteEUC_JP_Solaris.charOff:I
iconst_1
iadd
iload 3
if_icmplt 20
18: aload 0
iload 7
putfield sun.io.CharToByteEUC_JP_Solaris.highHalfZoneCode:C
19: goto 63
20: StackMap locals: sun.io.CharToByteEUC_JP_Solaris char[] int int byte[] int int int byte[] int int byte[]
StackMap stack:
aload 1
aload 0
getfield sun.io.CharToByteEUC_JP_Solaris.charOff:I
iconst_1
iadd
caload
istore 7
21: iload 7
ldc 56320
if_icmplt 29
iload 7
ldc 57343
if_icmpgt 29
22: aload 0
getfield sun.io.CharToByteEUC_JP_Solaris.subMode:Z
ifeq 27
23: aload 0
getfield sun.io.CharToByteEUC_JP_Solaris.subBytes:[B
astore 8
24: aload 0
getfield sun.io.CharToByteEUC_JP_Solaris.subBytes:[B
arraylength
istore 10
25: iconst_2
istore 9
26: goto 54
27: StackMap locals:
StackMap stack:
aload 0
iconst_2
putfield sun.io.CharToByteEUC_JP_Solaris.badInputLength:I
28: new sun.io.UnknownCharacterException
dup
invokespecial sun.io.UnknownCharacterException.<init>:()V
athrow
29: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield sun.io.CharToByteEUC_JP_Solaris.badInputLength:I
30: new sun.io.MalformedInputException
dup
invokespecial sun.io.MalformedInputException.<init>:()V
athrow
31: StackMap locals:
StackMap stack:
iload 7
ldc 56320
if_icmplt 34
iload 7
ldc 57343
if_icmpgt 34
32: aload 0
iconst_1
putfield sun.io.CharToByteEUC_JP_Solaris.badInputLength:I
33: new sun.io.MalformedInputException
dup
invokespecial sun.io.MalformedInputException.<init>:()V
athrow
34: StackMap locals:
StackMap stack:
aload 0
iload 7
aload 8
invokevirtual sun.io.CharToByteEUC_JP_Solaris.convSingleByte:(C[B)I
istore 10
35: iload 10
ifne 54
36: aload 0
iload 7
invokevirtual sun.io.CharToByteEUC_JP_Solaris.getNative:(C)I
istore 12
start local 12 37: iload 12
ifeq 48
38: iload 12
ldc 16711680
iand
ifne 43
39: aload 8
iconst_0
iload 12
ldc 65280
iand
bipush 8
ishr
i2b
bastore
40: aload 8
iconst_1
iload 12
sipush 255
iand
i2b
bastore
41: iconst_2
istore 10
42: goto 54
43: StackMap locals: int
StackMap stack:
aload 8
iconst_0
bipush -113
bastore
44: aload 8
iconst_1
iload 12
ldc 65280
iand
bipush 8
ishr
i2b
bastore
45: aload 8
iconst_2
iload 12
sipush 255
iand
i2b
bastore
46: iconst_3
istore 10
47: goto 54
48: StackMap locals:
StackMap stack:
aload 0
getfield sun.io.CharToByteEUC_JP_Solaris.subMode:Z
ifeq 52
49: aload 0
getfield sun.io.CharToByteEUC_JP_Solaris.subBytes:[B
astore 8
50: aload 0
getfield sun.io.CharToByteEUC_JP_Solaris.subBytes:[B
arraylength
istore 10
51: goto 54
52: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield sun.io.CharToByteEUC_JP_Solaris.badInputLength:I
53: new sun.io.UnknownCharacterException
dup
invokespecial sun.io.UnknownCharacterException.<init>:()V
athrow
end local 12 54: StackMap locals:
StackMap stack:
aload 0
getfield sun.io.CharToByteEUC_JP_Solaris.byteOff:I
iload 10
iadd
iload 6
if_icmple 56
55: new sun.io.ConversionBufferFullException
dup
invokespecial sun.io.ConversionBufferFullException.<init>:()V
athrow
56: StackMap locals:
StackMap stack:
iconst_0
istore 12
start local 12 57: goto 60
58: StackMap locals: int
StackMap stack:
aload 4
aload 0
dup
getfield sun.io.CharToByteEUC_JP_Solaris.byteOff:I
dup_x1
iconst_1
iadd
putfield sun.io.CharToByteEUC_JP_Solaris.byteOff:I
aload 8
iload 12
baload
bastore
59: iinc 12 1
StackMap locals:
StackMap stack:
60: iload 12
iload 10
if_icmplt 58
end local 12 61: aload 0
dup
getfield sun.io.CharToByteEUC_JP_Solaris.charOff:I
iload 9
iadd
putfield sun.io.CharToByteEUC_JP_Solaris.charOff:I
end local 8 end local 7 62: StackMap locals: sun.io.CharToByteEUC_JP_Solaris char[] int int byte[] int int top top int int byte[]
StackMap stack:
aload 0
getfield sun.io.CharToByteEUC_JP_Solaris.charOff:I
iload 3
if_icmplt 13
63: StackMap locals:
StackMap stack:
aload 0
getfield sun.io.CharToByteEUC_JP_Solaris.byteOff:I
iload 5
isub
ireturn
end local 11 end local 10 end local 9 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 64 0 this Lsun/io/CharToByteEUC_JP_Solaris;
0 64 1 input [C
0 64 2 inOff I
0 64 3 inEnd I
0 64 4 output [B
0 64 5 outOff I
0 64 6 outEnd I
7 13 7 inputChar C
16 62 7 inputChar C
15 62 8 outputByte [B
1 64 9 inputSize I
2 64 10 outputSize I
3 64 11 tmpbuf [B
37 54 12 ncode I
57 61 12 i I
Exceptions:
throws sun.io.MalformedInputException, sun.io.UnknownCharacterException, sun.io.ConversionBufferFullException
MethodParameters:
Name Flags
input
inOff
inEnd
output
outOff
outEnd
public int getMaxBytesPerChar();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_3
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/io/CharToByteEUC_JP_Solaris;
}
SourceFile: "CharToByteEUC_JP_Solaris.java"