public abstract class sun.nio.cs.ext.SimpleEUCEncoder 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.SimpleEUCEncoder
super_class: java.nio.charset.CharsetEncoder
{
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 java.lang.String index2b;
descriptor: Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
protected java.lang.String index2c;
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 byte[] outputByte;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
private final sun.nio.cs.Surrogate$Parser sgp;
descriptor: Lsun/nio/cs/Surrogate$Parser;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
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/SimpleEUCEncoder;
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.SimpleEUCEncoder.$assertionsDisabled:Z
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 3.0
ldc 4.0
invokespecial java.nio.charset.CharsetEncoder.<init>:(Ljava/nio/charset/Charset;FF)V
1: aload 0
iconst_4
newarray 8
putfield sun.nio.cs.ext.SimpleEUCEncoder.outputByte:[B
2: aload 0
new sun.nio.cs.Surrogate$Parser
dup
invokespecial sun.nio.cs.Surrogate$Parser.<init>:()V
putfield sun.nio.cs.ext.SimpleEUCEncoder.sgp:Lsun/nio/cs/Surrogate$Parser;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/nio/cs/ext/SimpleEUCEncoder;
0 4 1 cs Ljava/nio/charset/Charset;
MethodParameters:
Name Flags
cs
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.SimpleEUCEncoder.index1:[S
iload 1
aload 0
getfield sun.nio.cs.ext.SimpleEUCEncoder.mask1:I
iand
aload 0
getfield sun.nio.cs.ext.SimpleEUCEncoder.shift:I
ishr
saload
iload 1
aload 0
getfield sun.nio.cs.ext.SimpleEUCEncoder.mask2:I
iand
iadd
istore 2
start local 2 1: iload 2
sipush 7500
if_icmpge 4
2: aload 0
getfield sun.nio.cs.ext.SimpleEUCEncoder.index2:Ljava/lang/String;
astore 3
start local 3 3: goto 14
end local 3 4: StackMap locals: int
StackMap stack:
iload 2
sipush 15000
if_icmpge 8
5: iinc 2 -7500
6: aload 0
getfield sun.nio.cs.ext.SimpleEUCEncoder.index2a:Ljava/lang/String;
astore 3
start local 3 7: goto 14
end local 3 8: StackMap locals:
StackMap stack:
iload 2
sipush 22500
if_icmpge 12
9: iinc 2 -15000
10: aload 0
getfield sun.nio.cs.ext.SimpleEUCEncoder.index2b:Ljava/lang/String;
astore 3
start local 3 11: goto 14
end local 3 12: StackMap locals:
StackMap stack:
iinc 2 -22500
13: aload 0
getfield sun.nio.cs.ext.SimpleEUCEncoder.index2c:Ljava/lang/String;
astore 3
start local 3 14: StackMap locals: java.lang.String
StackMap stack:
aload 3
iconst_2
iload 2
imul
invokevirtual java.lang.String.charAt:(I)C
ifne 16
15: aload 3
iconst_2
iload 2
imul
iconst_1
iadd
invokevirtual java.lang.String.charAt:(I)C
ifeq 17
16: StackMap locals:
StackMap stack:
iconst_1
ireturn
17: StackMap locals:
StackMap stack:
iload 1
ifne 18
iconst_1
ireturn
StackMap locals:
StackMap stack:
18: iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lsun/nio/cs/ext/SimpleEUCEncoder;
0 19 1 ch C
1 19 2 index I
3 4 3 theChars Ljava/lang/String;
7 8 3 theChars Ljava/lang/String;
11 12 3 theChars Ljava/lang/String;
14 19 3 theChars Ljava/lang/String;
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=19, 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.SimpleEUCEncoder.$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.SimpleEUCEncoder.$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: goto 84
15: StackMap locals:
StackMap stack:
iconst_1
istore 12
start local 12 16: aload 3
iload 4
caload
istore 13
start local 13 17: iload 13
invokestatic java.lang.Character.isSurrogate:(C)Z
ifeq 27
18: aload 0
getfield sun.nio.cs.ext.SimpleEUCEncoder.sgp:Lsun/nio/cs/Surrogate$Parser;
iload 13
aload 3
iload 4
iload 5
invokevirtual sun.nio.cs.Surrogate$Parser.parse:(C[CII)I
ifge 23
19: aload 0
getfield sun.nio.cs.ext.SimpleEUCEncoder.sgp:Lsun/nio/cs/Surrogate$Parser;
invokevirtual sun.nio.cs.Surrogate$Parser.error:()Ljava/nio/charset/CoderResult;
astore 18
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 18
areturn
23: StackMap locals: sun.nio.cs.ext.SimpleEUCEncoder java.nio.CharBuffer java.nio.ByteBuffer char[] int int byte[] int int top top top int int
StackMap stack:
aload 0
getfield sun.nio.cs.ext.SimpleEUCEncoder.sgp:Lsun/nio/cs/Surrogate$Parser;
invokevirtual sun.nio.cs.Surrogate$Parser.unmappableResult:()Ljava/nio/charset/CoderResult;
astore 18
24: aload 1
iload 4
aload 1
invokevirtual java.nio.CharBuffer.arrayOffset:()I
isub
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
25: aload 2
iload 7
aload 2
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
isub
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
26: aload 18
areturn
27: StackMap locals:
StackMap stack:
iload 13
ldc 65534
if_icmplt 32
28: iconst_1
invokestatic java.nio.charset.CoderResult.unmappableForLength:(I)Ljava/nio/charset/CoderResult;
astore 18
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 18
areturn
32: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.cs.ext.SimpleEUCEncoder.index1:[S
iload 13
aload 0
getfield sun.nio.cs.ext.SimpleEUCEncoder.mask1:I
iand
aload 0
getfield sun.nio.cs.ext.SimpleEUCEncoder.shift:I
ishr
saload
iload 13
aload 0
getfield sun.nio.cs.ext.SimpleEUCEncoder.mask2:I
iand
iadd
istore 9
start local 9 33: iload 9
sipush 7500
if_icmpge 36
34: aload 0
getfield sun.nio.cs.ext.SimpleEUCEncoder.index2:Ljava/lang/String;
astore 14
start local 14 35: goto 46
end local 14 36: StackMap locals: sun.nio.cs.ext.SimpleEUCEncoder java.nio.CharBuffer java.nio.ByteBuffer char[] int int byte[] int int int top top int int
StackMap stack:
iload 9
sipush 15000
if_icmpge 40
37: iinc 9 -7500
38: aload 0
getfield sun.nio.cs.ext.SimpleEUCEncoder.index2a:Ljava/lang/String;
astore 14
start local 14 39: goto 46
end local 14 StackMap locals:
StackMap stack:
40: iload 9
sipush 22500
if_icmpge 44
41: iinc 9 -15000
42: aload 0
getfield sun.nio.cs.ext.SimpleEUCEncoder.index2b:Ljava/lang/String;
astore 14
start local 14 43: goto 46
end local 14 44: StackMap locals:
StackMap stack:
iinc 9 -22500
45: aload 0
getfield sun.nio.cs.ext.SimpleEUCEncoder.index2c:Ljava/lang/String;
astore 14
start local 14 46: StackMap locals: java.lang.String
StackMap stack:
aload 14
iconst_2
iload 9
imul
invokevirtual java.lang.String.charAt:(I)C
istore 15
start local 15 47: aload 0
getfield sun.nio.cs.ext.SimpleEUCEncoder.outputByte:[B
iconst_0
iload 15
ldc 65280
iand
bipush 8
ishr
i2b
bastore
48: aload 0
getfield sun.nio.cs.ext.SimpleEUCEncoder.outputByte:[B
iconst_1
iload 15
sipush 255
iand
i2b
bastore
49: aload 14
iconst_2
iload 9
imul
iconst_1
iadd
invokevirtual java.lang.String.charAt:(I)C
istore 15
50: aload 0
getfield sun.nio.cs.ext.SimpleEUCEncoder.outputByte:[B
iconst_2
iload 15
ldc 65280
iand
bipush 8
ishr
i2b
bastore
51: aload 0
getfield sun.nio.cs.ext.SimpleEUCEncoder.outputByte:[B
iconst_3
iload 15
sipush 255
iand
i2b
bastore
52: iconst_0
istore 11
start local 11 53: goto 58
54: StackMap locals: sun.nio.cs.ext.SimpleEUCEncoder java.nio.CharBuffer java.nio.ByteBuffer char[] int int byte[] int int int top int int int java.lang.String int
StackMap stack:
aload 0
getfield sun.nio.cs.ext.SimpleEUCEncoder.outputByte:[B
iload 11
baload
ifeq 57
55: iconst_0
istore 12
56: goto 59
57: StackMap locals:
StackMap stack:
iinc 11 1
StackMap locals:
StackMap stack:
58: iload 11
aload 0
getfield sun.nio.cs.ext.SimpleEUCEncoder.outputByte:[B
arraylength
if_icmplt 54
59: StackMap locals:
StackMap stack:
iload 12
ifeq 64
iload 13
ifeq 64
60: iconst_1
invokestatic java.nio.charset.CoderResult.unmappableForLength:(I)Ljava/nio/charset/CoderResult;
astore 18
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 18
areturn
64: StackMap locals:
StackMap stack:
iconst_0
istore 16
start local 16 65: aload 0
getfield sun.nio.cs.ext.SimpleEUCEncoder.outputByte:[B
arraylength
istore 10
start local 10 66: goto 70
67: StackMap locals: sun.nio.cs.ext.SimpleEUCEncoder java.nio.CharBuffer java.nio.ByteBuffer char[] int int byte[] int int int int int int int java.lang.String int int
StackMap stack:
aload 0
getfield sun.nio.cs.ext.SimpleEUCEncoder.outputByte:[B
iload 16
iinc 16 1
baload
ifeq 69
68: goto 72
69: StackMap locals:
StackMap stack:
iinc 10 -1
StackMap locals:
StackMap stack:
70: iload 10
iconst_1
71: if_icmpgt 67
72: StackMap locals:
StackMap stack:
iload 7
iload 10
iadd
iload 8
if_icmple 77
73: getstatic java.nio.charset.CoderResult.OVERFLOW:Ljava/nio/charset/CoderResult;
astore 18
74: aload 1
iload 4
aload 1
invokevirtual java.nio.CharBuffer.arrayOffset:()I
isub
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
75: aload 2
iload 7
aload 2
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
isub
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
76: aload 18
areturn
77: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.cs.ext.SimpleEUCEncoder.outputByte:[B
arraylength
iload 10
isub
istore 11
78: goto 81
79: StackMap locals:
StackMap stack:
aload 6
iload 7
iinc 7 1
aload 0
getfield sun.nio.cs.ext.SimpleEUCEncoder.outputByte:[B
iload 11
baload
bastore
80: iinc 11 1
StackMap locals:
StackMap stack:
81: iload 11
aload 0
getfield sun.nio.cs.ext.SimpleEUCEncoder.outputByte:[B
arraylength
82: if_icmplt 79
83: iinc 4 1
end local 16 end local 15 end local 14 end local 13 end local 12 end local 11 end local 10 end local 9 84: StackMap locals: sun.nio.cs.ext.SimpleEUCEncoder java.nio.CharBuffer java.nio.ByteBuffer char[] int int byte[] int int
StackMap stack:
iload 4
iload 5
if_icmplt 15
85: getstatic java.nio.charset.CoderResult.UNDERFLOW:Ljava/nio/charset/CoderResult;
astore 18
86: aload 1
iload 4
aload 1
invokevirtual java.nio.CharBuffer.arrayOffset:()I
isub
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
87: aload 2
iload 7
aload 2
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
isub
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
88: aload 18
areturn
89: StackMap locals:
StackMap stack: java.lang.Throwable
astore 17
90: aload 1
iload 4
aload 1
invokevirtual java.nio.CharBuffer.arrayOffset:()I
isub
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
91: aload 2
iload 7
aload 2
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
isub
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
92: aload 17
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 93 0 this Lsun/nio/cs/ext/SimpleEUCEncoder;
0 93 1 src Ljava/nio/CharBuffer;
0 93 2 dst Ljava/nio/ByteBuffer;
1 93 3 sa [C
2 93 4 sp I
3 93 5 sl I
8 93 6 da [B
9 93 7 dp I
10 93 8 dl I
33 84 9 index I
66 84 10 spaceNeeded I
53 84 11 i I
16 84 12 allZeroes Z
17 84 13 inputChar C
35 36 14 theChars Ljava/lang/String;
39 40 14 theChars Ljava/lang/String;
43 44 14 theChars Ljava/lang/String;
46 84 14 theChars Ljava/lang/String;
47 84 15 aChar C
65 84 16 oindex I
Exception table:
from to target type
14 20 89 any
23 24 89 any
27 29 89 any
32 61 89 any
64 74 89 any
77 86 89 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=14, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual java.nio.CharBuffer.position:()I
istore 6
start local 6 1: goto 66
2: StackMap locals: sun.nio.cs.ext.SimpleEUCEncoder java.nio.CharBuffer java.nio.ByteBuffer top top top int
StackMap stack:
aload 1
invokevirtual java.nio.CharBuffer.get:()C
istore 7
start local 7 3: iconst_1
istore 8
start local 8 4: iload 7
invokestatic java.lang.Character.isSurrogate:(C)Z
ifeq 12
5: aload 0
getfield sun.nio.cs.ext.SimpleEUCEncoder.sgp:Lsun/nio/cs/Surrogate$Parser;
iload 7
aload 1
invokevirtual sun.nio.cs.Surrogate$Parser.parse:(CLjava/nio/CharBuffer;)I
ifge 9
6: aload 0
getfield sun.nio.cs.ext.SimpleEUCEncoder.sgp:Lsun/nio/cs/Surrogate$Parser;
invokevirtual sun.nio.cs.Surrogate$Parser.error:()Ljava/nio/charset/CoderResult;
astore 13
7: aload 1
iload 6
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
8: aload 13
areturn
9: StackMap locals: int int
StackMap stack:
aload 0
getfield sun.nio.cs.ext.SimpleEUCEncoder.sgp:Lsun/nio/cs/Surrogate$Parser;
invokevirtual sun.nio.cs.Surrogate$Parser.unmappableResult:()Ljava/nio/charset/CoderResult;
astore 13
10: aload 1
iload 6
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
11: aload 13
areturn
12: StackMap locals:
StackMap stack:
iload 7
ldc 65534
if_icmplt 16
13: iconst_1
invokestatic java.nio.charset.CoderResult.unmappableForLength:(I)Ljava/nio/charset/CoderResult;
astore 13
14: aload 1
iload 6
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
15: aload 13
areturn
16: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.cs.ext.SimpleEUCEncoder.index1:[S
iload 7
aload 0
getfield sun.nio.cs.ext.SimpleEUCEncoder.mask1:I
iand
aload 0
getfield sun.nio.cs.ext.SimpleEUCEncoder.shift:I
ishr
saload
iload 7
aload 0
getfield sun.nio.cs.ext.SimpleEUCEncoder.mask2:I
iand
iadd
istore 3
start local 3 17: iload 3
sipush 7500
if_icmpge 20
18: aload 0
getfield sun.nio.cs.ext.SimpleEUCEncoder.index2:Ljava/lang/String;
astore 9
start local 9 19: goto 30
end local 9 20: StackMap locals: sun.nio.cs.ext.SimpleEUCEncoder java.nio.CharBuffer java.nio.ByteBuffer int top top int int int
StackMap stack:
iload 3
sipush 15000
if_icmpge 24
21: iinc 3 -7500
22: aload 0
getfield sun.nio.cs.ext.SimpleEUCEncoder.index2a:Ljava/lang/String;
astore 9
start local 9 23: goto 30
end local 9 StackMap locals:
StackMap stack:
24: iload 3
sipush 22500
if_icmpge 28
25: iinc 3 -15000
26: aload 0
getfield sun.nio.cs.ext.SimpleEUCEncoder.index2b:Ljava/lang/String;
astore 9
start local 9 27: goto 30
end local 9 28: StackMap locals:
StackMap stack:
iinc 3 -22500
29: aload 0
getfield sun.nio.cs.ext.SimpleEUCEncoder.index2c:Ljava/lang/String;
astore 9
start local 9 30: StackMap locals: java.lang.String
StackMap stack:
aload 9
iconst_2
iload 3
imul
invokevirtual java.lang.String.charAt:(I)C
istore 10
start local 10 31: aload 0
getfield sun.nio.cs.ext.SimpleEUCEncoder.outputByte:[B
iconst_0
iload 10
ldc 65280
iand
bipush 8
ishr
i2b
bastore
32: aload 0
getfield sun.nio.cs.ext.SimpleEUCEncoder.outputByte:[B
iconst_1
iload 10
sipush 255
iand
i2b
bastore
33: aload 9
iconst_2
iload 3
imul
iconst_1
iadd
invokevirtual java.lang.String.charAt:(I)C
istore 10
34: aload 0
getfield sun.nio.cs.ext.SimpleEUCEncoder.outputByte:[B
iconst_2
iload 10
ldc 65280
iand
bipush 8
ishr
i2b
bastore
35: aload 0
getfield sun.nio.cs.ext.SimpleEUCEncoder.outputByte:[B
iconst_3
iload 10
sipush 255
iand
i2b
bastore
36: iconst_0
istore 5
start local 5 37: goto 42
38: StackMap locals: sun.nio.cs.ext.SimpleEUCEncoder java.nio.CharBuffer java.nio.ByteBuffer int top int int int int java.lang.String int
StackMap stack:
aload 0
getfield sun.nio.cs.ext.SimpleEUCEncoder.outputByte:[B
iload 5
baload
ifeq 41
39: iconst_0
istore 8
40: goto 43
41: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
42: iload 5
aload 0
getfield sun.nio.cs.ext.SimpleEUCEncoder.outputByte:[B
arraylength
if_icmplt 38
43: StackMap locals:
StackMap stack:
iload 8
ifeq 47
iload 7
ifeq 47
44: iconst_1
invokestatic java.nio.charset.CoderResult.unmappableForLength:(I)Ljava/nio/charset/CoderResult;
astore 13
45: aload 1
iload 6
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
46: aload 13
areturn
47: StackMap locals:
StackMap stack:
iconst_0
istore 11
start local 11 48: aload 0
getfield sun.nio.cs.ext.SimpleEUCEncoder.outputByte:[B
arraylength
istore 4
start local 4 49: goto 53
50: StackMap locals: sun.nio.cs.ext.SimpleEUCEncoder java.nio.CharBuffer java.nio.ByteBuffer int int int int int int java.lang.String int int
StackMap stack:
aload 0
getfield sun.nio.cs.ext.SimpleEUCEncoder.outputByte:[B
iload 11
iinc 11 1
baload
ifeq 52
51: goto 55
52: StackMap locals:
StackMap stack:
iinc 4 -1
StackMap locals:
StackMap stack:
53: iload 4
iconst_1
54: if_icmpgt 50
55: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.nio.ByteBuffer.remaining:()I
iload 4
if_icmpge 59
56: getstatic java.nio.charset.CoderResult.OVERFLOW:Ljava/nio/charset/CoderResult;
astore 13
57: aload 1
iload 6
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
58: aload 13
areturn
59: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.cs.ext.SimpleEUCEncoder.outputByte:[B
arraylength
iload 4
isub
istore 5
60: goto 63
61: StackMap locals:
StackMap stack:
aload 2
aload 0
getfield sun.nio.cs.ext.SimpleEUCEncoder.outputByte:[B
iload 5
baload
invokevirtual java.nio.ByteBuffer.put:(B)Ljava/nio/ByteBuffer;
pop
62: iinc 5 1
StackMap locals:
StackMap stack:
63: iload 5
aload 0
getfield sun.nio.cs.ext.SimpleEUCEncoder.outputByte:[B
arraylength
64: if_icmplt 61
65: iinc 6 1
end local 11 end local 10 end local 9 end local 8 end local 7 end local 5 end local 4 end local 3 66: StackMap locals: sun.nio.cs.ext.SimpleEUCEncoder java.nio.CharBuffer java.nio.ByteBuffer top top top int
StackMap stack:
aload 1
invokevirtual java.nio.CharBuffer.hasRemaining:()Z
ifne 2
67: getstatic java.nio.charset.CoderResult.UNDERFLOW:Ljava/nio/charset/CoderResult;
astore 13
68: aload 1
iload 6
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
69: aload 13
areturn
70: StackMap locals:
StackMap stack: java.lang.Throwable
astore 12
71: aload 1
iload 6
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
72: aload 12
athrow
end local 6 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 73 0 this Lsun/nio/cs/ext/SimpleEUCEncoder;
0 73 1 src Ljava/nio/CharBuffer;
0 73 2 dst Ljava/nio/ByteBuffer;
17 66 3 index I
49 66 4 spaceNeeded I
37 66 5 i I
1 73 6 mark I
3 66 7 inputChar C
4 66 8 allZeroes Z
19 20 9 theChars Ljava/lang/String;
23 24 9 theChars Ljava/lang/String;
27 28 9 theChars Ljava/lang/String;
30 66 9 theChars Ljava/lang/String;
31 66 10 aChar C
48 66 11 oindex I
Exception table:
from to target type
1 7 70 any
9 10 70 any
12 14 70 any
16 45 70 any
47 57 70 any
59 68 70 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.SimpleEUCEncoder.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.SimpleEUCEncoder.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/SimpleEUCEncoder;
0 3 1 src Ljava/nio/CharBuffer;
0 3 2 dst Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
src
dst
public byte encode(char);
descriptor: (C)B
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.nio.cs.ext.SimpleEUCEncoder.index2:Ljava/lang/String;
aload 0
getfield sun.nio.cs.ext.SimpleEUCEncoder.index1:[S
iload 1
aload 0
getfield sun.nio.cs.ext.SimpleEUCEncoder.mask1:I
iand
aload 0
getfield sun.nio.cs.ext.SimpleEUCEncoder.shift:I
ishr
saload
1: iload 1
aload 0
getfield sun.nio.cs.ext.SimpleEUCEncoder.mask2:I
iand
iadd
2: invokevirtual java.lang.String.charAt:(I)C
i2b
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/nio/cs/ext/SimpleEUCEncoder;
0 3 1 inputChar C
MethodParameters:
Name Flags
inputChar
}
SourceFile: "SimpleEUCEncoder.java"
InnerClasses:
public Parser = sun.nio.cs.Surrogate$Parser of sun.nio.cs.Surrogate