public abstract class sun.nio.cs.SingleByteDecoder extends java.nio.charset.CharsetDecoder
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: sun.nio.cs.SingleByteDecoder
super_class: java.nio.charset.CharsetDecoder
{
private final java.lang.String byteToCharTable;
descriptor: Ljava/lang/String;
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/SingleByteDecoder;
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.SingleByteDecoder.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
protected void <init>(java.nio.charset.Charset, java.lang.String);
descriptor: (Ljava/nio/charset/Charset;Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
fconst_1
fconst_1
invokespecial java.nio.charset.CharsetDecoder.<init>:(Ljava/nio/charset/Charset;FF)V
1: aload 0
aload 2
putfield sun.nio.cs.SingleByteDecoder.byteToCharTable:Ljava/lang/String;
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/nio/cs/SingleByteDecoder;
0 3 1 cs Ljava/nio/charset/Charset;
0 3 2 byteToCharTable Ljava/lang/String;
MethodParameters:
Name Flags
cs
byteToCharTable
private java.nio.charset.CoderResult decodeArrayLoop(java.nio.ByteBuffer, java.nio.CharBuffer);
descriptor: (Ljava/nio/ByteBuffer;Ljava/nio/CharBuffer;)Ljava/nio/charset/CoderResult;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=13, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual java.nio.ByteBuffer.array:()[B
astore 3
start local 3 1: aload 1
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
aload 1
invokevirtual java.nio.ByteBuffer.position:()I
iadd
istore 4
start local 4 2: aload 1
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
aload 1
invokevirtual java.nio.ByteBuffer.limit:()I
iadd
istore 5
start local 5 3: getstatic sun.nio.cs.SingleByteDecoder.$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: byte[] 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.CharBuffer.array:()[C
astore 6
start local 6 8: aload 2
invokevirtual java.nio.CharBuffer.arrayOffset:()I
aload 2
invokevirtual java.nio.CharBuffer.position:()I
iadd
istore 7
start local 7 9: aload 2
invokevirtual java.nio.CharBuffer.arrayOffset:()I
aload 2
invokevirtual java.nio.CharBuffer.limit:()I
iadd
istore 8
start local 8 10: getstatic sun.nio.cs.SingleByteDecoder.$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: char[] 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 29
15: StackMap locals:
StackMap stack:
aload 3
iload 4
baload
istore 9
start local 9 16: aload 0
iload 9
invokevirtual sun.nio.cs.SingleByteDecoder.decode:(I)C
istore 10
start local 10 17: iload 10
ldc 65533
if_icmpne 22
18: iconst_1
invokestatic java.nio.charset.CoderResult.unmappableForLength:(I)Ljava/nio/charset/CoderResult;
astore 12
19: aload 1
iload 4
aload 1
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
isub
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
20: aload 2
iload 7
aload 2
invokevirtual java.nio.CharBuffer.arrayOffset:()I
isub
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
21: aload 12
areturn
22: StackMap locals: int int
StackMap stack:
iload 8
iload 7
isub
iconst_1
if_icmpge 27
23: getstatic java.nio.charset.CoderResult.OVERFLOW:Ljava/nio/charset/CoderResult;
astore 12
24: aload 1
iload 4
aload 1
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
isub
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
25: aload 2
iload 7
aload 2
invokevirtual java.nio.CharBuffer.arrayOffset:()I
isub
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
26: aload 12
areturn
27: StackMap locals:
StackMap stack:
aload 6
iload 7
iinc 7 1
iload 10
castore
28: iinc 4 1
end local 10 end local 9 29: StackMap locals:
StackMap stack:
iload 4
iload 5
if_icmplt 15
30: getstatic java.nio.charset.CoderResult.UNDERFLOW:Ljava/nio/charset/CoderResult;
astore 12
31: aload 1
iload 4
aload 1
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
isub
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
32: aload 2
iload 7
aload 2
invokevirtual java.nio.CharBuffer.arrayOffset:()I
isub
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
33: aload 12
areturn
34: StackMap locals:
StackMap stack: java.lang.Throwable
astore 11
35: aload 1
iload 4
aload 1
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
isub
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
36: aload 2
iload 7
aload 2
invokevirtual java.nio.CharBuffer.arrayOffset:()I
isub
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
37: aload 11
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 38 0 this Lsun/nio/cs/SingleByteDecoder;
0 38 1 src Ljava/nio/ByteBuffer;
0 38 2 dst Ljava/nio/CharBuffer;
1 38 3 sa [B
2 38 4 sp I
3 38 5 sl I
8 38 6 da [C
9 38 7 dp I
10 38 8 dl I
16 29 9 b I
17 29 10 c C
Exception table:
from to target type
14 19 34 any
22 24 34 any
27 31 34 any
MethodParameters:
Name Flags
src
dst
private java.nio.charset.CoderResult decodeBufferLoop(java.nio.ByteBuffer, java.nio.CharBuffer);
descriptor: (Ljava/nio/ByteBuffer;Ljava/nio/CharBuffer;)Ljava/nio/charset/CoderResult;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual java.nio.ByteBuffer.position:()I
istore 3
start local 3 1: goto 14
2: StackMap locals: int
StackMap stack:
aload 1
invokevirtual java.nio.ByteBuffer.get:()B
istore 4
start local 4 3: aload 0
iload 4
invokevirtual sun.nio.cs.SingleByteDecoder.decode:(I)C
istore 5
start local 5 4: iload 5
ldc 65533
if_icmpne 8
5: iconst_1
invokestatic java.nio.charset.CoderResult.unmappableForLength:(I)Ljava/nio/charset/CoderResult;
astore 7
6: aload 1
iload 3
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
7: aload 7
areturn
8: StackMap locals: int int
StackMap stack:
aload 2
invokevirtual java.nio.CharBuffer.hasRemaining:()Z
ifne 12
9: getstatic java.nio.charset.CoderResult.OVERFLOW:Ljava/nio/charset/CoderResult;
astore 7
10: aload 1
iload 3
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
11: aload 7
areturn
12: StackMap locals:
StackMap stack:
iinc 3 1
13: aload 2
iload 5
invokevirtual java.nio.CharBuffer.put:(C)Ljava/nio/CharBuffer;
pop
end local 5 end local 4 14: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ifne 2
15: getstatic java.nio.charset.CoderResult.UNDERFLOW:Ljava/nio/charset/CoderResult;
astore 7
16: aload 1
iload 3
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
17: aload 7
areturn
18: StackMap locals:
StackMap stack: java.lang.Throwable
astore 6
19: aload 1
iload 3
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
20: aload 6
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lsun/nio/cs/SingleByteDecoder;
0 21 1 src Ljava/nio/ByteBuffer;
0 21 2 dst Ljava/nio/CharBuffer;
1 21 3 mark I
3 14 4 b I
4 14 5 c C
Exception table:
from to target type
1 6 18 any
8 10 18 any
12 16 18 any
MethodParameters:
Name Flags
src
dst
protected java.nio.charset.CoderResult decodeLoop(java.nio.ByteBuffer, java.nio.CharBuffer);
descriptor: (Ljava/nio/ByteBuffer;Ljava/nio/CharBuffer;)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.ByteBuffer.hasArray:()Z
ifeq 2
aload 2
invokevirtual java.nio.CharBuffer.hasArray:()Z
ifeq 2
1: aload 0
aload 1
aload 2
invokevirtual sun.nio.cs.SingleByteDecoder.decodeArrayLoop:(Ljava/nio/ByteBuffer;Ljava/nio/CharBuffer;)Ljava/nio/charset/CoderResult;
areturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokevirtual sun.nio.cs.SingleByteDecoder.decodeBufferLoop:(Ljava/nio/ByteBuffer;Ljava/nio/CharBuffer;)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/SingleByteDecoder;
0 3 1 src Ljava/nio/ByteBuffer;
0 3 2 dst Ljava/nio/CharBuffer;
MethodParameters:
Name Flags
src
dst
public char decode(int);
descriptor: (I)C
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: iload 1
sipush 128
iadd
istore 2
start local 2 1: iload 2
aload 0
getfield sun.nio.cs.SingleByteDecoder.byteToCharTable:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
if_icmpge 2
iload 2
ifge 3
2: StackMap locals: int
StackMap stack:
ldc 65533
ireturn
3: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.cs.SingleByteDecoder.byteToCharTable:Ljava/lang/String;
iload 2
invokevirtual java.lang.String.charAt:(I)C
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/nio/cs/SingleByteDecoder;
0 4 1 byteIndex I
1 4 2 n I
MethodParameters:
Name Flags
byteIndex
}
SourceFile: "SingleByteDecoder.java"