public abstract class sun.io.CharToByteDBCS_EBCDIC extends sun.io.CharToByteConverter
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: sun.io.CharToByteDBCS_EBCDIC
super_class: sun.io.CharToByteConverter
{
private static final int SBCS;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private static final int DBCS;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private static final byte SO;
descriptor: B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 14
private static final byte SI;
descriptor: B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 15
private int currentState;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private char highHalfZoneCode;
descriptor: C
flags: (0x0002) ACC_PRIVATE
private byte[] outputByte;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
private sun.nio.cs.ext.DoubleByte$Encoder enc;
descriptor: Lsun/nio/cs/ext/DoubleByte$Encoder;
flags: (0x0002) ACC_PRIVATE
public void <init>(sun.nio.cs.ext.DoubleByte$Encoder);
descriptor: (Lsun/nio/cs/ext/DoubleByte$Encoder;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial sun.io.CharToByteConverter.<init>:()V
1: aload 0
iconst_2
newarray 8
putfield sun.io.CharToByteDBCS_EBCDIC.outputByte:[B
2: aload 0
iconst_0
putfield sun.io.CharToByteDBCS_EBCDIC.highHalfZoneCode:C
3: aload 0
iconst_0
putfield sun.io.CharToByteDBCS_EBCDIC.currentState:I
4: aload 0
aload 1
putfield sun.io.CharToByteDBCS_EBCDIC.enc:Lsun/nio/cs/ext/DoubleByte$Encoder;
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/io/CharToByteDBCS_EBCDIC;
0 6 1 enc Lsun/nio/cs/ext/DoubleByte$Encoder;
MethodParameters:
Name Flags
enc
int encodeChar(char);
descriptor: (C)I
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.io.CharToByteDBCS_EBCDIC.enc:Lsun/nio/cs/ext/DoubleByte$Encoder;
iload 1
invokevirtual sun.nio.cs.ext.DoubleByte$Encoder.encodeChar:(C)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/io/CharToByteDBCS_EBCDIC;
0 1 1 c C
MethodParameters:
Name Flags
c
public int flush(byte[], int, int);
descriptor: ([BII)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iconst_0
istore 4
start local 4 1: aload 0
getfield sun.io.CharToByteDBCS_EBCDIC.highHalfZoneCode:C
ifeq 5
2: aload 0
invokevirtual sun.io.CharToByteDBCS_EBCDIC.reset:()V
3: aload 0
iconst_0
putfield sun.io.CharToByteDBCS_EBCDIC.badInputLength:I
4: new sun.io.MalformedInputException
dup
invokespecial sun.io.MalformedInputException.<init>:()V
athrow
5: StackMap locals: int
StackMap stack:
aload 0
getfield sun.io.CharToByteDBCS_EBCDIC.currentState:I
iconst_1
if_icmpne 10
6: iload 2
iload 3
if_icmplt 8
7: new sun.io.ConversionBufferFullException
dup
invokespecial sun.io.ConversionBufferFullException.<init>:()V
athrow
8: StackMap locals:
StackMap stack:
aload 1
iload 2
bipush 15
bastore
9: iinc 4 1
10: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.io.CharToByteDBCS_EBCDIC.reset:()V
11: iload 4
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lsun/io/CharToByteDBCS_EBCDIC;
0 12 1 output [B
0 12 2 outStart I
0 12 3 outEnd I
1 12 4 bytesOut I
Exceptions:
throws sun.io.MalformedInputException, sun.io.ConversionBufferFullException
MethodParameters:
Name Flags
output
outStart
outEnd
public int convert(char[], int, int, byte[], int, int);
descriptor: ([CII[BII)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: aload 0
iload 5
putfield sun.io.CharToByteDBCS_EBCDIC.byteOff:I
1: aload 0
iload 2
putfield sun.io.CharToByteDBCS_EBCDIC.charOff:I
2: goto 69
3: StackMap locals:
StackMap stack:
aload 0
getfield sun.io.CharToByteDBCS_EBCDIC.highHalfZoneCode:C
ifne 7
4: aload 1
aload 0
getfield sun.io.CharToByteDBCS_EBCDIC.charOff:I
caload
istore 7
start local 7 5: iconst_1
istore 8
start local 8 6: goto 10
end local 8 end local 7 7: StackMap locals:
StackMap stack:
aload 0
getfield sun.io.CharToByteDBCS_EBCDIC.highHalfZoneCode:C
istore 7
start local 7 8: iconst_0
istore 8
start local 8 9: aload 0
iconst_0
putfield sun.io.CharToByteDBCS_EBCDIC.highHalfZoneCode:C
10: StackMap locals: int int
StackMap stack:
iload 7
invokestatic java.lang.Character.isHighSurrogate:(C)Z
ifeq 30
11: aload 0
getfield sun.io.CharToByteDBCS_EBCDIC.charOff:I
iload 8
iadd
iload 3
if_icmplt 15
12: aload 0
iload 7
putfield sun.io.CharToByteDBCS_EBCDIC.highHalfZoneCode:C
13: aload 0
dup
getfield sun.io.CharToByteDBCS_EBCDIC.charOff:I
iload 8
iadd
putfield sun.io.CharToByteDBCS_EBCDIC.charOff:I
14: goto 70
15: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield sun.io.CharToByteDBCS_EBCDIC.charOff:I
iload 8
iadd
caload
istore 7
16: iload 7
invokestatic java.lang.Character.isLowSurrogate:(C)Z
ifeq 28
17: aload 0
getfield sun.io.CharToByteDBCS_EBCDIC.subMode:Z
ifeq 26
18: aload 0
getfield sun.io.CharToByteDBCS_EBCDIC.subBytes:[B
arraylength
iconst_1
if_icmpne 22
19: aload 0
getfield sun.io.CharToByteDBCS_EBCDIC.outputByte:[B
iconst_0
iconst_0
bastore
20: aload 0
getfield sun.io.CharToByteDBCS_EBCDIC.outputByte:[B
iconst_1
aload 0
getfield sun.io.CharToByteDBCS_EBCDIC.subBytes:[B
iconst_0
baload
bastore
21: goto 24
22: StackMap locals:
StackMap stack:
aload 0
getfield sun.io.CharToByteDBCS_EBCDIC.outputByte:[B
iconst_0
aload 0
getfield sun.io.CharToByteDBCS_EBCDIC.subBytes:[B
iconst_0
baload
bastore
23: aload 0
getfield sun.io.CharToByteDBCS_EBCDIC.outputByte:[B
iconst_1
aload 0
getfield sun.io.CharToByteDBCS_EBCDIC.subBytes:[B
iconst_1
baload
bastore
24: StackMap locals:
StackMap stack:
iinc 8 1
25: goto 47
26: StackMap locals:
StackMap stack:
aload 0
iconst_2
putfield sun.io.CharToByteDBCS_EBCDIC.badInputLength:I
27: new sun.io.UnknownCharacterException
dup
invokespecial sun.io.UnknownCharacterException.<init>:()V
athrow
28: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield sun.io.CharToByteDBCS_EBCDIC.badInputLength:I
29: new sun.io.MalformedInputException
dup
invokespecial sun.io.MalformedInputException.<init>:()V
athrow
30: StackMap locals:
StackMap stack:
iload 7
invokestatic java.lang.Character.isLowSurrogate:(C)Z
ifeq 33
31: aload 0
iconst_1
putfield sun.io.CharToByteDBCS_EBCDIC.badInputLength:I
32: new sun.io.MalformedInputException
dup
invokespecial sun.io.MalformedInputException.<init>:()V
athrow
33: StackMap locals:
StackMap stack:
aload 0
iload 7
invokevirtual sun.io.CharToByteDBCS_EBCDIC.encodeChar:(C)I
istore 9
start local 9 34: iload 9
ldc 65533
if_icmpne 45
35: aload 0
getfield sun.io.CharToByteDBCS_EBCDIC.subMode:Z
ifeq 43
36: aload 0
getfield sun.io.CharToByteDBCS_EBCDIC.subBytes:[B
arraylength
iconst_1
if_icmpne 40
37: aload 0
getfield sun.io.CharToByteDBCS_EBCDIC.outputByte:[B
iconst_0
iconst_0
bastore
38: aload 0
getfield sun.io.CharToByteDBCS_EBCDIC.outputByte:[B
iconst_1
aload 0
getfield sun.io.CharToByteDBCS_EBCDIC.subBytes:[B
iconst_0
baload
bastore
39: goto 47
40: StackMap locals: int
StackMap stack:
aload 0
getfield sun.io.CharToByteDBCS_EBCDIC.outputByte:[B
iconst_0
aload 0
getfield sun.io.CharToByteDBCS_EBCDIC.subBytes:[B
iconst_0
baload
bastore
41: aload 0
getfield sun.io.CharToByteDBCS_EBCDIC.outputByte:[B
iconst_1
aload 0
getfield sun.io.CharToByteDBCS_EBCDIC.subBytes:[B
iconst_1
baload
bastore
42: goto 47
43: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield sun.io.CharToByteDBCS_EBCDIC.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.CharToByteDBCS_EBCDIC.outputByte:[B
iconst_0
iload 9
ldc 65280
iand
bipush 8
ishr
i2b
bastore
46: aload 0
getfield sun.io.CharToByteDBCS_EBCDIC.outputByte:[B
iconst_1
iload 9
sipush 255
iand
i2b
bastore
end local 9 47: StackMap locals:
StackMap stack:
aload 0
getfield sun.io.CharToByteDBCS_EBCDIC.currentState:I
iconst_1
if_icmpne 53
aload 0
getfield sun.io.CharToByteDBCS_EBCDIC.outputByte:[B
iconst_0
baload
ifne 53
48: aload 0
getfield sun.io.CharToByteDBCS_EBCDIC.byteOff:I
iload 6
if_icmplt 50
49: new sun.io.ConversionBufferFullException
dup
invokespecial sun.io.ConversionBufferFullException.<init>:()V
athrow
50: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield sun.io.CharToByteDBCS_EBCDIC.currentState:I
51: aload 4
aload 0
dup
getfield sun.io.CharToByteDBCS_EBCDIC.byteOff:I
dup_x1
iconst_1
iadd
putfield sun.io.CharToByteDBCS_EBCDIC.byteOff:I
bipush 15
bastore
52: goto 58
53: StackMap locals:
StackMap stack:
aload 0
getfield sun.io.CharToByteDBCS_EBCDIC.currentState:I
ifne 58
aload 0
getfield sun.io.CharToByteDBCS_EBCDIC.outputByte:[B
iconst_0
baload
ifeq 58
54: aload 0
getfield sun.io.CharToByteDBCS_EBCDIC.byteOff:I
iload 6
if_icmplt 56
55: new sun.io.ConversionBufferFullException
dup
invokespecial sun.io.ConversionBufferFullException.<init>:()V
athrow
56: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield sun.io.CharToByteDBCS_EBCDIC.currentState:I
57: aload 4
aload 0
dup
getfield sun.io.CharToByteDBCS_EBCDIC.byteOff:I
dup_x1
iconst_1
iadd
putfield sun.io.CharToByteDBCS_EBCDIC.byteOff:I
bipush 14
bastore
58: StackMap locals:
StackMap stack:
aload 0
getfield sun.io.CharToByteDBCS_EBCDIC.currentState:I
iconst_1
if_icmpne 61
59: iconst_2
istore 10
start local 10 60: goto 62
end local 10 61: StackMap locals:
StackMap stack:
iconst_1
istore 10
start local 10 62: StackMap locals: sun.io.CharToByteDBCS_EBCDIC char[] int int byte[] int int int int top int
StackMap stack:
aload 0
getfield sun.io.CharToByteDBCS_EBCDIC.byteOff:I
iload 10
iadd
iload 6
if_icmple 64
63: new sun.io.ConversionBufferFullException
dup
invokespecial sun.io.ConversionBufferFullException.<init>:()V
athrow
64: StackMap locals:
StackMap stack:
aload 0
getfield sun.io.CharToByteDBCS_EBCDIC.currentState:I
ifne 66
65: aload 4
aload 0
dup
getfield sun.io.CharToByteDBCS_EBCDIC.byteOff:I
dup_x1
iconst_1
iadd
putfield sun.io.CharToByteDBCS_EBCDIC.byteOff:I
aload 0
getfield sun.io.CharToByteDBCS_EBCDIC.outputByte:[B
iconst_1
baload
bastore
goto 68
66: StackMap locals:
StackMap stack:
aload 4
aload 0
dup
getfield sun.io.CharToByteDBCS_EBCDIC.byteOff:I
dup_x1
iconst_1
iadd
putfield sun.io.CharToByteDBCS_EBCDIC.byteOff:I
aload 0
getfield sun.io.CharToByteDBCS_EBCDIC.outputByte:[B
iconst_0
baload
bastore
67: aload 4
aload 0
dup
getfield sun.io.CharToByteDBCS_EBCDIC.byteOff:I
dup_x1
iconst_1
iadd
putfield sun.io.CharToByteDBCS_EBCDIC.byteOff:I
aload 0
getfield sun.io.CharToByteDBCS_EBCDIC.outputByte:[B
iconst_1
baload
bastore
68: StackMap locals:
StackMap stack:
aload 0
dup
getfield sun.io.CharToByteDBCS_EBCDIC.charOff:I
iload 8
iadd
putfield sun.io.CharToByteDBCS_EBCDIC.charOff:I
end local 10 end local 8 end local 7 69: StackMap locals: sun.io.CharToByteDBCS_EBCDIC char[] int int byte[] int int
StackMap stack:
aload 0
getfield sun.io.CharToByteDBCS_EBCDIC.charOff:I
iload 3
if_icmplt 3
70: StackMap locals:
StackMap stack:
aload 0
getfield sun.io.CharToByteDBCS_EBCDIC.byteOff:I
iload 5
isub
ireturn
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 71 0 this Lsun/io/CharToByteDBCS_EBCDIC;
0 71 1 input [C
0 71 2 inOff I
0 71 3 inEnd I
0 71 4 output [B
0 71 5 outOff I
0 71 6 outEnd I
5 7 7 inputChar C
8 69 7 inputChar C
6 7 8 inputSize I
9 69 8 inputSize I
34 47 9 theBytes I
60 61 10 spaceNeeded I
62 69 10 spaceNeeded I
Exceptions:
throws sun.io.UnknownCharacterException, sun.io.MalformedInputException, sun.io.ConversionBufferFullException
MethodParameters:
Name Flags
input
inOff
inEnd
output
outOff
outEnd
public void reset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
aload 0
iconst_0
dup_x1
putfield sun.io.CharToByteDBCS_EBCDIC.byteOff:I
putfield sun.io.CharToByteDBCS_EBCDIC.charOff:I
1: aload 0
iconst_0
putfield sun.io.CharToByteDBCS_EBCDIC.highHalfZoneCode:C
2: aload 0
iconst_0
putfield sun.io.CharToByteDBCS_EBCDIC.currentState:I
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/io/CharToByteDBCS_EBCDIC;
public int getMaxBytesPerChar();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_4
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/io/CharToByteDBCS_EBCDIC;
public void setSubstitutionBytes(byte[]);
descriptor: ([B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
arraylength
iconst_2
if_icmpgt 1
aload 1
arraylength
ifne 2
1: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
invokespecial java.lang.IllegalArgumentException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
arraylength
newarray 8
putfield sun.io.CharToByteDBCS_EBCDIC.subBytes:[B
3: aload 1
iconst_0
aload 0
getfield sun.io.CharToByteDBCS_EBCDIC.subBytes:[B
iconst_0
aload 1
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/io/CharToByteDBCS_EBCDIC;
0 5 1 newSubBytes [B
Exceptions:
throws java.lang.IllegalArgumentException
MethodParameters:
Name Flags
newSubBytes
public boolean canConvert(char);
descriptor: (C)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokevirtual sun.io.CharToByteDBCS_EBCDIC.encodeChar:(C)I
ldc 65533
if_icmpeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/io/CharToByteDBCS_EBCDIC;
0 2 1 c C
MethodParameters:
Name Flags
c
}
SourceFile: "CharToByteDBCS_EBCDIC.java"
InnerClasses:
public Encoder = sun.nio.cs.ext.DoubleByte$Encoder of sun.nio.cs.ext.DoubleByte