public class jdk.internal.org.jline.utils.InputStreamReader extends java.io.Reader
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.internal.org.jline.utils.InputStreamReader
super_class: java.io.Reader
{
private java.io.InputStream in;
descriptor: Ljava/io/InputStream;
flags: (0x0002) ACC_PRIVATE
private static final int BUFFER_SIZE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 4
private boolean endOfInput;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
java.nio.charset.CharsetDecoder decoder;
descriptor: Ljava/nio/charset/CharsetDecoder;
flags: (0x0000)
java.nio.ByteBuffer bytes;
descriptor: Ljava/nio/ByteBuffer;
flags: (0x0000)
char pending;
descriptor: C
flags: (0x0000)
public void <init>(java.io.InputStream);
descriptor: (Ljava/io/InputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial java.io.Reader.<init>:(Ljava/lang/Object;)V
1: aload 0
iconst_0
putfield jdk.internal.org.jline.utils.InputStreamReader.endOfInput:Z
2: aload 0
iconst_4
invokestatic java.nio.ByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
putfield jdk.internal.org.jline.utils.InputStreamReader.bytes:Ljava/nio/ByteBuffer;
3: aload 0
ldc 65535
putfield jdk.internal.org.jline.utils.InputStreamReader.pending:C
4: aload 0
aload 1
putfield jdk.internal.org.jline.utils.InputStreamReader.in:Ljava/io/InputStream;
5: aload 0
invokestatic java.nio.charset.Charset.defaultCharset:()Ljava/nio/charset/Charset;
invokevirtual java.nio.charset.Charset.newDecoder:()Ljava/nio/charset/CharsetDecoder;
6: getstatic java.nio.charset.CodingErrorAction.REPLACE:Ljava/nio/charset/CodingErrorAction;
7: invokevirtual java.nio.charset.CharsetDecoder.onMalformedInput:(Ljava/nio/charset/CodingErrorAction;)Ljava/nio/charset/CharsetDecoder;
8: getstatic java.nio.charset.CodingErrorAction.REPLACE:Ljava/nio/charset/CodingErrorAction;
9: invokevirtual java.nio.charset.CharsetDecoder.onUnmappableCharacter:(Ljava/nio/charset/CodingErrorAction;)Ljava/nio/charset/CharsetDecoder;
10: putfield jdk.internal.org.jline.utils.InputStreamReader.decoder:Ljava/nio/charset/CharsetDecoder;
11: aload 0
getfield jdk.internal.org.jline.utils.InputStreamReader.bytes:Ljava/nio/ByteBuffer;
iconst_0
invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/ByteBuffer;
pop
12: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljdk/internal/org/jline/utils/InputStreamReader;
0 13 1 in Ljava/io/InputStream;
MethodParameters:
Name Flags
in
public void <init>(java.io.InputStream, java.lang.String);
descriptor: (Ljava/io/InputStream;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokespecial java.io.Reader.<init>:(Ljava/lang/Object;)V
1: aload 0
iconst_0
putfield jdk.internal.org.jline.utils.InputStreamReader.endOfInput:Z
2: aload 0
iconst_4
invokestatic java.nio.ByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
putfield jdk.internal.org.jline.utils.InputStreamReader.bytes:Ljava/nio/ByteBuffer;
3: aload 0
ldc 65535
putfield jdk.internal.org.jline.utils.InputStreamReader.pending:C
4: aload 2
ifnonnull 6
5: new java.lang.NullPointerException
dup
invokespecial java.lang.NullPointerException.<init>:()V
athrow
6: StackMap locals: jdk.internal.org.jline.utils.InputStreamReader java.io.InputStream java.lang.String
StackMap stack:
aload 0
aload 1
putfield jdk.internal.org.jline.utils.InputStreamReader.in:Ljava/io/InputStream;
7: aload 0
aload 2
invokestatic java.nio.charset.Charset.forName:(Ljava/lang/String;)Ljava/nio/charset/Charset;
invokevirtual java.nio.charset.Charset.newDecoder:()Ljava/nio/charset/CharsetDecoder;
8: getstatic java.nio.charset.CodingErrorAction.REPLACE:Ljava/nio/charset/CodingErrorAction;
9: invokevirtual java.nio.charset.CharsetDecoder.onMalformedInput:(Ljava/nio/charset/CodingErrorAction;)Ljava/nio/charset/CharsetDecoder;
10: getstatic java.nio.charset.CodingErrorAction.REPLACE:Ljava/nio/charset/CodingErrorAction;
11: invokevirtual java.nio.charset.CharsetDecoder.onUnmappableCharacter:(Ljava/nio/charset/CodingErrorAction;)Ljava/nio/charset/CharsetDecoder;
12: putfield jdk.internal.org.jline.utils.InputStreamReader.decoder:Ljava/nio/charset/CharsetDecoder;
13: goto 17
StackMap locals:
StackMap stack: java.lang.IllegalArgumentException
14: astore 3
start local 3 15: new java.io.UnsupportedEncodingException
dup
aload 2
invokespecial java.io.UnsupportedEncodingException.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.io.UnsupportedEncodingException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
16: checkcast java.io.UnsupportedEncodingException
athrow
end local 3 17: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.org.jline.utils.InputStreamReader.bytes:Ljava/nio/ByteBuffer;
iconst_0
invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/ByteBuffer;
pop
18: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Ljdk/internal/org/jline/utils/InputStreamReader;
0 19 1 in Ljava/io/InputStream;
0 19 2 enc Ljava/lang/String;
15 17 3 e Ljava/lang/IllegalArgumentException;
Exception table:
from to target type
7 13 14 Class java.lang.IllegalArgumentException
Exceptions:
throws java.io.UnsupportedEncodingException
MethodParameters:
Name Flags
in
enc final
public void <init>(java.io.InputStream, java.nio.charset.CharsetDecoder);
descriptor: (Ljava/io/InputStream;Ljava/nio/charset/CharsetDecoder;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokespecial java.io.Reader.<init>:(Ljava/lang/Object;)V
1: aload 0
iconst_0
putfield jdk.internal.org.jline.utils.InputStreamReader.endOfInput:Z
2: aload 0
iconst_4
invokestatic java.nio.ByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
putfield jdk.internal.org.jline.utils.InputStreamReader.bytes:Ljava/nio/ByteBuffer;
3: aload 0
ldc 65535
putfield jdk.internal.org.jline.utils.InputStreamReader.pending:C
4: aload 2
invokevirtual java.nio.charset.CharsetDecoder.averageCharsPerByte:()F
pop
5: aload 0
aload 1
putfield jdk.internal.org.jline.utils.InputStreamReader.in:Ljava/io/InputStream;
6: aload 0
aload 2
putfield jdk.internal.org.jline.utils.InputStreamReader.decoder:Ljava/nio/charset/CharsetDecoder;
7: aload 0
getfield jdk.internal.org.jline.utils.InputStreamReader.bytes:Ljava/nio/ByteBuffer;
iconst_0
invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/ByteBuffer;
pop
8: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljdk/internal/org/jline/utils/InputStreamReader;
0 9 1 in Ljava/io/InputStream;
0 9 2 dec Ljava/nio/charset/CharsetDecoder;
MethodParameters:
Name Flags
in
dec
public void <init>(java.io.InputStream, java.nio.charset.Charset);
descriptor: (Ljava/io/InputStream;Ljava/nio/charset/Charset;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokespecial java.io.Reader.<init>:(Ljava/lang/Object;)V
1: aload 0
iconst_0
putfield jdk.internal.org.jline.utils.InputStreamReader.endOfInput:Z
2: aload 0
iconst_4
invokestatic java.nio.ByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
putfield jdk.internal.org.jline.utils.InputStreamReader.bytes:Ljava/nio/ByteBuffer;
3: aload 0
ldc 65535
putfield jdk.internal.org.jline.utils.InputStreamReader.pending:C
4: aload 0
aload 1
putfield jdk.internal.org.jline.utils.InputStreamReader.in:Ljava/io/InputStream;
5: aload 0
aload 2
invokevirtual java.nio.charset.Charset.newDecoder:()Ljava/nio/charset/CharsetDecoder;
6: getstatic java.nio.charset.CodingErrorAction.REPLACE:Ljava/nio/charset/CodingErrorAction;
7: invokevirtual java.nio.charset.CharsetDecoder.onMalformedInput:(Ljava/nio/charset/CodingErrorAction;)Ljava/nio/charset/CharsetDecoder;
8: getstatic java.nio.charset.CodingErrorAction.REPLACE:Ljava/nio/charset/CodingErrorAction;
9: invokevirtual java.nio.charset.CharsetDecoder.onUnmappableCharacter:(Ljava/nio/charset/CodingErrorAction;)Ljava/nio/charset/CharsetDecoder;
10: putfield jdk.internal.org.jline.utils.InputStreamReader.decoder:Ljava/nio/charset/CharsetDecoder;
11: aload 0
getfield jdk.internal.org.jline.utils.InputStreamReader.bytes:Ljava/nio/ByteBuffer;
iconst_0
invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/ByteBuffer;
pop
12: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljdk/internal/org/jline/utils/InputStreamReader;
0 13 1 in Ljava/io/InputStream;
0 13 2 charset Ljava/nio/charset/Charset;
MethodParameters:
Name Flags
in
charset
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield jdk.internal.org.jline.utils.InputStreamReader.lock:Ljava/lang/Object;
dup
astore 1
monitorenter
1: aload 0
aconst_null
putfield jdk.internal.org.jline.utils.InputStreamReader.decoder:Ljava/nio/charset/CharsetDecoder;
2: aload 0
getfield jdk.internal.org.jline.utils.InputStreamReader.in:Ljava/io/InputStream;
ifnull 5
3: aload 0
getfield jdk.internal.org.jline.utils.InputStreamReader.in:Ljava/io/InputStream;
invokevirtual java.io.InputStream.close:()V
4: aload 0
aconst_null
putfield jdk.internal.org.jline.utils.InputStreamReader.in:Ljava/io/InputStream;
5: StackMap locals: java.lang.Object
StackMap stack:
aload 1
monitorexit
6: goto 9
StackMap locals:
StackMap stack: java.lang.Throwable
7: aload 1
monitorexit
8: athrow
9: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljdk/internal/org/jline/utils/InputStreamReader;
Exception table:
from to target type
1 6 7 any
7 8 7 any
Exceptions:
throws java.io.IOException
public java.lang.String getEncoding();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual jdk.internal.org.jline.utils.InputStreamReader.isOpen:()Z
ifne 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.org.jline.utils.InputStreamReader.decoder:Ljava/nio/charset/CharsetDecoder;
invokevirtual java.nio.charset.CharsetDecoder.charset:()Ljava/nio/charset/Charset;
invokevirtual java.nio.charset.Charset.name:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/org/jline/utils/InputStreamReader;
public int read();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aload 0
getfield jdk.internal.org.jline.utils.InputStreamReader.lock:Ljava/lang/Object;
dup
astore 1
monitorenter
1: aload 0
invokevirtual jdk.internal.org.jline.utils.InputStreamReader.isOpen:()Z
ifne 3
2: new jdk.internal.org.jline.utils.ClosedException
dup
ldc "InputStreamReader is closed."
invokespecial jdk.internal.org.jline.utils.ClosedException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: java.lang.Object
StackMap stack:
aload 0
getfield jdk.internal.org.jline.utils.InputStreamReader.pending:C
ldc 65535
if_icmpeq 8
4: aload 0
getfield jdk.internal.org.jline.utils.InputStreamReader.pending:C
istore 2
start local 2 5: aload 0
ldc 65535
putfield jdk.internal.org.jline.utils.InputStreamReader.pending:C
6: iload 2
aload 1
monitorexit
7: ireturn
end local 2 8: StackMap locals:
StackMap stack:
iconst_2
newarray 5
astore 2
start local 2 9: aload 0
aload 2
iconst_0
iconst_2
invokevirtual jdk.internal.org.jline.utils.InputStreamReader.read:([CII)I
istore 3
start local 3 10: iload 3
iconst_2
if_icmpne 12
11: aload 0
aload 2
iconst_1
caload
putfield jdk.internal.org.jline.utils.InputStreamReader.pending:C
12: StackMap locals: char[] int
StackMap stack:
iload 3
ifle 15
13: aload 2
iconst_0
caload
aload 1
monitorexit
14: ireturn
15: StackMap locals:
StackMap stack:
aload 1
monitorexit
16: iconst_m1
ireturn
end local 3 end local 2 17: StackMap locals: jdk.internal.org.jline.utils.InputStreamReader java.lang.Object
StackMap stack: java.lang.Throwable
aload 1
monitorexit
18: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Ljdk/internal/org/jline/utils/InputStreamReader;
5 8 2 c C
9 17 2 buf [C
10 17 3 nb I
Exception table:
from to target type
1 7 17 any
8 14 17 any
15 16 17 any
17 18 17 any
Exceptions:
throws java.io.IOException
public int read(char[], int, int);
descriptor: ([CII)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=10, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield jdk.internal.org.jline.utils.InputStreamReader.lock:Ljava/lang/Object;
dup
astore 4
monitorenter
1: aload 0
invokevirtual jdk.internal.org.jline.utils.InputStreamReader.isOpen:()Z
ifne 3
2: new java.io.IOException
dup
ldc "InputStreamReader is closed."
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: java.lang.Object
StackMap stack:
iload 2
iflt 4
iload 2
aload 1
arraylength
iload 3
isub
if_icmpgt 4
iload 3
ifge 5
4: StackMap locals:
StackMap stack:
new java.lang.IndexOutOfBoundsException
dup
invokespecial java.lang.IndexOutOfBoundsException.<init>:()V
athrow
5: StackMap locals:
StackMap stack:
iload 3
ifne 8
6: aload 4
monitorexit
7: iconst_0
ireturn
8: StackMap locals:
StackMap stack:
aload 1
iload 2
iload 3
invokestatic java.nio.CharBuffer.wrap:([CII)Ljava/nio/CharBuffer;
astore 5
start local 5 9: getstatic java.nio.charset.CoderResult.UNDERFLOW:Ljava/nio/charset/CoderResult;
astore 6
start local 6 10: aload 0
getfield jdk.internal.org.jline.utils.InputStreamReader.bytes:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ifeq 11
iconst_0
goto 12
StackMap locals: java.nio.CharBuffer java.nio.charset.CoderResult
StackMap stack:
11: iconst_1
StackMap locals:
StackMap stack: int
12: istore 7
start local 7 13: goto 34
14: StackMap locals: int
StackMap stack:
iload 7
ifeq 27
15: aload 0
getfield jdk.internal.org.jline.utils.InputStreamReader.in:Ljava/io/InputStream;
invokevirtual java.io.InputStream.available:()I
ifne 19
16: aload 5
invokevirtual java.nio.CharBuffer.position:()I
iload 2
if_icmple 19
17: goto 35
18: StackMap locals:
StackMap stack: java.io.IOException
pop
19: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.org.jline.utils.InputStreamReader.bytes:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
aload 0
getfield jdk.internal.org.jline.utils.InputStreamReader.bytes:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.limit:()I
iadd
istore 8
start local 8 20: aload 0
getfield jdk.internal.org.jline.utils.InputStreamReader.in:Ljava/io/InputStream;
aload 0
getfield jdk.internal.org.jline.utils.InputStreamReader.bytes:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.array:()[B
iload 8
iconst_1
invokevirtual java.io.InputStream.read:([BII)I
istore 9
start local 9 21: iload 9
iconst_m1
if_icmpne 24
22: aload 0
iconst_1
putfield jdk.internal.org.jline.utils.InputStreamReader.endOfInput:Z
23: goto 35
24: StackMap locals: int int
StackMap stack:
iload 9
ifne 26
25: goto 35
26: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.org.jline.utils.InputStreamReader.bytes:Ljava/nio/ByteBuffer;
aload 0
getfield jdk.internal.org.jline.utils.InputStreamReader.bytes:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.limit:()I
iload 9
iadd
invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/ByteBuffer;
pop
end local 9 end local 8 27: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.org.jline.utils.InputStreamReader.decoder:Ljava/nio/charset/CharsetDecoder;
aload 0
getfield jdk.internal.org.jline.utils.InputStreamReader.bytes:Ljava/nio/ByteBuffer;
aload 5
iconst_0
invokevirtual java.nio.charset.CharsetDecoder.decode:(Ljava/nio/ByteBuffer;Ljava/nio/CharBuffer;Z)Ljava/nio/charset/CoderResult;
astore 6
28: aload 6
invokevirtual java.nio.charset.CoderResult.isUnderflow:()Z
ifeq 35
29: aload 0
getfield jdk.internal.org.jline.utils.InputStreamReader.bytes:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.limit:()I
aload 0
getfield jdk.internal.org.jline.utils.InputStreamReader.bytes:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.capacity:()I
if_icmpne 33
30: aload 0
getfield jdk.internal.org.jline.utils.InputStreamReader.bytes:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.compact:()Ljava/nio/ByteBuffer;
pop
31: aload 0
getfield jdk.internal.org.jline.utils.InputStreamReader.bytes:Ljava/nio/ByteBuffer;
aload 0
getfield jdk.internal.org.jline.utils.InputStreamReader.bytes:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.position:()I
invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/ByteBuffer;
pop
32: aload 0
getfield jdk.internal.org.jline.utils.InputStreamReader.bytes:Ljava/nio/ByteBuffer;
iconst_0
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/ByteBuffer;
pop
33: StackMap locals:
StackMap stack:
iconst_1
istore 7
34: StackMap locals:
StackMap stack:
aload 5
invokevirtual java.nio.CharBuffer.position:()I
iload 2
if_icmpeq 14
35: StackMap locals:
StackMap stack:
aload 6
getstatic java.nio.charset.CoderResult.UNDERFLOW:Ljava/nio/charset/CoderResult;
if_acmpne 39
aload 0
getfield jdk.internal.org.jline.utils.InputStreamReader.endOfInput:Z
ifeq 39
36: aload 0
getfield jdk.internal.org.jline.utils.InputStreamReader.decoder:Ljava/nio/charset/CharsetDecoder;
aload 0
getfield jdk.internal.org.jline.utils.InputStreamReader.bytes:Ljava/nio/ByteBuffer;
aload 5
iconst_1
invokevirtual java.nio.charset.CharsetDecoder.decode:(Ljava/nio/ByteBuffer;Ljava/nio/CharBuffer;Z)Ljava/nio/charset/CoderResult;
astore 6
37: aload 0
getfield jdk.internal.org.jline.utils.InputStreamReader.decoder:Ljava/nio/charset/CharsetDecoder;
aload 5
invokevirtual java.nio.charset.CharsetDecoder.flush:(Ljava/nio/CharBuffer;)Ljava/nio/charset/CoderResult;
pop
38: aload 0
getfield jdk.internal.org.jline.utils.InputStreamReader.decoder:Ljava/nio/charset/CharsetDecoder;
invokevirtual java.nio.charset.CharsetDecoder.reset:()Ljava/nio/charset/CharsetDecoder;
pop
39: StackMap locals:
StackMap stack:
aload 6
invokevirtual java.nio.charset.CoderResult.isMalformed:()Z
ifeq 41
40: new java.nio.charset.MalformedInputException
dup
aload 6
invokevirtual java.nio.charset.CoderResult.length:()I
invokespecial java.nio.charset.MalformedInputException.<init>:(I)V
athrow
41: StackMap locals:
StackMap stack:
aload 6
invokevirtual java.nio.charset.CoderResult.isUnmappable:()Z
ifeq 43
42: new java.nio.charset.UnmappableCharacterException
dup
aload 6
invokevirtual java.nio.charset.CoderResult.length:()I
invokespecial java.nio.charset.UnmappableCharacterException.<init>:(I)V
athrow
43: StackMap locals:
StackMap stack:
aload 5
invokevirtual java.nio.CharBuffer.position:()I
iload 2
isub
ifne 44
iconst_m1
goto 45
StackMap locals:
StackMap stack:
44: aload 5
invokevirtual java.nio.CharBuffer.position:()I
iload 2
isub
StackMap locals:
StackMap stack: int
45: aload 4
monitorexit
46: ireturn
end local 7 end local 6 end local 5 47: StackMap locals: jdk.internal.org.jline.utils.InputStreamReader char[] int int java.lang.Object
StackMap stack: java.lang.Throwable
aload 4
monitorexit
48: athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 49 0 this Ljdk/internal/org/jline/utils/InputStreamReader;
0 49 1 buf [C
0 49 2 offset I
0 49 3 length I
9 47 5 out Ljava/nio/CharBuffer;
10 47 6 result Ljava/nio/charset/CoderResult;
13 47 7 needInput Z
20 27 8 off I
21 27 9 was_red I
Exception table:
from to target type
15 17 18 Class java.io.IOException
1 7 47 any
8 46 47 any
47 48 47 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
buf
offset
length
private boolean isOpen();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.org.jline.utils.InputStreamReader.in:Ljava/io/InputStream;
ifnull 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 Ljdk/internal/org/jline/utils/InputStreamReader;
public boolean ready();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield jdk.internal.org.jline.utils.InputStreamReader.lock:Ljava/lang/Object;
dup
astore 1
monitorenter
1: aload 0
getfield jdk.internal.org.jline.utils.InputStreamReader.in:Ljava/io/InputStream;
ifnonnull 3
2: new java.io.IOException
dup
ldc "InputStreamReader is closed."
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: java.lang.Object
StackMap stack:
aload 0
getfield jdk.internal.org.jline.utils.InputStreamReader.bytes:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ifne 4
aload 0
getfield jdk.internal.org.jline.utils.InputStreamReader.in:Ljava/io/InputStream;
invokevirtual java.io.InputStream.available:()I
ifgt 4
iconst_0
goto 5
StackMap locals:
StackMap stack:
4: iconst_1
StackMap locals:
StackMap stack: int
5: aload 1
monitorexit
6: ireturn
7: StackMap locals:
StackMap stack: java.io.IOException
pop
8: aload 1
monitorexit
9: iconst_0
ireturn
10: StackMap locals:
StackMap stack: java.lang.Throwable
aload 1
monitorexit
11: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljdk/internal/org/jline/utils/InputStreamReader;
Exception table:
from to target type
3 5 7 Class java.io.IOException
1 6 10 any
7 9 10 any
10 11 10 any
Exceptions:
throws java.io.IOException
}
SourceFile: "InputStreamReader.java"