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
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: 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 76
7: StackMap locals: sun.nio.cs.ext.SimpleEUCEncoder java.nio.CharBuffer java.nio.ByteBuffer char[] int int byte[] int int
StackMap stack:
iconst_1
istore 12
start local 12 8: aload 3
iload 4
caload
istore 13
start local 13 9: iload 13
invokestatic java.lang.Character.isSurrogate:(C)Z
ifeq 19
10: 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 15
11: 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
12: aload 1
iload 4
aload 1
invokevirtual java.nio.CharBuffer.arrayOffset:()I
isub
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/CharBuffer;
pop
13: aload 2
iload 7
aload 2
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
isub
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/ByteBuffer;
pop
14: aload 18
areturn
15: 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
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 18
areturn
19: StackMap locals:
StackMap stack:
iload 13
ldc 65534
if_icmplt 24
20: iconst_1
invokestatic java.nio.charset.CoderResult.unmappableForLength:(I)Ljava/nio/charset/CoderResult;
astore 18
21: aload 1
iload 4
aload 1
invokevirtual java.nio.CharBuffer.arrayOffset:()I
isub
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/CharBuffer;
pop
22: aload 2
iload 7
aload 2
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
isub
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/ByteBuffer;
pop
23: aload 18
areturn
24: 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 25: iload 9
sipush 7500
if_icmpge 28
26: aload 0
getfield sun.nio.cs.ext.SimpleEUCEncoder.index2:Ljava/lang/String;
astore 14
start local 14 27: goto 38
end local 14 28: 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 32
29: iinc 9 -7500
30: aload 0
getfield sun.nio.cs.ext.SimpleEUCEncoder.index2a:Ljava/lang/String;
astore 14
start local 14 31: goto 38
end local 14 StackMap locals:
StackMap stack:
32: iload 9
sipush 22500
if_icmpge 36
33: iinc 9 -15000
34: aload 0
getfield sun.nio.cs.ext.SimpleEUCEncoder.index2b:Ljava/lang/String;
astore 14
start local 14 35: goto 38
end local 14 36: StackMap locals:
StackMap stack:
iinc 9 -22500
37: aload 0
getfield sun.nio.cs.ext.SimpleEUCEncoder.index2c:Ljava/lang/String;
astore 14
start local 14 38: 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 39: aload 0
getfield sun.nio.cs.ext.SimpleEUCEncoder.outputByte:[B
iconst_0
iload 15
ldc 65280
iand
bipush 8
ishr
i2b
bastore
40: aload 0
getfield sun.nio.cs.ext.SimpleEUCEncoder.outputByte:[B
iconst_1
iload 15
sipush 255
iand
i2b
bastore
41: aload 14
iconst_2
iload 9
imul
iconst_1
iadd
invokevirtual java.lang.String.charAt:(I)C
istore 15
42: aload 0
getfield sun.nio.cs.ext.SimpleEUCEncoder.outputByte:[B
iconst_2
iload 15
ldc 65280
iand
bipush 8
ishr
i2b
bastore
43: aload 0
getfield sun.nio.cs.ext.SimpleEUCEncoder.outputByte:[B
iconst_3
iload 15
sipush 255
iand
i2b
bastore
44: iconst_0
istore 11
start local 11 45: goto 50
46: 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 49
47: iconst_0
istore 12
48: goto 51
49: StackMap locals:
StackMap stack:
iinc 11 1
StackMap locals:
StackMap stack:
50: iload 11
aload 0
getfield sun.nio.cs.ext.SimpleEUCEncoder.outputByte:[B
arraylength
if_icmplt 46
51: StackMap locals:
StackMap stack:
iload 12
ifeq 56
iload 13
ifeq 56
52: iconst_1
invokestatic java.nio.charset.CoderResult.unmappableForLength:(I)Ljava/nio/charset/CoderResult;
astore 18
53: aload 1
iload 4
aload 1
invokevirtual java.nio.CharBuffer.arrayOffset:()I
isub
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/CharBuffer;
pop
54: aload 2
iload 7
aload 2
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
isub
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/ByteBuffer;
pop
55: aload 18
areturn
56: StackMap locals:
StackMap stack:
iconst_0
istore 16
start local 16 57: aload 0
getfield sun.nio.cs.ext.SimpleEUCEncoder.outputByte:[B
arraylength
istore 10
start local 10 58: goto 62
59: 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 61
60: goto 64
61: StackMap locals:
StackMap stack:
iinc 10 -1
StackMap locals:
StackMap stack:
62: iload 10
iconst_1
63: if_icmpgt 59
64: StackMap locals:
StackMap stack:
iload 7
iload 10
iadd
iload 8
if_icmple 69
65: getstatic java.nio.charset.CoderResult.OVERFLOW:Ljava/nio/charset/CoderResult;
astore 18
66: aload 1
iload 4
aload 1
invokevirtual java.nio.CharBuffer.arrayOffset:()I
isub
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/CharBuffer;
pop
67: aload 2
iload 7
aload 2
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
isub
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/ByteBuffer;
pop
68: aload 18
areturn
69: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.cs.ext.SimpleEUCEncoder.outputByte:[B
arraylength
iload 10
isub
istore 11
70: goto 73
71: 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
72: iinc 11 1
StackMap locals:
StackMap stack:
73: iload 11
aload 0
getfield sun.nio.cs.ext.SimpleEUCEncoder.outputByte:[B
arraylength
74: if_icmplt 71
75: 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 76: 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 7
77: getstatic java.nio.charset.CoderResult.UNDERFLOW:Ljava/nio/charset/CoderResult;
astore 18
78: aload 1
iload 4
aload 1
invokevirtual java.nio.CharBuffer.arrayOffset:()I
isub
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/CharBuffer;
pop
79: aload 2
iload 7
aload 2
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
isub
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/ByteBuffer;
pop
80: aload 18
areturn
81: StackMap locals:
StackMap stack: java.lang.Throwable
astore 17
82: aload 1
iload 4
aload 1
invokevirtual java.nio.CharBuffer.arrayOffset:()I
isub
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/CharBuffer;
pop
83: aload 2
iload 7
aload 2
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
isub
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/ByteBuffer;
pop
84: 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 85 0 this Lsun/nio/cs/ext/SimpleEUCEncoder;
0 85 1 src Ljava/nio/CharBuffer;
0 85 2 dst Ljava/nio/ByteBuffer;
1 85 3 sa [C
2 85 4 sp I
3 85 5 sl I
4 85 6 da [B
5 85 7 dp I
6 85 8 dl I
25 76 9 index I
58 76 10 spaceNeeded I
45 76 11 i I
8 76 12 allZeroes Z
9 76 13 inputChar C
27 28 14 theChars Ljava/lang/String;
31 32 14 theChars Ljava/lang/String;
35 36 14 theChars Ljava/lang/String;
38 76 14 theChars Ljava/lang/String;
39 76 15 aChar C
57 76 16 oindex I
Exception table:
from to target type
6 12 81 any
15 16 81 any
19 21 81 any
24 53 81 any
56 66 81 any
69 78 81 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/CharBuffer;
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/CharBuffer;
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/CharBuffer;
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/CharBuffer;
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/CharBuffer;
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/CharBuffer;
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/CharBuffer;
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