public final class org.apache.tomcat.util.buf.C2BConverter
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.apache.tomcat.util.buf.C2BConverter
super_class: java.lang.Object
{
private final java.nio.charset.CharsetEncoder encoder;
descriptor: Ljava/nio/charset/CharsetEncoder;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.nio.ByteBuffer bb;
descriptor: Ljava/nio/ByteBuffer;
flags: (0x0002) ACC_PRIVATE
private java.nio.CharBuffer cb;
descriptor: Ljava/nio/CharBuffer;
flags: (0x0002) ACC_PRIVATE
private final java.nio.CharBuffer leftovers;
descriptor: Ljava/nio/CharBuffer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(java.nio.charset.Charset);
descriptor: (Ljava/nio/charset/Charset;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield org.apache.tomcat.util.buf.C2BConverter.bb:Ljava/nio/ByteBuffer;
2: aload 0
aconst_null
putfield org.apache.tomcat.util.buf.C2BConverter.cb:Ljava/nio/CharBuffer;
3: aload 0
aload 1
invokevirtual java.nio.charset.Charset.newEncoder:()Ljava/nio/charset/CharsetEncoder;
putfield org.apache.tomcat.util.buf.C2BConverter.encoder:Ljava/nio/charset/CharsetEncoder;
4: aload 0
getfield org.apache.tomcat.util.buf.C2BConverter.encoder:Ljava/nio/charset/CharsetEncoder;
getstatic java.nio.charset.CodingErrorAction.REPLACE:Ljava/nio/charset/CodingErrorAction;
invokevirtual java.nio.charset.CharsetEncoder.onUnmappableCharacter:(Ljava/nio/charset/CodingErrorAction;)Ljava/nio/charset/CharsetEncoder;
5: getstatic java.nio.charset.CodingErrorAction.REPLACE:Ljava/nio/charset/CodingErrorAction;
invokevirtual java.nio.charset.CharsetEncoder.onMalformedInput:(Ljava/nio/charset/CodingErrorAction;)Ljava/nio/charset/CharsetEncoder;
pop
6: iconst_4
newarray 5
astore 2
start local 2 7: aload 0
aload 2
invokestatic java.nio.CharBuffer.wrap:([C)Ljava/nio/CharBuffer;
putfield org.apache.tomcat.util.buf.C2BConverter.leftovers:Ljava/nio/CharBuffer;
8: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/tomcat/util/buf/C2BConverter;
0 9 1 charset Ljava/nio/charset/Charset;
7 9 2 left [C
MethodParameters:
Name Flags
charset
public void recycle();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.buf.C2BConverter.encoder:Ljava/nio/charset/CharsetEncoder;
invokevirtual java.nio.charset.CharsetEncoder.reset:()Ljava/nio/charset/CharsetEncoder;
pop
1: aload 0
getfield org.apache.tomcat.util.buf.C2BConverter.leftovers:Ljava/nio/CharBuffer;
iconst_0
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/tomcat/util/buf/C2BConverter;
public boolean isUndeflow();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.buf.C2BConverter.leftovers:Ljava/nio/CharBuffer;
invokevirtual java.nio.CharBuffer.position:()I
ifle 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/tomcat/util/buf/C2BConverter;
public void convert(org.apache.tomcat.util.buf.CharChunk, org.apache.tomcat.util.buf.ByteChunk);
descriptor: (Lorg/apache/tomcat/util/buf/CharChunk;Lorg/apache/tomcat/util/buf/ByteChunk;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.apache.tomcat.util.buf.C2BConverter.bb:Ljava/nio/ByteBuffer;
ifnull 1
aload 0
getfield org.apache.tomcat.util.buf.C2BConverter.bb:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.array:()[B
aload 2
invokevirtual org.apache.tomcat.util.buf.ByteChunk.getBuffer:()[B
if_acmpeq 3
1: StackMap locals:
StackMap stack:
aload 0
aload 2
invokevirtual org.apache.tomcat.util.buf.ByteChunk.getBuffer:()[B
aload 2
invokevirtual org.apache.tomcat.util.buf.ByteChunk.getEnd:()I
aload 2
invokevirtual org.apache.tomcat.util.buf.ByteChunk.getBuffer:()[B
arraylength
aload 2
invokevirtual org.apache.tomcat.util.buf.ByteChunk.getEnd:()I
isub
invokestatic java.nio.ByteBuffer.wrap:([BII)Ljava/nio/ByteBuffer;
putfield org.apache.tomcat.util.buf.C2BConverter.bb:Ljava/nio/ByteBuffer;
2: goto 5
3: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.buf.C2BConverter.bb:Ljava/nio/ByteBuffer;
aload 2
invokevirtual org.apache.tomcat.util.buf.ByteChunk.getBuffer:()[B
arraylength
invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/Buffer;
pop
4: aload 0
getfield org.apache.tomcat.util.buf.C2BConverter.bb:Ljava/nio/ByteBuffer;
aload 2
invokevirtual org.apache.tomcat.util.buf.ByteChunk.getEnd:()I
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
5: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.buf.C2BConverter.cb:Ljava/nio/CharBuffer;
ifnull 6
aload 0
getfield org.apache.tomcat.util.buf.C2BConverter.cb:Ljava/nio/CharBuffer;
invokevirtual java.nio.CharBuffer.array:()[C
aload 1
invokevirtual org.apache.tomcat.util.buf.CharChunk.getBuffer:()[C
if_acmpeq 8
6: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.apache.tomcat.util.buf.CharChunk.getBuffer:()[C
aload 1
invokevirtual org.apache.tomcat.util.buf.CharChunk.getStart:()I
aload 1
invokevirtual org.apache.tomcat.util.buf.CharChunk.getLength:()I
invokestatic java.nio.CharBuffer.wrap:([CII)Ljava/nio/CharBuffer;
putfield org.apache.tomcat.util.buf.C2BConverter.cb:Ljava/nio/CharBuffer;
7: goto 10
8: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.buf.C2BConverter.cb:Ljava/nio/CharBuffer;
aload 1
invokevirtual org.apache.tomcat.util.buf.CharChunk.getEnd:()I
invokevirtual java.nio.CharBuffer.limit:(I)Ljava/nio/Buffer;
pop
9: aload 0
getfield org.apache.tomcat.util.buf.C2BConverter.cb:Ljava/nio/CharBuffer;
aload 1
invokevirtual org.apache.tomcat.util.buf.CharChunk.getStart:()I
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
10: StackMap locals:
StackMap stack:
aconst_null
astore 3
start local 3 11: aload 0
getfield org.apache.tomcat.util.buf.C2BConverter.leftovers:Ljava/nio/CharBuffer;
invokevirtual java.nio.CharBuffer.position:()I
ifle 23
12: aload 0
getfield org.apache.tomcat.util.buf.C2BConverter.bb:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.position:()I
istore 4
start local 4 13: StackMap locals: java.nio.charset.CoderResult int
StackMap stack:
aload 0
getfield org.apache.tomcat.util.buf.C2BConverter.leftovers:Ljava/nio/CharBuffer;
aload 1
invokevirtual org.apache.tomcat.util.buf.CharChunk.subtract:()I
i2c
invokevirtual java.nio.CharBuffer.put:(C)Ljava/nio/CharBuffer;
pop
14: aload 0
getfield org.apache.tomcat.util.buf.C2BConverter.leftovers:Ljava/nio/CharBuffer;
invokevirtual java.nio.CharBuffer.flip:()Ljava/nio/Buffer;
pop
15: aload 0
getfield org.apache.tomcat.util.buf.C2BConverter.encoder:Ljava/nio/charset/CharsetEncoder;
aload 0
getfield org.apache.tomcat.util.buf.C2BConverter.leftovers:Ljava/nio/CharBuffer;
aload 0
getfield org.apache.tomcat.util.buf.C2BConverter.bb:Ljava/nio/ByteBuffer;
iconst_0
invokevirtual java.nio.charset.CharsetEncoder.encode:(Ljava/nio/CharBuffer;Ljava/nio/ByteBuffer;Z)Ljava/nio/charset/CoderResult;
astore 3
16: aload 0
getfield org.apache.tomcat.util.buf.C2BConverter.leftovers:Ljava/nio/CharBuffer;
aload 0
getfield org.apache.tomcat.util.buf.C2BConverter.leftovers:Ljava/nio/CharBuffer;
invokevirtual java.nio.CharBuffer.limit:()I
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
17: aload 0
getfield org.apache.tomcat.util.buf.C2BConverter.leftovers:Ljava/nio/CharBuffer;
aload 0
getfield org.apache.tomcat.util.buf.C2BConverter.leftovers:Ljava/nio/CharBuffer;
invokevirtual java.nio.CharBuffer.array:()[C
arraylength
invokevirtual java.nio.CharBuffer.limit:(I)Ljava/nio/Buffer;
pop
18: aload 3
invokevirtual java.nio.charset.CoderResult.isUnderflow:()Z
ifeq 19
aload 0
getfield org.apache.tomcat.util.buf.C2BConverter.bb:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.position:()I
iload 4
if_icmpeq 13
19: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.nio.charset.CoderResult.isError:()Z
ifne 20
aload 3
invokevirtual java.nio.charset.CoderResult.isMalformed:()Z
ifeq 21
20: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.nio.charset.CoderResult.throwException:()V
21: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.buf.C2BConverter.cb:Ljava/nio/CharBuffer;
aload 1
invokevirtual org.apache.tomcat.util.buf.CharChunk.getStart:()I
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
22: aload 0
getfield org.apache.tomcat.util.buf.C2BConverter.leftovers:Ljava/nio/CharBuffer;
iconst_0
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
end local 4 23: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.buf.C2BConverter.encoder:Ljava/nio/charset/CharsetEncoder;
aload 0
getfield org.apache.tomcat.util.buf.C2BConverter.cb:Ljava/nio/CharBuffer;
aload 0
getfield org.apache.tomcat.util.buf.C2BConverter.bb:Ljava/nio/ByteBuffer;
iconst_0
invokevirtual java.nio.charset.CharsetEncoder.encode:(Ljava/nio/CharBuffer;Ljava/nio/ByteBuffer;Z)Ljava/nio/charset/CoderResult;
astore 3
24: aload 3
invokevirtual java.nio.charset.CoderResult.isError:()Z
ifne 25
aload 3
invokevirtual java.nio.charset.CoderResult.isMalformed:()Z
ifeq 27
25: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.nio.charset.CoderResult.throwException:()V
26: goto 38
StackMap locals:
StackMap stack:
27: aload 3
invokevirtual java.nio.charset.CoderResult.isOverflow:()Z
ifeq 31
28: aload 2
aload 0
getfield org.apache.tomcat.util.buf.C2BConverter.bb:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.position:()I
invokevirtual org.apache.tomcat.util.buf.ByteChunk.setEnd:(I)V
29: aload 1
aload 0
getfield org.apache.tomcat.util.buf.C2BConverter.cb:Ljava/nio/CharBuffer;
invokevirtual java.nio.CharBuffer.position:()I
invokevirtual org.apache.tomcat.util.buf.CharChunk.setOffset:(I)V
30: goto 38
StackMap locals:
StackMap stack:
31: aload 3
invokevirtual java.nio.charset.CoderResult.isUnderflow:()Z
ifeq 38
32: aload 2
aload 0
getfield org.apache.tomcat.util.buf.C2BConverter.bb:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.position:()I
invokevirtual org.apache.tomcat.util.buf.ByteChunk.setEnd:(I)V
33: aload 1
aload 0
getfield org.apache.tomcat.util.buf.C2BConverter.cb:Ljava/nio/CharBuffer;
invokevirtual java.nio.CharBuffer.position:()I
invokevirtual org.apache.tomcat.util.buf.CharChunk.setOffset:(I)V
34: aload 1
invokevirtual org.apache.tomcat.util.buf.CharChunk.getLength:()I
ifle 38
35: aload 0
getfield org.apache.tomcat.util.buf.C2BConverter.leftovers:Ljava/nio/CharBuffer;
aload 0
getfield org.apache.tomcat.util.buf.C2BConverter.leftovers:Ljava/nio/CharBuffer;
invokevirtual java.nio.CharBuffer.array:()[C
arraylength
invokevirtual java.nio.CharBuffer.limit:(I)Ljava/nio/Buffer;
pop
36: aload 0
getfield org.apache.tomcat.util.buf.C2BConverter.leftovers:Ljava/nio/CharBuffer;
aload 1
invokevirtual org.apache.tomcat.util.buf.CharChunk.getLength:()I
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
37: aload 1
aload 0
getfield org.apache.tomcat.util.buf.C2BConverter.leftovers:Ljava/nio/CharBuffer;
invokevirtual java.nio.CharBuffer.array:()[C
iconst_0
aload 1
invokevirtual org.apache.tomcat.util.buf.CharChunk.getLength:()I
invokevirtual org.apache.tomcat.util.buf.CharChunk.subtract:([CII)I
pop
38: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 39 0 this Lorg/apache/tomcat/util/buf/C2BConverter;
0 39 1 cc Lorg/apache/tomcat/util/buf/CharChunk;
0 39 2 bc Lorg/apache/tomcat/util/buf/ByteChunk;
11 39 3 result Ljava/nio/charset/CoderResult;
13 23 4 pos I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
cc
bc
public void convert(java.nio.CharBuffer, java.nio.ByteBuffer);
descriptor: (Ljava/nio/CharBuffer;Ljava/nio/ByteBuffer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.apache.tomcat.util.buf.C2BConverter.bb:Ljava/nio/ByteBuffer;
ifnull 1
aload 0
getfield org.apache.tomcat.util.buf.C2BConverter.bb:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.array:()[B
aload 2
invokevirtual java.nio.ByteBuffer.array:()[B
if_acmpeq 3
1: StackMap locals:
StackMap stack:
aload 0
aload 2
invokevirtual java.nio.ByteBuffer.array:()[B
aload 2
invokevirtual java.nio.ByteBuffer.limit:()I
aload 2
invokevirtual java.nio.ByteBuffer.capacity:()I
aload 2
invokevirtual java.nio.ByteBuffer.limit:()I
isub
invokestatic java.nio.ByteBuffer.wrap:([BII)Ljava/nio/ByteBuffer;
putfield org.apache.tomcat.util.buf.C2BConverter.bb:Ljava/nio/ByteBuffer;
2: goto 5
3: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.buf.C2BConverter.bb:Ljava/nio/ByteBuffer;
aload 2
invokevirtual java.nio.ByteBuffer.capacity:()I
invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/Buffer;
pop
4: aload 0
getfield org.apache.tomcat.util.buf.C2BConverter.bb:Ljava/nio/ByteBuffer;
aload 2
invokevirtual java.nio.ByteBuffer.limit:()I
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
5: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.buf.C2BConverter.cb:Ljava/nio/CharBuffer;
ifnull 6
aload 0
getfield org.apache.tomcat.util.buf.C2BConverter.cb:Ljava/nio/CharBuffer;
invokevirtual java.nio.CharBuffer.array:()[C
aload 1
invokevirtual java.nio.CharBuffer.array:()[C
if_acmpeq 8
6: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual java.nio.CharBuffer.array:()[C
aload 1
invokevirtual java.nio.CharBuffer.arrayOffset:()I
aload 1
invokevirtual java.nio.CharBuffer.position:()I
iadd
aload 1
invokevirtual java.nio.CharBuffer.remaining:()I
invokestatic java.nio.CharBuffer.wrap:([CII)Ljava/nio/CharBuffer;
putfield org.apache.tomcat.util.buf.C2BConverter.cb:Ljava/nio/CharBuffer;
7: goto 10
8: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.buf.C2BConverter.cb:Ljava/nio/CharBuffer;
aload 1
invokevirtual java.nio.CharBuffer.limit:()I
invokevirtual java.nio.CharBuffer.limit:(I)Ljava/nio/Buffer;
pop
9: aload 0
getfield org.apache.tomcat.util.buf.C2BConverter.cb:Ljava/nio/CharBuffer;
aload 1
invokevirtual java.nio.CharBuffer.position:()I
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
10: StackMap locals:
StackMap stack:
aconst_null
astore 3
start local 3 11: aload 0
getfield org.apache.tomcat.util.buf.C2BConverter.leftovers:Ljava/nio/CharBuffer;
invokevirtual java.nio.CharBuffer.position:()I
ifle 23
12: aload 0
getfield org.apache.tomcat.util.buf.C2BConverter.bb:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.position:()I
istore 4
start local 4 13: StackMap locals: java.nio.charset.CoderResult int
StackMap stack:
aload 0
getfield org.apache.tomcat.util.buf.C2BConverter.leftovers:Ljava/nio/CharBuffer;
aload 1
invokevirtual java.nio.CharBuffer.get:()C
invokevirtual java.nio.CharBuffer.put:(C)Ljava/nio/CharBuffer;
pop
14: aload 0
getfield org.apache.tomcat.util.buf.C2BConverter.leftovers:Ljava/nio/CharBuffer;
invokevirtual java.nio.CharBuffer.flip:()Ljava/nio/Buffer;
pop
15: aload 0
getfield org.apache.tomcat.util.buf.C2BConverter.encoder:Ljava/nio/charset/CharsetEncoder;
aload 0
getfield org.apache.tomcat.util.buf.C2BConverter.leftovers:Ljava/nio/CharBuffer;
aload 0
getfield org.apache.tomcat.util.buf.C2BConverter.bb:Ljava/nio/ByteBuffer;
iconst_0
invokevirtual java.nio.charset.CharsetEncoder.encode:(Ljava/nio/CharBuffer;Ljava/nio/ByteBuffer;Z)Ljava/nio/charset/CoderResult;
astore 3
16: aload 0
getfield org.apache.tomcat.util.buf.C2BConverter.leftovers:Ljava/nio/CharBuffer;
aload 0
getfield org.apache.tomcat.util.buf.C2BConverter.leftovers:Ljava/nio/CharBuffer;
invokevirtual java.nio.CharBuffer.limit:()I
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
17: aload 0
getfield org.apache.tomcat.util.buf.C2BConverter.leftovers:Ljava/nio/CharBuffer;
aload 0
getfield org.apache.tomcat.util.buf.C2BConverter.leftovers:Ljava/nio/CharBuffer;
invokevirtual java.nio.CharBuffer.array:()[C
arraylength
invokevirtual java.nio.CharBuffer.limit:(I)Ljava/nio/Buffer;
pop
18: aload 3
invokevirtual java.nio.charset.CoderResult.isUnderflow:()Z
ifeq 19
aload 0
getfield org.apache.tomcat.util.buf.C2BConverter.bb:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.position:()I
iload 4
if_icmpeq 13
19: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.nio.charset.CoderResult.isError:()Z
ifne 20
aload 3
invokevirtual java.nio.charset.CoderResult.isMalformed:()Z
ifeq 21
20: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.nio.charset.CoderResult.throwException:()V
21: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.buf.C2BConverter.cb:Ljava/nio/CharBuffer;
aload 1
invokevirtual java.nio.CharBuffer.position:()I
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
22: aload 0
getfield org.apache.tomcat.util.buf.C2BConverter.leftovers:Ljava/nio/CharBuffer;
iconst_0
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
end local 4 23: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.buf.C2BConverter.encoder:Ljava/nio/charset/CharsetEncoder;
aload 0
getfield org.apache.tomcat.util.buf.C2BConverter.cb:Ljava/nio/CharBuffer;
aload 0
getfield org.apache.tomcat.util.buf.C2BConverter.bb:Ljava/nio/ByteBuffer;
iconst_0
invokevirtual java.nio.charset.CharsetEncoder.encode:(Ljava/nio/CharBuffer;Ljava/nio/ByteBuffer;Z)Ljava/nio/charset/CoderResult;
astore 3
24: aload 3
invokevirtual java.nio.charset.CoderResult.isError:()Z
ifne 25
aload 3
invokevirtual java.nio.charset.CoderResult.isMalformed:()Z
ifeq 27
25: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.nio.charset.CoderResult.throwException:()V
26: goto 38
StackMap locals:
StackMap stack:
27: aload 3
invokevirtual java.nio.charset.CoderResult.isOverflow:()Z
ifeq 31
28: aload 2
aload 0
getfield org.apache.tomcat.util.buf.C2BConverter.bb:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.position:()I
invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/Buffer;
pop
29: aload 1
aload 0
getfield org.apache.tomcat.util.buf.C2BConverter.cb:Ljava/nio/CharBuffer;
invokevirtual java.nio.CharBuffer.position:()I
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
30: goto 38
StackMap locals:
StackMap stack:
31: aload 3
invokevirtual java.nio.charset.CoderResult.isUnderflow:()Z
ifeq 38
32: aload 2
aload 0
getfield org.apache.tomcat.util.buf.C2BConverter.bb:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.position:()I
invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/Buffer;
pop
33: aload 1
aload 0
getfield org.apache.tomcat.util.buf.C2BConverter.cb:Ljava/nio/CharBuffer;
invokevirtual java.nio.CharBuffer.position:()I
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
34: aload 1
invokevirtual java.nio.CharBuffer.remaining:()I
ifle 38
35: aload 0
getfield org.apache.tomcat.util.buf.C2BConverter.leftovers:Ljava/nio/CharBuffer;
aload 0
getfield org.apache.tomcat.util.buf.C2BConverter.leftovers:Ljava/nio/CharBuffer;
invokevirtual java.nio.CharBuffer.array:()[C
arraylength
invokevirtual java.nio.CharBuffer.limit:(I)Ljava/nio/Buffer;
pop
36: aload 0
getfield org.apache.tomcat.util.buf.C2BConverter.leftovers:Ljava/nio/CharBuffer;
aload 1
invokevirtual java.nio.CharBuffer.remaining:()I
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
37: aload 1
aload 0
getfield org.apache.tomcat.util.buf.C2BConverter.leftovers:Ljava/nio/CharBuffer;
invokevirtual java.nio.CharBuffer.array:()[C
iconst_0
aload 1
invokevirtual java.nio.CharBuffer.remaining:()I
invokevirtual java.nio.CharBuffer.get:([CII)Ljava/nio/CharBuffer;
pop
38: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 39 0 this Lorg/apache/tomcat/util/buf/C2BConverter;
0 39 1 cc Ljava/nio/CharBuffer;
0 39 2 bc Ljava/nio/ByteBuffer;
11 39 3 result Ljava/nio/charset/CoderResult;
13 23 4 pos I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
cc
bc
public java.nio.charset.Charset getCharset();
descriptor: ()Ljava/nio/charset/Charset;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.buf.C2BConverter.encoder:Ljava/nio/charset/CharsetEncoder;
invokevirtual java.nio.charset.CharsetEncoder.charset:()Ljava/nio/charset/Charset;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/buf/C2BConverter;
}
SourceFile: "C2BConverter.java"