public class sun.nio.cs.ext.ISO2022$Encoder extends java.nio.charset.CharsetEncoder
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.nio.cs.ext.ISO2022$Encoder
super_class: java.nio.charset.CharsetEncoder
{
private static final byte ISO_ESC;
descriptor: B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 27
private static final byte ISO_SI;
descriptor: B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 15
private static final byte ISO_SO;
descriptor: B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 14
private static final byte ISO_SS2_7;
descriptor: B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 78
private static final byte ISO_SS3_7;
descriptor: B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 79
private final sun.nio.cs.Surrogate$Parser sgp;
descriptor: Lsun/nio/cs/Surrogate$Parser;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public static final byte SS2;
descriptor: B
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: -114
public static final byte PLANE2;
descriptor: B
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: -94
public static final byte PLANE3;
descriptor: B
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: -93
protected final byte maximumDesignatorLength;
descriptor: B
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
ConstantValue: 4
protected byte[] SODesig;
descriptor: [B
flags: (0x0004) ACC_PROTECTED
protected byte[] SS2Desig;
descriptor: [B
flags: (0x0004) ACC_PROTECTED
protected byte[] SS3Desig;
descriptor: [B
flags: (0x0004) ACC_PROTECTED
protected java.nio.charset.CharsetEncoder ISOEncoder;
descriptor: Ljava/nio/charset/CharsetEncoder;
flags: (0x0004) ACC_PROTECTED
private boolean shiftout;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean SODesDefined;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean SS2DesDefined;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean SS3DesDefined;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean newshiftout;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean newSODesDefined;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean newSS2DesDefined;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean newSS3DesDefined;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
protected void <init>(java.nio.charset.Charset);
descriptor: (Ljava/nio/charset/Charset;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
ldc 4.0
ldc 8.0
invokespecial java.nio.charset.CharsetEncoder.<init>:(Ljava/nio/charset/Charset;FF)V
1: aload 0
new sun.nio.cs.Surrogate$Parser
dup
invokespecial sun.nio.cs.Surrogate$Parser.<init>:()V
putfield sun.nio.cs.ext.ISO2022$Encoder.sgp:Lsun/nio/cs/Surrogate$Parser;
2: aload 0
iconst_4
putfield sun.nio.cs.ext.ISO2022$Encoder.maximumDesignatorLength:B
3: aload 0
aconst_null
putfield sun.nio.cs.ext.ISO2022$Encoder.SS2Desig:[B
4: aload 0
aconst_null
putfield sun.nio.cs.ext.ISO2022$Encoder.SS3Desig:[B
5: aload 0
iconst_0
putfield sun.nio.cs.ext.ISO2022$Encoder.shiftout:Z
6: aload 0
iconst_0
putfield sun.nio.cs.ext.ISO2022$Encoder.SODesDefined:Z
7: aload 0
iconst_0
putfield sun.nio.cs.ext.ISO2022$Encoder.SS2DesDefined:Z
8: aload 0
iconst_0
putfield sun.nio.cs.ext.ISO2022$Encoder.SS3DesDefined:Z
9: aload 0
iconst_0
putfield sun.nio.cs.ext.ISO2022$Encoder.newshiftout:Z
10: aload 0
iconst_0
putfield sun.nio.cs.ext.ISO2022$Encoder.newSODesDefined:Z
11: aload 0
iconst_0
putfield sun.nio.cs.ext.ISO2022$Encoder.newSS2DesDefined:Z
12: aload 0
iconst_0
putfield sun.nio.cs.ext.ISO2022$Encoder.newSS3DesDefined:Z
13: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lsun/nio/cs/ext/ISO2022$Encoder;
0 14 1 cs Ljava/nio/charset/Charset;
MethodParameters:
Name Flags
cs
public boolean canEncode(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
getfield sun.nio.cs.ext.ISO2022$Encoder.ISOEncoder:Ljava/nio/charset/CharsetEncoder;
iload 1
invokevirtual java.nio.charset.CharsetEncoder.canEncode:(C)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/nio/cs/ext/ISO2022$Encoder;
0 1 1 c C
MethodParameters:
Name Flags
c
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.ISO2022$Encoder.shiftout:Z
1: aload 0
iconst_0
putfield sun.nio.cs.ext.ISO2022$Encoder.SODesDefined:Z
2: aload 0
iconst_0
putfield sun.nio.cs.ext.ISO2022$Encoder.SS2DesDefined:Z
3: aload 0
iconst_0
putfield sun.nio.cs.ext.ISO2022$Encoder.SS3DesDefined:Z
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/nio/cs/ext/ISO2022$Encoder;
private int unicodeToNative(char, byte[]);
descriptor: (C[B)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=9, args_size=3
start local 0 start local 1 start local 2 0: iconst_0
istore 3
start local 3 1: iconst_1
newarray 5
dup
iconst_0
iload 1
castore
astore 4
start local 4 2: iconst_4
newarray 8
astore 5
start local 5 3: aload 4
invokestatic java.nio.CharBuffer.wrap:([C)Ljava/nio/CharBuffer;
astore 7
start local 7 4: aload 5
invokestatic java.nio.ByteBuffer.wrap:([B)Ljava/nio/ByteBuffer;
astore 8
start local 8 5: aload 0
getfield sun.nio.cs.ext.ISO2022$Encoder.ISOEncoder:Ljava/nio/charset/CharsetEncoder;
aload 7
aload 8
iconst_1
invokevirtual java.nio.charset.CharsetEncoder.encode:(Ljava/nio/CharBuffer;Ljava/nio/ByteBuffer;Z)Ljava/nio/charset/CoderResult;
pop
6: aload 8
invokevirtual java.nio.ByteBuffer.flip:()Ljava/nio/ByteBuffer;
pop
7: aload 8
invokevirtual java.nio.ByteBuffer.remaining:()I
istore 6
end local 8 end local 7 start local 6 8: goto 11
end local 6 StackMap locals: sun.nio.cs.ext.ISO2022$Encoder int byte[] int char[] byte[]
StackMap stack: java.lang.Exception
9: pop
10: iconst_m1
ireturn
start local 6 11: StackMap locals: int
StackMap stack:
iload 6
iconst_2
if_icmpne 23
12: aload 0
getfield sun.nio.cs.ext.ISO2022$Encoder.SODesDefined:Z
ifne 17
13: aload 0
iconst_1
putfield sun.nio.cs.ext.ISO2022$Encoder.newSODesDefined:Z
14: aload 2
iconst_0
bipush 27
bastore
15: aload 0
getfield sun.nio.cs.ext.ISO2022$Encoder.SODesig:[B
iconst_0
aload 2
iconst_1
aload 0
getfield sun.nio.cs.ext.ISO2022$Encoder.SODesig:[B
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
16: aload 0
getfield sun.nio.cs.ext.ISO2022$Encoder.SODesig:[B
arraylength
iconst_1
iadd
istore 3
17: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.cs.ext.ISO2022$Encoder.shiftout:Z
ifne 20
18: aload 0
iconst_1
putfield sun.nio.cs.ext.ISO2022$Encoder.newshiftout:Z
19: aload 2
iload 3
iinc 3 1
bipush 14
bastore
20: StackMap locals:
StackMap stack:
aload 2
iload 3
iinc 3 1
aload 5
iconst_0
baload
bipush 127
iand
i2b
bastore
21: aload 2
iload 3
iinc 3 1
aload 5
iconst_1
baload
bipush 127
iand
i2b
bastore
22: goto 45
23: StackMap locals:
StackMap stack:
aload 5
iconst_0
baload
bipush -114
if_icmpne 45
24: aload 5
iconst_1
baload
bipush -94
if_icmpne 35
25: aload 0
getfield sun.nio.cs.ext.ISO2022$Encoder.SS2DesDefined:Z
ifne 30
26: aload 0
iconst_1
putfield sun.nio.cs.ext.ISO2022$Encoder.newSS2DesDefined:Z
27: aload 2
iconst_0
bipush 27
bastore
28: aload 0
getfield sun.nio.cs.ext.ISO2022$Encoder.SS2Desig:[B
iconst_0
aload 2
iconst_1
aload 0
getfield sun.nio.cs.ext.ISO2022$Encoder.SS2Desig:[B
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
29: aload 0
getfield sun.nio.cs.ext.ISO2022$Encoder.SS2Desig:[B
arraylength
iconst_1
iadd
istore 3
30: StackMap locals:
StackMap stack:
aload 2
iload 3
iinc 3 1
bipush 27
bastore
31: aload 2
iload 3
iinc 3 1
bipush 78
bastore
32: aload 2
iload 3
iinc 3 1
aload 5
iconst_2
baload
bipush 127
iand
i2b
bastore
33: aload 2
iload 3
iinc 3 1
aload 5
iconst_3
baload
bipush 127
iand
i2b
bastore
34: goto 45
StackMap locals:
StackMap stack:
35: aload 5
iconst_1
baload
bipush -93
if_icmpne 45
36: aload 0
getfield sun.nio.cs.ext.ISO2022$Encoder.SS3DesDefined:Z
ifne 41
37: aload 0
iconst_1
putfield sun.nio.cs.ext.ISO2022$Encoder.newSS3DesDefined:Z
38: aload 2
iconst_0
bipush 27
bastore
39: aload 0
getfield sun.nio.cs.ext.ISO2022$Encoder.SS3Desig:[B
iconst_0
aload 2
iconst_1
aload 0
getfield sun.nio.cs.ext.ISO2022$Encoder.SS3Desig:[B
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
40: aload 0
getfield sun.nio.cs.ext.ISO2022$Encoder.SS3Desig:[B
arraylength
iconst_1
iadd
istore 3
41: StackMap locals:
StackMap stack:
aload 2
iload 3
iinc 3 1
bipush 27
bastore
42: aload 2
iload 3
iinc 3 1
bipush 79
bastore
43: aload 2
iload 3
iinc 3 1
aload 5
iconst_2
baload
bipush 127
iand
i2b
bastore
44: aload 2
iload 3
iinc 3 1
aload 5
iconst_3
baload
bipush 127
iand
i2b
bastore
45: StackMap locals:
StackMap stack:
iload 3
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 46 0 this Lsun/nio/cs/ext/ISO2022$Encoder;
0 46 1 unicode C
0 46 2 ebyte [B
1 46 3 index I
2 46 4 convChar [C
3 46 5 convByte [B
8 9 6 converted I
11 46 6 converted I
4 8 7 cc Ljava/nio/CharBuffer;
5 8 8 bb Ljava/nio/ByteBuffer;
Exception table:
from to target type
3 8 9 Class java.lang.Exception
MethodParameters:
Name Flags
unicode
ebyte
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: bipush 8
newarray 8
astore 10
start local 10 7: aload 0
aload 0
getfield sun.nio.cs.ext.ISO2022$Encoder.shiftout:Z
putfield sun.nio.cs.ext.ISO2022$Encoder.newshiftout:Z
8: aload 0
aload 0
getfield sun.nio.cs.ext.ISO2022$Encoder.SODesDefined:Z
putfield sun.nio.cs.ext.ISO2022$Encoder.newSODesDefined:Z
9: aload 0
aload 0
getfield sun.nio.cs.ext.ISO2022$Encoder.SS2DesDefined:Z
putfield sun.nio.cs.ext.ISO2022$Encoder.newSS2DesDefined:Z
10: aload 0
aload 0
getfield sun.nio.cs.ext.ISO2022$Encoder.SS3DesDefined:Z
putfield sun.nio.cs.ext.ISO2022$Encoder.newSS3DesDefined:Z
11: goto 58
12: StackMap locals: sun.nio.cs.ext.ISO2022$Encoder java.nio.CharBuffer java.nio.ByteBuffer char[] int int byte[] int int top byte[]
StackMap stack:
aload 3
iload 4
caload
istore 11
start local 11 13: iload 11
invokestatic java.lang.Character.isSurrogate:(C)Z
ifeq 23
14: aload 0
getfield sun.nio.cs.ext.ISO2022$Encoder.sgp:Lsun/nio/cs/Surrogate$Parser;
iload 11
aload 3
iload 4
iload 5
invokevirtual sun.nio.cs.Surrogate$Parser.parse:(C[CII)I
ifge 19
15: aload 0
getfield sun.nio.cs.ext.ISO2022$Encoder.sgp:Lsun/nio/cs/Surrogate$Parser;
invokevirtual sun.nio.cs.Surrogate$Parser.error:()Ljava/nio/charset/CoderResult;
astore 14
16: aload 1
iload 4
aload 1
invokevirtual java.nio.CharBuffer.arrayOffset:()I
isub
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/CharBuffer;
pop
17: aload 2
iload 7
aload 2
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
isub
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/ByteBuffer;
pop
18: aload 14
areturn
19: StackMap locals: int
StackMap stack:
aload 0
getfield sun.nio.cs.ext.ISO2022$Encoder.sgp:Lsun/nio/cs/Surrogate$Parser;
invokevirtual sun.nio.cs.Surrogate$Parser.unmappableResult:()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/CharBuffer;
pop
21: aload 2
iload 7
aload 2
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
isub
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/ByteBuffer;
pop
22: aload 14
areturn
23: StackMap locals:
StackMap stack:
iload 11
sipush 128
if_icmpge 37
24: aload 0
getfield sun.nio.cs.ext.ISO2022$Encoder.shiftout:Z
ifeq 30
25: aload 0
iconst_0
putfield sun.nio.cs.ext.ISO2022$Encoder.newshiftout:Z
26: iconst_2
istore 9
start local 9 27: aload 10
iconst_0
bipush 15
bastore
28: aload 10
iconst_1
iload 11
bipush 127
iand
i2b
bastore
29: goto 32
end local 9 30: StackMap locals:
StackMap stack:
iconst_1
istore 9
start local 9 31: aload 10
iconst_0
iload 11
bipush 127
iand
i2b
bastore
32: StackMap locals: sun.nio.cs.ext.ISO2022$Encoder java.nio.CharBuffer java.nio.ByteBuffer char[] int int byte[] int int int byte[] int
StackMap stack:
aload 3
iload 4
caload
bipush 10
if_icmpne 43
33: aload 0
iconst_0
putfield sun.nio.cs.ext.ISO2022$Encoder.newSODesDefined:Z
34: aload 0
iconst_0
putfield sun.nio.cs.ext.ISO2022$Encoder.newSS2DesDefined:Z
35: aload 0
iconst_0
putfield sun.nio.cs.ext.ISO2022$Encoder.newSS3DesDefined:Z
36: goto 43
end local 9 37: StackMap locals: sun.nio.cs.ext.ISO2022$Encoder java.nio.CharBuffer java.nio.ByteBuffer char[] int int byte[] int int top byte[] int
StackMap stack:
aload 0
iload 11
aload 10
invokevirtual sun.nio.cs.ext.ISO2022$Encoder.unicodeToNative:(C[B)I
istore 9
start local 9 38: iload 9
ifne 43
39: iconst_1
invokestatic java.nio.charset.CoderResult.unmappableForLength:(I)Ljava/nio/charset/CoderResult;
astore 14
40: aload 1
iload 4
aload 1
invokevirtual java.nio.CharBuffer.arrayOffset:()I
isub
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/CharBuffer;
pop
41: aload 2
iload 7
aload 2
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
isub
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/ByteBuffer;
pop
42: aload 14
areturn
43: StackMap locals: sun.nio.cs.ext.ISO2022$Encoder java.nio.CharBuffer java.nio.ByteBuffer char[] int int byte[] int int int byte[] int
StackMap stack:
iload 8
iload 7
isub
iload 9
if_icmpge 48
44: getstatic java.nio.charset.CoderResult.OVERFLOW:Ljava/nio/charset/CoderResult;
astore 14
45: aload 1
iload 4
aload 1
invokevirtual java.nio.CharBuffer.arrayOffset:()I
isub
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/CharBuffer;
pop
46: aload 2
iload 7
aload 2
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
isub
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/ByteBuffer;
pop
47: aload 14
areturn
48: StackMap locals:
StackMap stack:
iconst_0
istore 12
start local 12 49: goto 52
50: StackMap locals: int
StackMap stack:
aload 6
iload 7
iinc 7 1
aload 10
iload 12
baload
bastore
51: iinc 12 1
StackMap locals:
StackMap stack:
52: iload 12
iload 9
if_icmplt 50
end local 12 53: iinc 4 1
54: aload 0
aload 0
getfield sun.nio.cs.ext.ISO2022$Encoder.newshiftout:Z
putfield sun.nio.cs.ext.ISO2022$Encoder.shiftout:Z
55: aload 0
aload 0
getfield sun.nio.cs.ext.ISO2022$Encoder.newSODesDefined:Z
putfield sun.nio.cs.ext.ISO2022$Encoder.SODesDefined:Z
56: aload 0
aload 0
getfield sun.nio.cs.ext.ISO2022$Encoder.newSS2DesDefined:Z
putfield sun.nio.cs.ext.ISO2022$Encoder.SS2DesDefined:Z
57: aload 0
aload 0
getfield sun.nio.cs.ext.ISO2022$Encoder.newSS3DesDefined:Z
putfield sun.nio.cs.ext.ISO2022$Encoder.SS3DesDefined:Z
end local 11 end local 9 58: StackMap locals: sun.nio.cs.ext.ISO2022$Encoder java.nio.CharBuffer java.nio.ByteBuffer char[] int int byte[] int int top byte[]
StackMap stack:
iload 4
iload 5
if_icmplt 12
59: getstatic java.nio.charset.CoderResult.UNDERFLOW:Ljava/nio/charset/CoderResult;
astore 14
60: aload 1
iload 4
aload 1
invokevirtual java.nio.CharBuffer.arrayOffset:()I
isub
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/CharBuffer;
pop
61: aload 2
iload 7
aload 2
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
isub
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/ByteBuffer;
pop
62: aload 14
areturn
63: StackMap locals:
StackMap stack: java.lang.Throwable
astore 13
64: aload 1
iload 4
aload 1
invokevirtual java.nio.CharBuffer.arrayOffset:()I
isub
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/CharBuffer;
pop
65: aload 2
iload 7
aload 2
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
isub
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/ByteBuffer;
pop
66: aload 13
athrow
end local 10 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 67 0 this Lsun/nio/cs/ext/ISO2022$Encoder;
0 67 1 src Ljava/nio/CharBuffer;
0 67 2 dst Ljava/nio/ByteBuffer;
1 67 3 sa [C
2 67 4 sp I
3 67 5 sl I
4 67 6 da [B
5 67 7 dp I
6 67 8 dl I
27 30 9 outputSize I
31 37 9 outputSize I
38 58 9 outputSize I
7 67 10 outputByte [B
13 58 11 c C
49 53 12 i I
Exception table:
from to target type
11 16 63 any
19 20 63 any
23 40 63 any
43 45 63 any
48 60 63 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=4, locals=10, args_size=3
start local 0 start local 1 start local 2 0: bipush 8
newarray 8
astore 4
start local 4 1: aload 0
aload 0
getfield sun.nio.cs.ext.ISO2022$Encoder.shiftout:Z
putfield sun.nio.cs.ext.ISO2022$Encoder.newshiftout:Z
2: aload 0
aload 0
getfield sun.nio.cs.ext.ISO2022$Encoder.SODesDefined:Z
putfield sun.nio.cs.ext.ISO2022$Encoder.newSODesDefined:Z
3: aload 0
aload 0
getfield sun.nio.cs.ext.ISO2022$Encoder.SS2DesDefined:Z
putfield sun.nio.cs.ext.ISO2022$Encoder.newSS2DesDefined:Z
4: aload 0
aload 0
getfield sun.nio.cs.ext.ISO2022$Encoder.SS3DesDefined:Z
putfield sun.nio.cs.ext.ISO2022$Encoder.newSS3DesDefined:Z
5: aload 1
invokevirtual java.nio.CharBuffer.position:()I
istore 5
start local 5 6: goto 49
7: StackMap locals: sun.nio.cs.ext.ISO2022$Encoder java.nio.CharBuffer java.nio.ByteBuffer top byte[] int
StackMap stack:
aload 1
invokevirtual java.nio.CharBuffer.get:()C
istore 6
start local 6 8: iload 6
invokestatic java.lang.Character.isSurrogate:(C)Z
ifeq 16
9: aload 0
getfield sun.nio.cs.ext.ISO2022$Encoder.sgp:Lsun/nio/cs/Surrogate$Parser;
iload 6
aload 1
invokevirtual sun.nio.cs.Surrogate$Parser.parse:(CLjava/nio/CharBuffer;)I
ifge 13
10: aload 0
getfield sun.nio.cs.ext.ISO2022$Encoder.sgp:Lsun/nio/cs/Surrogate$Parser;
invokevirtual sun.nio.cs.Surrogate$Parser.error:()Ljava/nio/charset/CoderResult;
astore 9
11: aload 1
iload 5
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/CharBuffer;
pop
12: aload 9
areturn
13: StackMap locals: int
StackMap stack:
aload 0
getfield sun.nio.cs.ext.ISO2022$Encoder.sgp:Lsun/nio/cs/Surrogate$Parser;
invokevirtual sun.nio.cs.Surrogate$Parser.unmappableResult:()Ljava/nio/charset/CoderResult;
astore 9
14: aload 1
iload 5
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/CharBuffer;
pop
15: aload 9
areturn
16: StackMap locals:
StackMap stack:
iload 6
sipush 128
if_icmpge 30
17: aload 0
getfield sun.nio.cs.ext.ISO2022$Encoder.shiftout:Z
ifeq 23
18: aload 0
iconst_0
putfield sun.nio.cs.ext.ISO2022$Encoder.newshiftout:Z
19: iconst_2
istore 3
start local 3 20: aload 4
iconst_0
bipush 15
bastore
21: aload 4
iconst_1
iload 6
bipush 127
iand
i2b
bastore
22: goto 25
end local 3 23: StackMap locals:
StackMap stack:
iconst_1
istore 3
start local 3 24: aload 4
iconst_0
iload 6
bipush 127
iand
i2b
bastore
25: StackMap locals: sun.nio.cs.ext.ISO2022$Encoder java.nio.CharBuffer java.nio.ByteBuffer int byte[] int int
StackMap stack:
iload 6
bipush 10
if_icmpne 35
26: aload 0
iconst_0
putfield sun.nio.cs.ext.ISO2022$Encoder.newSODesDefined:Z
27: aload 0
iconst_0
putfield sun.nio.cs.ext.ISO2022$Encoder.newSS2DesDefined:Z
28: aload 0
iconst_0
putfield sun.nio.cs.ext.ISO2022$Encoder.newSS3DesDefined:Z
29: goto 35
end local 3 30: StackMap locals: sun.nio.cs.ext.ISO2022$Encoder java.nio.CharBuffer java.nio.ByteBuffer top byte[] int int
StackMap stack:
aload 0
iload 6
aload 4
invokevirtual sun.nio.cs.ext.ISO2022$Encoder.unicodeToNative:(C[B)I
istore 3
start local 3 31: iload 3
ifne 35
32: iconst_1
invokestatic java.nio.charset.CoderResult.unmappableForLength:(I)Ljava/nio/charset/CoderResult;
astore 9
33: aload 1
iload 5
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/CharBuffer;
pop
34: aload 9
areturn
35: StackMap locals: sun.nio.cs.ext.ISO2022$Encoder java.nio.CharBuffer java.nio.ByteBuffer int byte[] int int
StackMap stack:
aload 2
invokevirtual java.nio.ByteBuffer.remaining:()I
iload 3
if_icmpge 39
36: getstatic java.nio.charset.CoderResult.OVERFLOW:Ljava/nio/charset/CoderResult;
astore 9
37: aload 1
iload 5
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/CharBuffer;
pop
38: aload 9
areturn
39: StackMap locals:
StackMap stack:
iconst_0
istore 7
start local 7 40: goto 43
41: StackMap locals: int
StackMap stack:
aload 2
aload 4
iload 7
baload
invokevirtual java.nio.ByteBuffer.put:(B)Ljava/nio/ByteBuffer;
pop
42: iinc 7 1
StackMap locals:
StackMap stack:
43: iload 7
iload 3
if_icmplt 41
end local 7 44: iinc 5 1
45: aload 0
aload 0
getfield sun.nio.cs.ext.ISO2022$Encoder.newshiftout:Z
putfield sun.nio.cs.ext.ISO2022$Encoder.shiftout:Z
46: aload 0
aload 0
getfield sun.nio.cs.ext.ISO2022$Encoder.newSODesDefined:Z
putfield sun.nio.cs.ext.ISO2022$Encoder.SODesDefined:Z
47: aload 0
aload 0
getfield sun.nio.cs.ext.ISO2022$Encoder.newSS2DesDefined:Z
putfield sun.nio.cs.ext.ISO2022$Encoder.SS2DesDefined:Z
48: aload 0
aload 0
getfield sun.nio.cs.ext.ISO2022$Encoder.newSS3DesDefined:Z
putfield sun.nio.cs.ext.ISO2022$Encoder.SS3DesDefined:Z
end local 6 end local 3 49: StackMap locals: sun.nio.cs.ext.ISO2022$Encoder java.nio.CharBuffer java.nio.ByteBuffer top byte[] int
StackMap stack:
aload 1
invokevirtual java.nio.CharBuffer.hasRemaining:()Z
ifne 7
50: getstatic java.nio.charset.CoderResult.UNDERFLOW:Ljava/nio/charset/CoderResult;
astore 9
51: aload 1
iload 5
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/CharBuffer;
pop
52: aload 9
areturn
53: StackMap locals:
StackMap stack: java.lang.Throwable
astore 8
54: aload 1
iload 5
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/CharBuffer;
pop
55: aload 8
athrow
end local 5 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 56 0 this Lsun/nio/cs/ext/ISO2022$Encoder;
0 56 1 src Ljava/nio/CharBuffer;
0 56 2 dst Ljava/nio/ByteBuffer;
20 23 3 outputSize I
24 30 3 outputSize I
31 49 3 outputSize I
1 56 4 outputByte [B
6 56 5 mark I
8 49 6 inputChar C
40 44 7 i I
Exception table:
from to target type
6 11 53 any
13 14 53 any
16 33 53 any
35 37 53 any
39 51 53 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.ISO2022$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.ISO2022$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/ISO2022$Encoder;
0 3 1 src Ljava/nio/CharBuffer;
0 3 2 dst Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
src
dst
}
SourceFile: "ISO2022.java"
NestHost: sun.nio.cs.ext.ISO2022
InnerClasses:
public Parser = sun.nio.cs.Surrogate$Parser of sun.nio.cs.Surrogate
protected Encoder = sun.nio.cs.ext.ISO2022$Encoder of sun.nio.cs.ext.ISO2022