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 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
private final byte MSB;
descriptor: B
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
ConstantValue: -128
protected final byte maximumDesignatorLength;
descriptor: B
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
ConstantValue: 4
protected java.lang.String SODesig;
descriptor: Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
protected java.lang.String SS2Desig;
descriptor: Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
protected java.lang.String SS3Desig;
descriptor: Ljava/lang/String;
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
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lsun/nio/cs/ext/ISO2022;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic sun.nio.cs.ext.ISO2022$Encoder.$assertionsDisabled:Z
3: return
LocalVariableTable:
Start End Slot Name Signature
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
bipush -128
putfield sun.nio.cs.ext.ISO2022$Encoder.MSB:B
3: aload 0
iconst_4
putfield sun.nio.cs.ext.ISO2022$Encoder.maximumDesignatorLength:B
4: aload 0
aconst_null
putfield sun.nio.cs.ext.ISO2022$Encoder.SS2Desig:Ljava/lang/String;
5: aload 0
aconst_null
putfield sun.nio.cs.ext.ISO2022$Encoder.SS3Desig:Ljava/lang/String;
6: aload 0
iconst_0
putfield sun.nio.cs.ext.ISO2022$Encoder.shiftout:Z
7: aload 0
iconst_0
putfield sun.nio.cs.ext.ISO2022$Encoder.SODesDefined:Z
8: aload 0
iconst_0
putfield sun.nio.cs.ext.ISO2022$Encoder.SS2DesDefined:Z
9: aload 0
iconst_0
putfield sun.nio.cs.ext.ISO2022$Encoder.SS3DesDefined:Z
10: aload 0
iconst_0
putfield sun.nio.cs.ext.ISO2022$Encoder.newshiftout:Z
11: aload 0
iconst_0
putfield sun.nio.cs.ext.ISO2022$Encoder.newSODesDefined:Z
12: aload 0
iconst_0
putfield sun.nio.cs.ext.ISO2022$Encoder.newSS2DesDefined:Z
13: aload 0
iconst_0
putfield sun.nio.cs.ext.ISO2022$Encoder.newSS3DesDefined:Z
14: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lsun/nio/cs/ext/ISO2022$Encoder;
0 15 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=10, 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 5
start local 5 2: iconst_4
newarray 8
astore 6
start local 6 3: aload 5
invokestatic java.nio.CharBuffer.wrap:([C)Ljava/nio/CharBuffer;
astore 8
start local 8 4: iconst_4
invokestatic java.nio.ByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
astore 9
start local 9 5: aload 0
getfield sun.nio.cs.ext.ISO2022$Encoder.ISOEncoder:Ljava/nio/charset/CharsetEncoder;
aload 8
aload 9
iconst_1
invokevirtual java.nio.charset.CharsetEncoder.encode:(Ljava/nio/CharBuffer;Ljava/nio/ByteBuffer;Z)Ljava/nio/charset/CoderResult;
pop
6: aload 9
invokevirtual java.nio.ByteBuffer.flip:()Ljava/nio/Buffer;
pop
7: aload 9
invokevirtual java.nio.ByteBuffer.remaining:()I
istore 7
start local 7 8: aload 9
aload 6
iconst_0
iload 7
invokevirtual java.nio.ByteBuffer.get:([BII)Ljava/nio/ByteBuffer;
pop
end local 9 end local 8 9: goto 12
end local 7 StackMap locals: sun.nio.cs.ext.ISO2022$Encoder int byte[] int top char[] byte[]
StackMap stack: java.lang.Exception
10: pop
11: iconst_m1
ireturn
start local 7 12: StackMap locals: int
StackMap stack:
iload 7
iconst_2
if_icmpne 25
13: aload 0
getfield sun.nio.cs.ext.ISO2022$Encoder.SODesDefined:Z
ifne 19
14: aload 0
iconst_1
putfield sun.nio.cs.ext.ISO2022$Encoder.newSODesDefined:Z
15: aload 2
iconst_0
bipush 27
bastore
16: aload 0
getfield sun.nio.cs.ext.ISO2022$Encoder.SODesig:Ljava/lang/String;
invokevirtual java.lang.String.getBytes:()[B
astore 4
start local 4 17: aload 4
iconst_0
aload 2
iconst_1
aload 4
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
18: aload 4
arraylength
iconst_1
iadd
istore 3
end local 4 19: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.cs.ext.ISO2022$Encoder.shiftout:Z
ifne 22
20: aload 0
iconst_1
putfield sun.nio.cs.ext.ISO2022$Encoder.newshiftout:Z
21: aload 2
iload 3
iinc 3 1
bipush 14
bastore
22: StackMap locals:
StackMap stack:
aload 2
iload 3
iinc 3 1
aload 6
iconst_0
baload
bipush 127
iand
i2b
bastore
23: aload 2
iload 3
iinc 3 1
aload 6
iconst_1
baload
bipush 127
iand
i2b
bastore
24: goto 49
25: StackMap locals:
StackMap stack:
aload 6
iconst_0
baload
bipush -114
if_icmpne 49
26: aload 6
iconst_1
baload
bipush -94
if_icmpne 38
27: aload 0
getfield sun.nio.cs.ext.ISO2022$Encoder.SS2DesDefined:Z
ifne 33
28: aload 0
iconst_1
putfield sun.nio.cs.ext.ISO2022$Encoder.newSS2DesDefined:Z
29: aload 2
iconst_0
bipush 27
bastore
30: aload 0
getfield sun.nio.cs.ext.ISO2022$Encoder.SS2Desig:Ljava/lang/String;
invokevirtual java.lang.String.getBytes:()[B
astore 4
start local 4 31: aload 4
iconst_0
aload 2
iconst_1
aload 4
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
32: aload 4
arraylength
iconst_1
iadd
istore 3
end local 4 33: StackMap locals:
StackMap stack:
aload 2
iload 3
iinc 3 1
bipush 27
bastore
34: aload 2
iload 3
iinc 3 1
bipush 78
bastore
35: aload 2
iload 3
iinc 3 1
aload 6
iconst_2
baload
bipush 127
iand
i2b
bastore
36: aload 2
iload 3
iinc 3 1
aload 6
iconst_3
baload
bipush 127
iand
i2b
bastore
37: goto 49
StackMap locals:
StackMap stack:
38: aload 6
iconst_1
baload
bipush -93
if_icmpne 49
39: aload 0
getfield sun.nio.cs.ext.ISO2022$Encoder.SS3DesDefined:Z
ifne 45
40: aload 0
iconst_1
putfield sun.nio.cs.ext.ISO2022$Encoder.newSS3DesDefined:Z
41: aload 2
iconst_0
bipush 27
bastore
42: aload 0
getfield sun.nio.cs.ext.ISO2022$Encoder.SS3Desig:Ljava/lang/String;
invokevirtual java.lang.String.getBytes:()[B
astore 4
start local 4 43: aload 4
iconst_0
aload 2
iconst_1
aload 4
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
44: aload 4
arraylength
iconst_1
iadd
istore 3
end local 4 45: StackMap locals:
StackMap stack:
aload 2
iload 3
iinc 3 1
bipush 27
bastore
46: aload 2
iload 3
iinc 3 1
bipush 79
bastore
47: aload 2
iload 3
iinc 3 1
aload 6
iconst_2
baload
bipush 127
iand
i2b
bastore
48: aload 2
iload 3
iinc 3 1
aload 6
iconst_3
baload
bipush 127
iand
i2b
bastore
49: StackMap locals:
StackMap stack:
iload 3
ireturn
end local 7 end local 6 end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 50 0 this Lsun/nio/cs/ext/ISO2022$Encoder;
0 50 1 unicode C
0 50 2 ebyte [B
1 50 3 index I
17 19 4 tmpByte [B
31 33 4 tmpByte [B
43 45 4 tmpByte [B
2 50 5 convChar [C
3 50 6 convByte [B
8 10 7 converted I
12 50 7 converted I
4 9 8 cc Ljava/nio/CharBuffer;
5 9 9 bb Ljava/nio/ByteBuffer;
Exception table:
from to target type
3 9 10 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: getstatic sun.nio.cs.ext.ISO2022$Encoder.$assertionsDisabled:Z
ifne 4
iload 4
iload 5
if_icmple 4
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
4: StackMap locals: char[] int int
StackMap stack:
iload 4
iload 5
if_icmpgt 5
iload 4
goto 6
StackMap locals:
StackMap stack:
5: iload 5
StackMap locals:
StackMap stack: int
6: istore 4
7: aload 2
invokevirtual java.nio.ByteBuffer.array:()[B
astore 6
start local 6 8: aload 2
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
aload 2
invokevirtual java.nio.ByteBuffer.position:()I
iadd
istore 7
start local 7 9: aload 2
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
aload 2
invokevirtual java.nio.ByteBuffer.limit:()I
iadd
istore 8
start local 8 10: getstatic sun.nio.cs.ext.ISO2022$Encoder.$assertionsDisabled:Z
ifne 11
iload 7
iload 8
if_icmple 11
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
11: StackMap locals: byte[] int int
StackMap stack:
iload 7
iload 8
if_icmpgt 12
iload 7
goto 13
StackMap locals:
StackMap stack:
12: iload 8
StackMap locals:
StackMap stack: int
13: istore 7
14: iconst_0
istore 9
start local 9 15: bipush 8
newarray 8
astore 10
start local 10 16: aload 0
aload 0
getfield sun.nio.cs.ext.ISO2022$Encoder.shiftout:Z
putfield sun.nio.cs.ext.ISO2022$Encoder.newshiftout:Z
17: aload 0
aload 0
getfield sun.nio.cs.ext.ISO2022$Encoder.SODesDefined:Z
putfield sun.nio.cs.ext.ISO2022$Encoder.newSODesDefined:Z
18: aload 0
aload 0
getfield sun.nio.cs.ext.ISO2022$Encoder.SS2DesDefined:Z
putfield sun.nio.cs.ext.ISO2022$Encoder.newSS2DesDefined:Z
19: aload 0
aload 0
getfield sun.nio.cs.ext.ISO2022$Encoder.SS3DesDefined:Z
putfield sun.nio.cs.ext.ISO2022$Encoder.newSS3DesDefined:Z
20: goto 67
21: StackMap locals: int byte[]
StackMap stack:
aload 3
iload 4
caload
istore 11
start local 11 22: iload 11
invokestatic java.lang.Character.isSurrogate:(C)Z
ifeq 32
23: 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 28
24: 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
25: aload 1
iload 4
aload 1
invokevirtual java.nio.CharBuffer.arrayOffset:()I
isub
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
26: aload 2
iload 7
aload 2
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
isub
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
27: aload 14
areturn
28: 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
29: aload 1
iload 4
aload 1
invokevirtual java.nio.CharBuffer.arrayOffset:()I
isub
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
30: aload 2
iload 7
aload 2
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
isub
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
31: aload 14
areturn
32: StackMap locals:
StackMap stack:
iload 11
sipush 128
if_icmpge 46
33: aload 0
getfield sun.nio.cs.ext.ISO2022$Encoder.shiftout:Z
ifeq 39
34: aload 0
iconst_0
putfield sun.nio.cs.ext.ISO2022$Encoder.newshiftout:Z
35: iconst_2
istore 9
36: aload 10
iconst_0
bipush 15
bastore
37: aload 10
iconst_1
iload 11
bipush 127
iand
i2b
bastore
38: goto 41
39: StackMap locals:
StackMap stack:
iconst_1
istore 9
40: aload 10
iconst_0
iload 11
bipush 127
iand
i2b
bastore
41: StackMap locals:
StackMap stack:
aload 3
iload 4
caload
bipush 10
if_icmpne 52
42: aload 0
iconst_0
putfield sun.nio.cs.ext.ISO2022$Encoder.newSODesDefined:Z
43: aload 0
iconst_0
putfield sun.nio.cs.ext.ISO2022$Encoder.newSS2DesDefined:Z
44: aload 0
iconst_0
putfield sun.nio.cs.ext.ISO2022$Encoder.newSS3DesDefined:Z
45: goto 52
46: StackMap locals:
StackMap stack:
aload 0
iload 11
aload 10
invokevirtual sun.nio.cs.ext.ISO2022$Encoder.unicodeToNative:(C[B)I
istore 9
47: iload 9
ifne 52
48: iconst_1
invokestatic java.nio.charset.CoderResult.unmappableForLength:(I)Ljava/nio/charset/CoderResult;
astore 14
49: aload 1
iload 4
aload 1
invokevirtual java.nio.CharBuffer.arrayOffset:()I
isub
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
50: aload 2
iload 7
aload 2
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
isub
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
51: aload 14
areturn
52: StackMap locals:
StackMap stack:
iload 8
iload 7
isub
iload 9
if_icmpge 57
53: getstatic java.nio.charset.CoderResult.OVERFLOW:Ljava/nio/charset/CoderResult;
astore 14
54: aload 1
iload 4
aload 1
invokevirtual java.nio.CharBuffer.arrayOffset:()I
isub
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
55: aload 2
iload 7
aload 2
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
isub
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
56: aload 14
areturn
57: StackMap locals:
StackMap stack:
iconst_0
istore 12
start local 12 58: goto 61
59: StackMap locals: int
StackMap stack:
aload 6
iload 7
iinc 7 1
aload 10
iload 12
baload
bastore
60: iinc 12 1
StackMap locals:
StackMap stack:
61: iload 12
iload 9
if_icmplt 59
end local 12 62: iinc 4 1
63: aload 0
aload 0
getfield sun.nio.cs.ext.ISO2022$Encoder.newshiftout:Z
putfield sun.nio.cs.ext.ISO2022$Encoder.shiftout:Z
64: aload 0
aload 0
getfield sun.nio.cs.ext.ISO2022$Encoder.newSODesDefined:Z
putfield sun.nio.cs.ext.ISO2022$Encoder.SODesDefined:Z
65: aload 0
aload 0
getfield sun.nio.cs.ext.ISO2022$Encoder.newSS2DesDefined:Z
putfield sun.nio.cs.ext.ISO2022$Encoder.SS2DesDefined:Z
66: 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 67: StackMap locals:
StackMap stack:
iload 4
iload 5
if_icmplt 21
68: getstatic java.nio.charset.CoderResult.UNDERFLOW:Ljava/nio/charset/CoderResult;
astore 14
69: aload 1
iload 4
aload 1
invokevirtual java.nio.CharBuffer.arrayOffset:()I
isub
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
70: aload 2
iload 7
aload 2
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
isub
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
71: aload 14
areturn
72: StackMap locals:
StackMap stack: java.lang.Throwable
astore 13
73: aload 1
iload 4
aload 1
invokevirtual java.nio.CharBuffer.arrayOffset:()I
isub
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
74: aload 2
iload 7
aload 2
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
isub
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
75: aload 13
athrow
end local 10 end local 9 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 76 0 this Lsun/nio/cs/ext/ISO2022$Encoder;
0 76 1 src Ljava/nio/CharBuffer;
0 76 2 dst Ljava/nio/ByteBuffer;
1 76 3 sa [C
2 76 4 sp I
3 76 5 sl I
8 76 6 da [B
9 76 7 dp I
10 76 8 dl I
15 76 9 outputSize I
16 76 10 outputByte [B
22 67 11 c C
58 62 12 i I
Exception table:
from to target type
20 25 72 any
28 29 72 any
32 49 72 any
52 54 72 any
57 69 72 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: iconst_0
istore 3
start local 3 1: bipush 8
newarray 8
astore 4
start local 4 2: aload 0
aload 0
getfield sun.nio.cs.ext.ISO2022$Encoder.shiftout:Z
putfield sun.nio.cs.ext.ISO2022$Encoder.newshiftout:Z
3: aload 0
aload 0
getfield sun.nio.cs.ext.ISO2022$Encoder.SODesDefined:Z
putfield sun.nio.cs.ext.ISO2022$Encoder.newSODesDefined:Z
4: aload 0
aload 0
getfield sun.nio.cs.ext.ISO2022$Encoder.SS2DesDefined:Z
putfield sun.nio.cs.ext.ISO2022$Encoder.newSS2DesDefined:Z
5: aload 0
aload 0
getfield sun.nio.cs.ext.ISO2022$Encoder.SS3DesDefined:Z
putfield sun.nio.cs.ext.ISO2022$Encoder.newSS3DesDefined:Z
6: aload 1
invokevirtual java.nio.CharBuffer.position:()I
istore 5
start local 5 7: goto 50
8: StackMap locals: int byte[] int
StackMap stack:
aload 1
invokevirtual java.nio.CharBuffer.get:()C
istore 6
start local 6 9: iload 6
invokestatic java.lang.Character.isSurrogate:(C)Z
ifeq 17
10: 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 14
11: 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
12: aload 1
iload 5
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
13: aload 9
areturn
14: 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
15: aload 1
iload 5
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
16: aload 9
areturn
17: StackMap locals:
StackMap stack:
iload 6
sipush 128
if_icmpge 31
18: aload 0
getfield sun.nio.cs.ext.ISO2022$Encoder.shiftout:Z
ifeq 24
19: aload 0
iconst_0
putfield sun.nio.cs.ext.ISO2022$Encoder.newshiftout:Z
20: iconst_2
istore 3
21: aload 4
iconst_0
bipush 15
bastore
22: aload 4
iconst_1
iload 6
bipush 127
iand
i2b
bastore
23: goto 26
24: StackMap locals:
StackMap stack:
iconst_1
istore 3
25: aload 4
iconst_0
iload 6
bipush 127
iand
i2b
bastore
26: StackMap locals:
StackMap stack:
iload 6
bipush 10
if_icmpne 36
27: aload 0
iconst_0
putfield sun.nio.cs.ext.ISO2022$Encoder.newSODesDefined:Z
28: aload 0
iconst_0
putfield sun.nio.cs.ext.ISO2022$Encoder.newSS2DesDefined:Z
29: aload 0
iconst_0
putfield sun.nio.cs.ext.ISO2022$Encoder.newSS3DesDefined:Z
30: goto 36
31: StackMap locals:
StackMap stack:
aload 0
iload 6
aload 4
invokevirtual sun.nio.cs.ext.ISO2022$Encoder.unicodeToNative:(C[B)I
istore 3
32: iload 3
ifne 36
33: iconst_1
invokestatic java.nio.charset.CoderResult.unmappableForLength:(I)Ljava/nio/charset/CoderResult;
astore 9
34: aload 1
iload 5
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
35: aload 9
areturn
36: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.nio.ByteBuffer.remaining:()I
iload 3
if_icmpge 40
37: getstatic java.nio.charset.CoderResult.OVERFLOW:Ljava/nio/charset/CoderResult;
astore 9
38: aload 1
iload 5
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
39: aload 9
areturn
40: StackMap locals:
StackMap stack:
iconst_0
istore 7
start local 7 41: goto 44
42: StackMap locals: int
StackMap stack:
aload 2
aload 4
iload 7
baload
invokevirtual java.nio.ByteBuffer.put:(B)Ljava/nio/ByteBuffer;
pop
43: iinc 7 1
StackMap locals:
StackMap stack:
44: iload 7
iload 3
if_icmplt 42
end local 7 45: iinc 5 1
46: aload 0
aload 0
getfield sun.nio.cs.ext.ISO2022$Encoder.newshiftout:Z
putfield sun.nio.cs.ext.ISO2022$Encoder.shiftout:Z
47: aload 0
aload 0
getfield sun.nio.cs.ext.ISO2022$Encoder.newSODesDefined:Z
putfield sun.nio.cs.ext.ISO2022$Encoder.SODesDefined:Z
48: aload 0
aload 0
getfield sun.nio.cs.ext.ISO2022$Encoder.newSS2DesDefined:Z
putfield sun.nio.cs.ext.ISO2022$Encoder.SS2DesDefined:Z
49: 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 50: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.nio.CharBuffer.hasRemaining:()Z
ifne 8
51: getstatic java.nio.charset.CoderResult.UNDERFLOW:Ljava/nio/charset/CoderResult;
astore 9
52: aload 1
iload 5
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
53: aload 9
areturn
54: StackMap locals:
StackMap stack: java.lang.Throwable
astore 8
55: aload 1
iload 5
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
56: aload 8
athrow
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 57 0 this Lsun/nio/cs/ext/ISO2022$Encoder;
0 57 1 src Ljava/nio/CharBuffer;
0 57 2 dst Ljava/nio/ByteBuffer;
1 57 3 outputSize I
2 57 4 outputByte [B
7 57 5 mark I
9 50 6 inputChar C
41 45 7 i I
Exception table:
from to target type
7 12 54 any
14 15 54 any
17 34 54 any
36 38 54 any
40 52 54 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