public abstract class sun.nio.cs.ext.DBCS_IBM_EBCDIC_Encoder extends java.nio.charset.CharsetEncoder
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: sun.nio.cs.ext.DBCS_IBM_EBCDIC_Encoder
super_class: java.nio.charset.CharsetEncoder
{
protected static final char REPLACE_CHAR;
descriptor: C
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 65533
private byte b1;
descriptor: B
flags: (0x0002) ACC_PRIVATE
private byte b2;
descriptor: B
flags: (0x0002) ACC_PRIVATE
protected short[] index1;
descriptor: [S
flags: (0x0004) ACC_PROTECTED
protected java.lang.String index2;
descriptor: Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
protected java.lang.String index2a;
descriptor: Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
protected int mask1;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected int mask2;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected int shift;
descriptor: I
flags: (0x0004) ACC_PROTECTED
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 final sun.nio.cs.Surrogate$Parser sgp;
descriptor: Lsun/nio/cs/Surrogate$Parser;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
protected void <init>(java.nio.charset.Charset);
descriptor: (Ljava/nio/charset/Charset;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=8, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
ldc 4.0
ldc 5.0
iconst_1
newarray 8
dup
iconst_0
bipush 111
bastore
invokespecial java.nio.charset.CharsetEncoder.<init>:(Ljava/nio/charset/Charset;FF[B)V
1: aload 0
new sun.nio.cs.Surrogate$Parser
dup
invokespecial sun.nio.cs.Surrogate$Parser.<init>:()V
putfield sun.nio.cs.ext.DBCS_IBM_EBCDIC_Encoder.sgp:Lsun/nio/cs/Surrogate$Parser;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/nio/cs/ext/DBCS_IBM_EBCDIC_Encoder;
0 3 1 cs Ljava/nio/charset/Charset;
MethodParameters:
Name Flags
cs
protected void implReset();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
putfield sun.nio.cs.ext.DBCS_IBM_EBCDIC_Encoder.currentState:I
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/nio/cs/ext/DBCS_IBM_EBCDIC_Encoder;
protected java.nio.charset.CoderResult implFlush(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)Ljava/nio/charset/CoderResult;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.nio.cs.ext.DBCS_IBM_EBCDIC_Encoder.currentState:I
iconst_1
if_icmpne 4
1: aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
iconst_1
if_icmpge 3
2: getstatic java.nio.charset.CoderResult.OVERFLOW:Ljava/nio/charset/CoderResult;
areturn
3: StackMap locals:
StackMap stack:
aload 1
bipush 15
invokevirtual java.nio.ByteBuffer.put:(B)Ljava/nio/ByteBuffer;
pop
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.nio.cs.ext.DBCS_IBM_EBCDIC_Encoder.implReset:()V
5: getstatic java.nio.charset.CoderResult.UNDERFLOW:Ljava/nio/charset/CoderResult;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/nio/cs/ext/DBCS_IBM_EBCDIC_Encoder;
0 6 1 out Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
out
public boolean canEncode(char);
descriptor: (C)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.nio.cs.ext.DBCS_IBM_EBCDIC_Encoder.index1:[S
iload 1
aload 0
getfield sun.nio.cs.ext.DBCS_IBM_EBCDIC_Encoder.mask1:I
iand
aload 0
getfield sun.nio.cs.ext.DBCS_IBM_EBCDIC_Encoder.shift:I
ishr
saload
iload 1
aload 0
getfield sun.nio.cs.ext.DBCS_IBM_EBCDIC_Encoder.mask2:I
iand
iadd
istore 2
start local 2 1: iload 2
sipush 15000
if_icmpge 4
2: aload 0
getfield sun.nio.cs.ext.DBCS_IBM_EBCDIC_Encoder.index2:Ljava/lang/String;
iload 2
invokevirtual java.lang.String.charAt:(I)C
istore 3
start local 3 3: goto 5
end local 3 4: StackMap locals: int
StackMap stack:
aload 0
getfield sun.nio.cs.ext.DBCS_IBM_EBCDIC_Encoder.index2a:Ljava/lang/String;
iload 2
sipush 15000
isub
invokevirtual java.lang.String.charAt:(I)C
istore 3
start local 3 5: StackMap locals: int
StackMap stack:
iload 3
ifeq 7
6: iconst_1
ireturn
7: StackMap locals:
StackMap stack:
iload 1
ifne 8
iconst_1
ireturn
StackMap locals:
StackMap stack:
8: iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/nio/cs/ext/DBCS_IBM_EBCDIC_Encoder;
0 9 1 ch C
1 9 2 index I
3 4 3 theBytes I
5 9 3 theBytes I
MethodParameters:
Name Flags
ch
private java.nio.charset.CoderResult encodeArrayLoop(java.nio.CharBuffer, java.nio.ByteBuffer);
descriptor: (Ljava/nio/CharBuffer;Ljava/nio/ByteBuffer;)Ljava/nio/charset/CoderResult;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=15, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual java.nio.CharBuffer.array:()[C
astore 3
start local 3 1: aload 1
invokevirtual java.nio.CharBuffer.arrayOffset:()I
aload 1
invokevirtual java.nio.CharBuffer.position:()I
iadd
istore 4
start local 4 2: aload 1
invokevirtual java.nio.CharBuffer.arrayOffset:()I
aload 1
invokevirtual java.nio.CharBuffer.limit:()I
iadd
istore 5
start local 5 3: aload 2
invokevirtual java.nio.ByteBuffer.array:()[B
astore 6
start local 6 4: aload 2
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
aload 2
invokevirtual java.nio.ByteBuffer.position:()I
iadd
istore 7
start local 7 5: aload 2
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
aload 2
invokevirtual java.nio.ByteBuffer.limit:()I
iadd
istore 8
start local 8 6: goto 69
7: StackMap locals: sun.nio.cs.ext.DBCS_IBM_EBCDIC_Encoder java.nio.CharBuffer java.nio.ByteBuffer char[] int int byte[] int int
StackMap stack:
aload 3
iload 4
caload
istore 12
start local 12 8: iload 12
invokestatic sun.nio.cs.Surrogate.is:(I)Z
ifeq 18
9: aload 0
getfield sun.nio.cs.ext.DBCS_IBM_EBCDIC_Encoder.sgp:Lsun/nio/cs/Surrogate$Parser;
iload 12
aload 3
iload 4
iload 5
invokevirtual sun.nio.cs.Surrogate$Parser.parse:(C[CII)I
ifge 14
10: aload 0
getfield sun.nio.cs.ext.DBCS_IBM_EBCDIC_Encoder.sgp:Lsun/nio/cs/Surrogate$Parser;
invokevirtual sun.nio.cs.Surrogate$Parser.error:()Ljava/nio/charset/CoderResult;
astore 14
11: aload 1
iload 4
aload 1
invokevirtual java.nio.CharBuffer.arrayOffset:()I
isub
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
12: aload 2
iload 7
aload 2
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
isub
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
13: aload 14
areturn
14: StackMap locals: sun.nio.cs.ext.DBCS_IBM_EBCDIC_Encoder java.nio.CharBuffer java.nio.ByteBuffer char[] int int byte[] int int top top top int
StackMap stack:
aload 0
getfield sun.nio.cs.ext.DBCS_IBM_EBCDIC_Encoder.sgp:Lsun/nio/cs/Surrogate$Parser;
invokevirtual sun.nio.cs.Surrogate$Parser.unmappableResult:()Ljava/nio/charset/CoderResult;
astore 14
15: aload 1
iload 4
aload 1
invokevirtual java.nio.CharBuffer.arrayOffset:()I
isub
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
16: aload 2
iload 7
aload 2
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
isub
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
17: aload 14
areturn
18: StackMap locals:
StackMap stack:
iload 12
ldc 65534
if_icmplt 23
19: iconst_1
invokestatic java.nio.charset.CoderResult.unmappableForLength:(I)Ljava/nio/charset/CoderResult;
astore 14
20: aload 1
iload 4
aload 1
invokevirtual java.nio.CharBuffer.arrayOffset:()I
isub
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
21: aload 2
iload 7
aload 2
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
isub
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
22: aload 14
areturn
23: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.cs.ext.DBCS_IBM_EBCDIC_Encoder.index1:[S
iload 12
aload 0
getfield sun.nio.cs.ext.DBCS_IBM_EBCDIC_Encoder.mask1:I
iand
aload 0
getfield sun.nio.cs.ext.DBCS_IBM_EBCDIC_Encoder.shift:I
ishr
saload
24: iload 12
aload 0
getfield sun.nio.cs.ext.DBCS_IBM_EBCDIC_Encoder.mask2:I
iand
25: iadd
istore 10
start local 10 26: iload 10
sipush 15000
if_icmpge 29
27: aload 0
getfield sun.nio.cs.ext.DBCS_IBM_EBCDIC_Encoder.index2:Ljava/lang/String;
iload 10
invokevirtual java.lang.String.charAt:(I)C
istore 11
start local 11 28: goto 30
end local 11 29: StackMap locals: sun.nio.cs.ext.DBCS_IBM_EBCDIC_Encoder java.nio.CharBuffer java.nio.ByteBuffer char[] int int byte[] int int top int top int
StackMap stack:
aload 0
getfield sun.nio.cs.ext.DBCS_IBM_EBCDIC_Encoder.index2a:Ljava/lang/String;
iload 10
sipush 15000
isub
invokevirtual java.lang.String.charAt:(I)C
istore 11
start local 11 30: StackMap locals: sun.nio.cs.ext.DBCS_IBM_EBCDIC_Encoder java.nio.CharBuffer java.nio.ByteBuffer char[] int int byte[] int int top int int int
StackMap stack:
aload 0
iload 11
ldc 65280
iand
bipush 8
ishr
i2b
putfield sun.nio.cs.ext.DBCS_IBM_EBCDIC_Encoder.b1:B
31: aload 0
iload 11
sipush 255
iand
i2b
putfield sun.nio.cs.ext.DBCS_IBM_EBCDIC_Encoder.b2:B
32: aload 0
getfield sun.nio.cs.ext.DBCS_IBM_EBCDIC_Encoder.b1:B
ifne 38
aload 0
getfield sun.nio.cs.ext.DBCS_IBM_EBCDIC_Encoder.b2:B
ifne 38
33: iload 12
ifeq 38
34: iconst_1
invokestatic java.nio.charset.CoderResult.unmappableForLength:(I)Ljava/nio/charset/CoderResult;
astore 14
35: aload 1
iload 4
aload 1
invokevirtual java.nio.CharBuffer.arrayOffset:()I
isub
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
36: aload 2
iload 7
aload 2
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
isub
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
37: aload 14
areturn
38: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.cs.ext.DBCS_IBM_EBCDIC_Encoder.currentState:I
iconst_1
if_icmpne 47
aload 0
getfield sun.nio.cs.ext.DBCS_IBM_EBCDIC_Encoder.b1:B
ifne 47
39: iload 8
iload 7
isub
iconst_1
if_icmpge 44
40: getstatic java.nio.charset.CoderResult.OVERFLOW:Ljava/nio/charset/CoderResult;
astore 14
41: aload 1
iload 4
aload 1
invokevirtual java.nio.CharBuffer.arrayOffset:()I
isub
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
42: aload 2
iload 7
aload 2
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
isub
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
43: aload 14
areturn
44: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield sun.nio.cs.ext.DBCS_IBM_EBCDIC_Encoder.currentState:I
45: aload 6
iload 7
iinc 7 1
bipush 15
bastore
46: goto 55
StackMap locals:
StackMap stack:
47: aload 0
getfield sun.nio.cs.ext.DBCS_IBM_EBCDIC_Encoder.currentState:I
ifne 55
aload 0
getfield sun.nio.cs.ext.DBCS_IBM_EBCDIC_Encoder.b1:B
ifeq 55
48: iload 8
iload 7
isub
iconst_1
if_icmpge 53
49: getstatic java.nio.charset.CoderResult.OVERFLOW:Ljava/nio/charset/CoderResult;
astore 14
50: aload 1
iload 4
aload 1
invokevirtual java.nio.CharBuffer.arrayOffset:()I
isub
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
51: aload 2
iload 7
aload 2
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
isub
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
52: aload 14
areturn
53: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield sun.nio.cs.ext.DBCS_IBM_EBCDIC_Encoder.currentState:I
54: aload 6
iload 7
iinc 7 1
bipush 14
bastore
55: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.cs.ext.DBCS_IBM_EBCDIC_Encoder.currentState:I
iconst_1
if_icmpne 58
56: iconst_2
istore 9
start local 9 57: goto 59
end local 9 58: StackMap locals:
StackMap stack:
iconst_1
istore 9
start local 9 59: StackMap locals: sun.nio.cs.ext.DBCS_IBM_EBCDIC_Encoder java.nio.CharBuffer java.nio.ByteBuffer char[] int int byte[] int int int int int int
StackMap stack:
iload 8
iload 7
isub
iload 9
if_icmpge 64
60: getstatic java.nio.charset.CoderResult.OVERFLOW:Ljava/nio/charset/CoderResult;
astore 14
61: aload 1
iload 4
aload 1
invokevirtual java.nio.CharBuffer.arrayOffset:()I
isub
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
62: aload 2
iload 7
aload 2
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
isub
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
63: aload 14
areturn
64: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.cs.ext.DBCS_IBM_EBCDIC_Encoder.currentState:I
ifne 66
65: aload 6
iload 7
iinc 7 1
aload 0
getfield sun.nio.cs.ext.DBCS_IBM_EBCDIC_Encoder.b2:B
bastore
goto 68
66: StackMap locals:
StackMap stack:
aload 6
iload 7
iinc 7 1
aload 0
getfield sun.nio.cs.ext.DBCS_IBM_EBCDIC_Encoder.b1:B
bastore
67: aload 6
iload 7
iinc 7 1
aload 0
getfield sun.nio.cs.ext.DBCS_IBM_EBCDIC_Encoder.b2:B
bastore
68: StackMap locals:
StackMap stack:
iinc 4 1
end local 12 end local 11 end local 10 end local 9 69: StackMap locals: sun.nio.cs.ext.DBCS_IBM_EBCDIC_Encoder java.nio.CharBuffer java.nio.ByteBuffer char[] int int byte[] int int
StackMap stack:
iload 4
iload 5
if_icmplt 7
70: getstatic java.nio.charset.CoderResult.UNDERFLOW:Ljava/nio/charset/CoderResult;
astore 14
71: aload 1
iload 4
aload 1
invokevirtual java.nio.CharBuffer.arrayOffset:()I
isub
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
72: aload 2
iload 7
aload 2
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
isub
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
73: aload 14
areturn
74: StackMap locals:
StackMap stack: java.lang.Throwable
astore 13
75: aload 1
iload 4
aload 1
invokevirtual java.nio.CharBuffer.arrayOffset:()I
isub
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
76: aload 2
iload 7
aload 2
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
isub
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
77: aload 13
athrow
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 78 0 this Lsun/nio/cs/ext/DBCS_IBM_EBCDIC_Encoder;
0 78 1 src Ljava/nio/CharBuffer;
0 78 2 dst Ljava/nio/ByteBuffer;
1 78 3 sa [C
2 78 4 sp I
3 78 5 sl I
4 78 6 da [B
5 78 7 dp I
6 78 8 dl I
57 58 9 spaceNeeded I
59 69 9 spaceNeeded I
26 69 10 index I
28 29 11 theBytes I
30 69 11 theBytes I
8 69 12 c C
Exception table:
from to target type
6 11 74 any
14 15 74 any
18 20 74 any
23 35 74 any
38 41 74 any
44 50 74 any
53 61 74 any
64 71 74 any
MethodParameters:
Name Flags
src
dst
private java.nio.charset.CoderResult encodeBufferLoop(java.nio.CharBuffer, java.nio.ByteBuffer);
descriptor: (Ljava/nio/CharBuffer;Ljava/nio/ByteBuffer;)Ljava/nio/charset/CoderResult;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=10, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual java.nio.CharBuffer.position:()I
istore 3
start local 3 1: goto 57
2: StackMap locals: int
StackMap stack:
aload 1
invokevirtual java.nio.CharBuffer.get:()C
istore 7
start local 7 3: iload 7
invokestatic sun.nio.cs.Surrogate.is:(I)Z
ifeq 11
4: aload 0
getfield sun.nio.cs.ext.DBCS_IBM_EBCDIC_Encoder.sgp:Lsun/nio/cs/Surrogate$Parser;
iload 7
aload 1
invokevirtual sun.nio.cs.Surrogate$Parser.parse:(CLjava/nio/CharBuffer;)I
ifge 8
5: aload 0
getfield sun.nio.cs.ext.DBCS_IBM_EBCDIC_Encoder.sgp:Lsun/nio/cs/Surrogate$Parser;
invokevirtual sun.nio.cs.Surrogate$Parser.error:()Ljava/nio/charset/CoderResult;
astore 9
6: aload 1
iload 3
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
7: aload 9
areturn
8: StackMap locals: sun.nio.cs.ext.DBCS_IBM_EBCDIC_Encoder java.nio.CharBuffer java.nio.ByteBuffer int top top top int
StackMap stack:
aload 0
getfield sun.nio.cs.ext.DBCS_IBM_EBCDIC_Encoder.sgp:Lsun/nio/cs/Surrogate$Parser;
invokevirtual sun.nio.cs.Surrogate$Parser.unmappableResult:()Ljava/nio/charset/CoderResult;
astore 9
9: aload 1
iload 3
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
10: aload 9
areturn
11: StackMap locals:
StackMap stack:
iload 7
ldc 65534
if_icmplt 15
12: iconst_1
invokestatic java.nio.charset.CoderResult.unmappableForLength:(I)Ljava/nio/charset/CoderResult;
astore 9
13: aload 1
iload 3
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
14: aload 9
areturn
15: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.cs.ext.DBCS_IBM_EBCDIC_Encoder.index1:[S
iload 7
aload 0
getfield sun.nio.cs.ext.DBCS_IBM_EBCDIC_Encoder.mask1:I
iand
aload 0
getfield sun.nio.cs.ext.DBCS_IBM_EBCDIC_Encoder.shift:I
ishr
saload
16: iload 7
aload 0
getfield sun.nio.cs.ext.DBCS_IBM_EBCDIC_Encoder.mask2:I
iand
17: iadd
istore 5
start local 5 18: iload 5
sipush 15000
if_icmpge 21
19: aload 0
getfield sun.nio.cs.ext.DBCS_IBM_EBCDIC_Encoder.index2:Ljava/lang/String;
iload 5
invokevirtual java.lang.String.charAt:(I)C
istore 6
start local 6 20: goto 22
end local 6 21: StackMap locals: sun.nio.cs.ext.DBCS_IBM_EBCDIC_Encoder java.nio.CharBuffer java.nio.ByteBuffer int top int top int
StackMap stack:
aload 0
getfield sun.nio.cs.ext.DBCS_IBM_EBCDIC_Encoder.index2a:Ljava/lang/String;
iload 5
sipush 15000
isub
invokevirtual java.lang.String.charAt:(I)C
istore 6
start local 6 22: StackMap locals: sun.nio.cs.ext.DBCS_IBM_EBCDIC_Encoder java.nio.CharBuffer java.nio.ByteBuffer int top int int int
StackMap stack:
aload 0
iload 6
ldc 65280
iand
bipush 8
ishr
i2b
putfield sun.nio.cs.ext.DBCS_IBM_EBCDIC_Encoder.b1:B
23: aload 0
iload 6
sipush 255
iand
i2b
putfield sun.nio.cs.ext.DBCS_IBM_EBCDIC_Encoder.b2:B
24: aload 0
getfield sun.nio.cs.ext.DBCS_IBM_EBCDIC_Encoder.b1:B
ifne 29
aload 0
getfield sun.nio.cs.ext.DBCS_IBM_EBCDIC_Encoder.b2:B
ifne 29
25: iload 7
ifeq 29
26: iconst_1
invokestatic java.nio.charset.CoderResult.unmappableForLength:(I)Ljava/nio/charset/CoderResult;
astore 9
27: aload 1
iload 3
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
28: aload 9
areturn
29: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.cs.ext.DBCS_IBM_EBCDIC_Encoder.currentState:I
iconst_1
if_icmpne 37
aload 0
getfield sun.nio.cs.ext.DBCS_IBM_EBCDIC_Encoder.b1:B
ifne 37
30: aload 2
invokevirtual java.nio.ByteBuffer.remaining:()I
iconst_1
if_icmpge 34
31: getstatic java.nio.charset.CoderResult.OVERFLOW:Ljava/nio/charset/CoderResult;
astore 9
32: aload 1
iload 3
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
33: aload 9
areturn
34: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield sun.nio.cs.ext.DBCS_IBM_EBCDIC_Encoder.currentState:I
35: aload 2
bipush 15
invokevirtual java.nio.ByteBuffer.put:(B)Ljava/nio/ByteBuffer;
pop
36: goto 44
StackMap locals:
StackMap stack:
37: aload 0
getfield sun.nio.cs.ext.DBCS_IBM_EBCDIC_Encoder.currentState:I
ifne 44
aload 0
getfield sun.nio.cs.ext.DBCS_IBM_EBCDIC_Encoder.b1:B
ifeq 44
38: aload 2
invokevirtual java.nio.ByteBuffer.remaining:()I
iconst_1
if_icmpge 42
39: getstatic java.nio.charset.CoderResult.OVERFLOW:Ljava/nio/charset/CoderResult;
astore 9
40: aload 1
iload 3
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
41: aload 9
areturn
42: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield sun.nio.cs.ext.DBCS_IBM_EBCDIC_Encoder.currentState:I
43: aload 2
bipush 14
invokevirtual java.nio.ByteBuffer.put:(B)Ljava/nio/ByteBuffer;
pop
44: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.cs.ext.DBCS_IBM_EBCDIC_Encoder.currentState:I
iconst_1
if_icmpne 47
45: iconst_2
istore 4
start local 4 46: goto 48
end local 4 47: StackMap locals:
StackMap stack:
iconst_1
istore 4
start local 4 48: StackMap locals: sun.nio.cs.ext.DBCS_IBM_EBCDIC_Encoder java.nio.CharBuffer java.nio.ByteBuffer int int int int int
StackMap stack:
aload 2
invokevirtual java.nio.ByteBuffer.remaining:()I
iload 4
if_icmpge 52
49: getstatic java.nio.charset.CoderResult.OVERFLOW:Ljava/nio/charset/CoderResult;
astore 9
50: aload 1
iload 3
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
51: aload 9
areturn
52: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.cs.ext.DBCS_IBM_EBCDIC_Encoder.currentState:I
ifne 54
53: aload 2
aload 0
getfield sun.nio.cs.ext.DBCS_IBM_EBCDIC_Encoder.b2:B
invokevirtual java.nio.ByteBuffer.put:(B)Ljava/nio/ByteBuffer;
pop
goto 56
54: StackMap locals:
StackMap stack:
aload 2
aload 0
getfield sun.nio.cs.ext.DBCS_IBM_EBCDIC_Encoder.b1:B
invokevirtual java.nio.ByteBuffer.put:(B)Ljava/nio/ByteBuffer;
pop
55: aload 2
aload 0
getfield sun.nio.cs.ext.DBCS_IBM_EBCDIC_Encoder.b2:B
invokevirtual java.nio.ByteBuffer.put:(B)Ljava/nio/ByteBuffer;
pop
56: StackMap locals:
StackMap stack:
iinc 3 1
end local 7 end local 6 end local 5 end local 4 57: StackMap locals: sun.nio.cs.ext.DBCS_IBM_EBCDIC_Encoder java.nio.CharBuffer java.nio.ByteBuffer int
StackMap stack:
aload 1
invokevirtual java.nio.CharBuffer.hasRemaining:()Z
ifne 2
58: getstatic java.nio.charset.CoderResult.UNDERFLOW:Ljava/nio/charset/CoderResult;
astore 9
59: aload 1
iload 3
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
60: aload 9
areturn
61: StackMap locals:
StackMap stack: java.lang.Throwable
astore 8
62: aload 1
iload 3
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
63: aload 8
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 64 0 this Lsun/nio/cs/ext/DBCS_IBM_EBCDIC_Encoder;
0 64 1 src Ljava/nio/CharBuffer;
0 64 2 dst Ljava/nio/ByteBuffer;
1 64 3 mark I
46 47 4 spaceNeeded I
48 57 4 spaceNeeded I
18 57 5 index I
20 21 6 theBytes I
22 57 6 theBytes I
3 57 7 c C
Exception table:
from to target type
1 6 61 any
8 9 61 any
11 13 61 any
15 27 61 any
29 32 61 any
34 40 61 any
42 50 61 any
52 59 61 any
MethodParameters:
Name Flags
src
dst
protected java.nio.charset.CoderResult encodeLoop(java.nio.CharBuffer, java.nio.ByteBuffer);
descriptor: (Ljava/nio/CharBuffer;Ljava/nio/ByteBuffer;)Ljava/nio/charset/CoderResult;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual java.nio.CharBuffer.hasArray:()Z
ifeq 2
aload 2
invokevirtual java.nio.ByteBuffer.hasArray:()Z
ifeq 2
1: aload 0
aload 1
aload 2
invokevirtual sun.nio.cs.ext.DBCS_IBM_EBCDIC_Encoder.encodeArrayLoop:(Ljava/nio/CharBuffer;Ljava/nio/ByteBuffer;)Ljava/nio/charset/CoderResult;
areturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokevirtual sun.nio.cs.ext.DBCS_IBM_EBCDIC_Encoder.encodeBufferLoop:(Ljava/nio/CharBuffer;Ljava/nio/ByteBuffer;)Ljava/nio/charset/CoderResult;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/nio/cs/ext/DBCS_IBM_EBCDIC_Encoder;
0 3 1 src Ljava/nio/CharBuffer;
0 3 2 dst Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
src
dst
}
SourceFile: "DBCS_IBM_EBCDIC_Encoder.java"
InnerClasses:
public Parser = sun.nio.cs.Surrogate$Parser of sun.nio.cs.Surrogate