class sun.nio.cs.ext.EUC_JP_LINUX$Encoder extends java.nio.charset.CharsetEncoder
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.nio.cs.ext.EUC_JP_LINUX$Encoder
super_class: java.nio.charset.CharsetEncoder
{
sun.nio.cs.ext.JIS_X_0201$Encoder encoderJ0201;
descriptor: Lsun/nio/cs/ext/JIS_X_0201$Encoder;
flags: (0x0000)
private final sun.nio.cs.Surrogate$Parser sgp;
descriptor: Lsun/nio/cs/Surrogate$Parser;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static final short[] jis0208Index1;
descriptor: [S
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.String[] jis0208Index2;
descriptor: [Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, 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/EUC_JP_LINUX;
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.EUC_JP_LINUX$Encoder.$assertionsDisabled:Z
3: invokestatic sun.nio.cs.ext.JIS_X_0208_Encoder.getIndex1:()[S
4: putstatic sun.nio.cs.ext.EUC_JP_LINUX$Encoder.jis0208Index1:[S
5: invokestatic sun.nio.cs.ext.JIS_X_0208_Encoder.getIndex2:()[Ljava/lang/String;
6: putstatic sun.nio.cs.ext.EUC_JP_LINUX$Encoder.jis0208Index2:[Ljava/lang/String;
7: return
LocalVariableTable:
Start End Slot Name Signature
private void <init>(java.nio.charset.Charset);
descriptor: (Ljava/nio/charset/Charset;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
fconst_2
fconst_2
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.EUC_JP_LINUX$Encoder.sgp:Lsun/nio/cs/Surrogate$Parser;
2: aload 0
new sun.nio.cs.ext.JIS_X_0201$Encoder
dup
aload 1
invokespecial sun.nio.cs.ext.JIS_X_0201$Encoder.<init>:(Ljava/nio/charset/Charset;)V
putfield sun.nio.cs.ext.EUC_JP_LINUX$Encoder.encoderJ0201:Lsun/nio/cs/ext/JIS_X_0201$Encoder;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/nio/cs/ext/EUC_JP_LINUX$Encoder;
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=3, args_size=2
start local 0 start local 1 0: iconst_2
newarray 8
astore 2
start local 2 1: aload 0
iload 1
aload 2
invokevirtual sun.nio.cs.ext.EUC_JP_LINUX$Encoder.encodeSingle:(C[B)I
ifne 4
2: aload 0
iload 1
invokevirtual sun.nio.cs.ext.EUC_JP_LINUX$Encoder.encodeDouble:(C)I
ifne 4
3: iconst_0
ireturn
4: StackMap locals: byte[]
StackMap stack:
iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/nio/cs/ext/EUC_JP_LINUX$Encoder;
0 5 1 c C
1 5 2 encodedBytes [B
MethodParameters:
Name Flags
c
protected int encodeSingle(char, byte[]);
descriptor: (C[B)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: iload 1
ifne 3
1: aload 2
iconst_0
iconst_0
bastore
2: iconst_1
ireturn
3: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.cs.ext.EUC_JP_LINUX$Encoder.encoderJ0201:Lsun/nio/cs/ext/JIS_X_0201$Encoder;
iload 1
invokevirtual sun.nio.cs.ext.JIS_X_0201$Encoder.encode:(C)B
dup
istore 3
start local 3 4: ifne 6
5: iconst_0
ireturn
6: StackMap locals: int
StackMap stack:
iload 3
ifle 9
iload 3
sipush 128
if_icmpge 9
7: aload 2
iconst_0
iload 3
bastore
8: iconst_1
ireturn
9: StackMap locals:
StackMap stack:
aload 2
iconst_0
bipush -114
bastore
10: aload 2
iconst_1
iload 3
bastore
11: iconst_2
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lsun/nio/cs/ext/EUC_JP_LINUX$Encoder;
0 12 1 inputChar C
0 12 2 outputByte [B
4 12 3 b B
MethodParameters:
Name Flags
inputChar
outputByte
protected int encodeDouble(char);
descriptor: (C)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: getstatic sun.nio.cs.ext.EUC_JP_LINUX$Encoder.jis0208Index1:[S
iload 1
ldc 65280
iand
bipush 8
ishr
saload
bipush 8
ishl
istore 2
start local 2 1: getstatic sun.nio.cs.ext.EUC_JP_LINUX$Encoder.jis0208Index2:[Ljava/lang/String;
iload 2
bipush 12
ishr
aaload
iload 2
sipush 4095
iand
iload 1
sipush 255
iand
iadd
invokevirtual java.lang.String.charAt:(I)C
istore 3
start local 3 2: iload 3
ifeq 4
3: iload 3
ldc 32896
iadd
ireturn
4: StackMap locals: int int
StackMap stack:
iload 3
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/nio/cs/ext/EUC_JP_LINUX$Encoder;
0 5 1 ch C
1 5 2 offset I
2 5 3 r I
MethodParameters:
Name Flags
ch
private java.nio.charset.CoderResult encodeArrayLoop(java.nio.CharBuffer, java.nio.ByteBuffer);
descriptor: (Ljava/nio/CharBuffer;Ljava/nio/ByteBuffer;)Ljava/nio/charset/CoderResult;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=15, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual java.nio.CharBuffer.array:()[C
astore 3
start local 3 1: aload 1
invokevirtual java.nio.CharBuffer.arrayOffset:()I
aload 1
invokevirtual java.nio.CharBuffer.position:()I
iadd
istore 4
start local 4 2: aload 1
invokevirtual java.nio.CharBuffer.arrayOffset:()I
aload 1
invokevirtual java.nio.CharBuffer.limit:()I
iadd
istore 5
start local 5 3: getstatic sun.nio.cs.ext.EUC_JP_LINUX$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.EUC_JP_LINUX$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_2
newarray 8
astore 9
start local 9 15: goto 50
16: StackMap locals: byte[]
StackMap stack:
aload 3
iload 4
caload
istore 10
start local 10 17: iload 10
invokestatic java.lang.Character.isSurrogate:(C)Z
ifeq 27
18: aload 0
getfield sun.nio.cs.ext.EUC_JP_LINUX$Encoder.sgp:Lsun/nio/cs/Surrogate$Parser;
iload 10
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.EUC_JP_LINUX$Encoder.sgp:Lsun/nio/cs/Surrogate$Parser;
invokevirtual sun.nio.cs.Surrogate$Parser.error:()Ljava/nio/charset/CoderResult;
astore 14
20: aload 1
iload 4
aload 1
invokevirtual java.nio.CharBuffer.arrayOffset:()I
isub
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
21: aload 2
iload 7
aload 2
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
isub
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
22: aload 14
areturn
23: StackMap locals: int
StackMap stack:
aload 0
getfield sun.nio.cs.ext.EUC_JP_LINUX$Encoder.sgp:Lsun/nio/cs/Surrogate$Parser;
invokevirtual sun.nio.cs.Surrogate$Parser.unmappableResult:()Ljava/nio/charset/CoderResult;
astore 14
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 14
areturn
27: StackMap locals:
StackMap stack:
aload 0
iload 10
aload 9
invokevirtual sun.nio.cs.ext.EUC_JP_LINUX$Encoder.encodeSingle:(C[B)I
istore 11
start local 11 28: iload 11
ifne 39
29: aload 0
iload 10
invokevirtual sun.nio.cs.ext.EUC_JP_LINUX$Encoder.encodeDouble:(C)I
istore 12
start local 12 30: iload 12
ifeq 35
iload 12
ldc 16711680
iand
ifne 35
31: aload 9
iconst_0
iload 12
ldc 65280
iand
bipush 8
ishr
i2b
bastore
32: aload 9
iconst_1
iload 12
sipush 255
iand
i2b
bastore
33: iconst_2
istore 11
34: goto 39
35: StackMap locals: int int
StackMap stack:
iconst_1
invokestatic java.nio.charset.CoderResult.unmappableForLength:(I)Ljava/nio/charset/CoderResult;
astore 14
36: aload 1
iload 4
aload 1
invokevirtual java.nio.CharBuffer.arrayOffset:()I
isub
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
37: aload 2
iload 7
aload 2
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
isub
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
38: aload 14
areturn
end local 12 39: StackMap locals:
StackMap stack:
iload 8
iload 7
isub
iload 11
if_icmpge 44
40: getstatic java.nio.charset.CoderResult.OVERFLOW:Ljava/nio/charset/CoderResult;
astore 14
41: aload 1
iload 4
aload 1
invokevirtual java.nio.CharBuffer.arrayOffset:()I
isub
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
42: aload 2
iload 7
aload 2
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
isub
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
43: aload 14
areturn
44: StackMap locals:
StackMap stack:
iconst_0
istore 12
start local 12 45: goto 48
46: StackMap locals: int
StackMap stack:
aload 6
iload 7
iinc 7 1
aload 9
iload 12
baload
bastore
47: iinc 12 1
StackMap locals:
StackMap stack:
48: iload 12
iload 11
if_icmplt 46
end local 12 49: iinc 4 1
end local 11 end local 10 50: StackMap locals:
StackMap stack:
iload 4
iload 5
if_icmplt 16
51: getstatic java.nio.charset.CoderResult.UNDERFLOW:Ljava/nio/charset/CoderResult;
astore 14
52: aload 1
iload 4
aload 1
invokevirtual java.nio.CharBuffer.arrayOffset:()I
isub
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
53: aload 2
iload 7
aload 2
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
isub
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
54: aload 14
areturn
55: StackMap locals:
StackMap stack: java.lang.Throwable
astore 13
56: aload 1
iload 4
aload 1
invokevirtual java.nio.CharBuffer.arrayOffset:()I
isub
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
57: aload 2
iload 7
aload 2
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
isub
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
58: aload 13
athrow
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 59 0 this Lsun/nio/cs/ext/EUC_JP_LINUX$Encoder;
0 59 1 src Ljava/nio/CharBuffer;
0 59 2 dst Ljava/nio/ByteBuffer;
1 59 3 sa [C
2 59 4 sp I
3 59 5 sl I
8 59 6 da [B
9 59 7 dp I
10 59 8 dl I
15 59 9 outputByte [B
17 50 10 c C
28 50 11 outputSize I
30 39 12 ncode I
45 49 12 i I
Exception table:
from to target type
15 20 55 any
23 24 55 any
27 36 55 any
39 41 55 any
44 52 55 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_4
newarray 8
astore 3
start local 3 1: aload 1
invokevirtual java.nio.CharBuffer.position:()I
istore 4
start local 4 2: goto 34
3: StackMap locals: byte[] int
StackMap stack:
aload 1
invokevirtual java.nio.CharBuffer.get:()C
istore 5
start local 5 4: iload 5
invokestatic java.lang.Character.isSurrogate:(C)Z
ifeq 12
5: aload 0
getfield sun.nio.cs.ext.EUC_JP_LINUX$Encoder.sgp:Lsun/nio/cs/Surrogate$Parser;
iload 5
aload 1
invokevirtual sun.nio.cs.Surrogate$Parser.parse:(CLjava/nio/CharBuffer;)I
ifge 9
6: aload 0
getfield sun.nio.cs.ext.EUC_JP_LINUX$Encoder.sgp:Lsun/nio/cs/Surrogate$Parser;
invokevirtual sun.nio.cs.Surrogate$Parser.error:()Ljava/nio/charset/CoderResult;
astore 9
7: aload 1
iload 4
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
8: aload 9
areturn
9: StackMap locals: int
StackMap stack:
aload 0
getfield sun.nio.cs.ext.EUC_JP_LINUX$Encoder.sgp:Lsun/nio/cs/Surrogate$Parser;
invokevirtual sun.nio.cs.Surrogate$Parser.unmappableResult:()Ljava/nio/charset/CoderResult;
astore 9
10: aload 1
iload 4
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
11: aload 9
areturn
12: StackMap locals:
StackMap stack:
aload 0
iload 5
aload 3
invokevirtual sun.nio.cs.ext.EUC_JP_LINUX$Encoder.encodeSingle:(C[B)I
istore 6
start local 6 13: iload 6
ifne 24
14: aload 0
iload 5
invokevirtual sun.nio.cs.ext.EUC_JP_LINUX$Encoder.encodeDouble:(C)I
istore 7
start local 7 15: iload 7
ifeq 21
16: iload 7
ldc 16711680
iand
ifne 24
17: aload 3
iconst_0
iload 7
ldc 65280
iand
bipush 8
ishr
i2b
bastore
18: aload 3
iconst_1
iload 7
sipush 255
iand
i2b
bastore
19: iconst_2
istore 6
20: goto 24
21: StackMap locals: int int
StackMap stack:
iconst_1
invokestatic java.nio.charset.CoderResult.unmappableForLength:(I)Ljava/nio/charset/CoderResult;
astore 9
22: aload 1
iload 4
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
23: aload 9
areturn
end local 7 24: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.nio.ByteBuffer.remaining:()I
iload 6
if_icmpge 28
25: getstatic java.nio.charset.CoderResult.OVERFLOW:Ljava/nio/charset/CoderResult;
astore 9
26: aload 1
iload 4
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
27: aload 9
areturn
28: StackMap locals:
StackMap stack:
iconst_0
istore 7
start local 7 29: goto 32
30: StackMap locals: int
StackMap stack:
aload 2
aload 3
iload 7
baload
invokevirtual java.nio.ByteBuffer.put:(B)Ljava/nio/ByteBuffer;
pop
31: iinc 7 1
StackMap locals:
StackMap stack:
32: iload 7
iload 6
if_icmplt 30
end local 7 33: iinc 4 1
end local 6 end local 5 34: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.nio.CharBuffer.hasRemaining:()Z
ifne 3
35: getstatic java.nio.charset.CoderResult.UNDERFLOW:Ljava/nio/charset/CoderResult;
astore 9
36: aload 1
iload 4
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
37: aload 9
areturn
38: StackMap locals:
StackMap stack: java.lang.Throwable
astore 8
39: aload 1
iload 4
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
40: aload 8
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 41 0 this Lsun/nio/cs/ext/EUC_JP_LINUX$Encoder;
0 41 1 src Ljava/nio/CharBuffer;
0 41 2 dst Ljava/nio/ByteBuffer;
1 41 3 outputByte [B
2 41 4 mark I
4 34 5 c C
13 34 6 outputSize I
15 24 7 ncode I
29 33 7 i I
Exception table:
from to target type
2 7 38 any
9 10 38 any
12 22 38 any
24 26 38 any
28 36 38 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.EUC_JP_LINUX$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.EUC_JP_LINUX$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/EUC_JP_LINUX$Encoder;
0 3 1 src Ljava/nio/CharBuffer;
0 3 2 dst Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
src
dst
}
SourceFile: "EUC_JP_LINUX.java"
NestHost: sun.nio.cs.ext.EUC_JP_LINUX
InnerClasses:
public Parser = sun.nio.cs.Surrogate$Parser of sun.nio.cs.Surrogate
private Encoder = sun.nio.cs.ext.EUC_JP_LINUX$Encoder of sun.nio.cs.ext.EUC_JP_LINUX
public Encoder = sun.nio.cs.ext.JIS_X_0201$Encoder of sun.nio.cs.ext.JIS_X_0201