public class org.jruby.embed.io.ReaderInputStream extends java.io.InputStream
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.jruby.embed.io.ReaderInputStream
  super_class: java.io.InputStream
{
  private static final int DEFAULT_CHAR_BUFFER_SIZE;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 8192

  private static final int DEFAULT_BYTE_BUFFER_SIZE;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 8192

  private final java.io.Reader reader;
    descriptor: Ljava/io/Reader;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private byte[] bytes;
    descriptor: [B
    flags: (0x0002) ACC_PRIVATE

  private int totalBytes;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  private int position;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  private int markedIndex;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  private int readlimit;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  private boolean isOpen;
    descriptor: Z
    flags: (0x0002) ACC_PRIVATE

  private java.nio.charset.CharsetEncoder encoder;
    descriptor: Ljava/nio/charset/CharsetEncoder;
    flags: (0x0002) ACC_PRIVATE

  private final java.lang.Object lock;
    descriptor: Ljava/lang/Object;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  public void <init>(java.io.Reader);
    descriptor: (Ljava/io/Reader;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // org.jruby.embed.io.ReaderInputStream this
        start local 1 // java.io.Reader reader
         0: .line 77
            aload 0 /* this */
            aload 1 /* reader */
            aconst_null
            invokespecial org.jruby.embed.io.ReaderInputStream.<init>:(Ljava/io/Reader;Ljava/lang/String;)V
         1: .line 78
            return
        end local 1 // java.io.Reader reader
        end local 0 // org.jruby.embed.io.ReaderInputStream this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    2     0    this  Lorg/jruby/embed/io/ReaderInputStream;
            0    2     1  reader  Ljava/io/Reader;
    MethodParameters:
        Name  Flags
      reader  

  public void <init>(java.io.Reader, java.lang.String);
    descriptor: (Ljava/io/Reader;Ljava/lang/String;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=4, args_size=3
        start local 0 // org.jruby.embed.io.ReaderInputStream this
        start local 1 // java.io.Reader reader
        start local 2 // java.lang.String encoding
         0: .line 86
            aload 0 /* this */
            invokespecial java.io.InputStream.<init>:()V
         1: .line 62
            aload 0 /* this */
            aconst_null
            putfield org.jruby.embed.io.ReaderInputStream.bytes:[B
         2: .line 63
            aload 0 /* this */
            iconst_0
            putfield org.jruby.embed.io.ReaderInputStream.totalBytes:I
         3: .line 64
            aload 0 /* this */
            iconst_0
            putfield org.jruby.embed.io.ReaderInputStream.position:I
         4: .line 65
            aload 0 /* this */
            iconst_m1
            putfield org.jruby.embed.io.ReaderInputStream.markedIndex:I
         5: .line 66
            aload 0 /* this */
            iconst_0
            putfield org.jruby.embed.io.ReaderInputStream.readlimit:I
         6: .line 67
            aload 0 /* this */
            iconst_1
            putfield org.jruby.embed.io.ReaderInputStream.isOpen:Z
         7: .line 69
            aload 0 /* this */
            new java.lang.Object
            dup
            invokespecial java.lang.Object.<init>:()V
            putfield org.jruby.embed.io.ReaderInputStream.lock:Ljava/lang/Object;
         8: .line 87
            aload 0 /* this */
            aload 1 /* reader */
            putfield org.jruby.embed.io.ReaderInputStream.reader:Ljava/io/Reader;
         9: .line 88
            aload 2 /* encoding */
            ifnonnull 15
        10: .line 89
            aload 1 /* reader */
            instanceof java.io.InputStreamReader
            ifeq 13
        11: .line 90
            aload 1 /* reader */
            checkcast java.io.InputStreamReader
            invokevirtual java.io.InputStreamReader.getEncoding:()Ljava/lang/String;
            astore 2 /* encoding */
        12: .line 91
            goto 17
        13: .line 92
      StackMap locals: org.jruby.embed.io.ReaderInputStream java.io.Reader java.lang.String
      StackMap stack:
            invokestatic java.nio.charset.Charset.defaultCharset:()Ljava/nio/charset/Charset;
            invokevirtual java.nio.charset.Charset.name:()Ljava/lang/String;
            astore 2 /* encoding */
        14: .line 94
            goto 17
      StackMap locals:
      StackMap stack:
        15: aload 2 /* encoding */
            invokestatic java.nio.charset.Charset.isSupported:(Ljava/lang/String;)Z
            ifne 17
        16: .line 95
            new java.lang.IllegalArgumentException
            dup
            new java.lang.StringBuilder
            dup
            aload 2 /* encoding */
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc " is not supported"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
        17: .line 97
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 2 /* encoding */
            invokestatic java.nio.charset.Charset.forName:(Ljava/lang/String;)Ljava/nio/charset/Charset;
            invokevirtual java.nio.charset.Charset.newEncoder:()Ljava/nio/charset/CharsetEncoder;
            putfield org.jruby.embed.io.ReaderInputStream.encoder:Ljava/nio/charset/CharsetEncoder;
        18: .line 98
            aload 0 /* this */
            getfield org.jruby.embed.io.ReaderInputStream.encoder:Ljava/nio/charset/CharsetEncoder;
            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
        19: .line 99
            aload 0 /* this */
            getfield org.jruby.embed.io.ReaderInputStream.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;
            pop
        20: .line 101
            aload 0 /* this */
            aload 1 /* reader */
            invokevirtual org.jruby.embed.io.ReaderInputStream.fillByteBuffer:(Ljava/io/Reader;)V
        21: .line 102
            goto 24
      StackMap locals:
      StackMap stack: java.io.IOException
        22: astore 3 /* ex */
        start local 3 // java.io.IOException ex
        23: .line 103
            new java.lang.RuntimeException
            dup
            aload 3 /* ex */
            invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
            athrow
        end local 3 // java.io.IOException ex
        24: .line 105
      StackMap locals:
      StackMap stack:
            return
        end local 2 // java.lang.String encoding
        end local 1 // java.io.Reader reader
        end local 0 // org.jruby.embed.io.ReaderInputStream this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   25     0      this  Lorg/jruby/embed/io/ReaderInputStream;
            0   25     1    reader  Ljava/io/Reader;
            0   25     2  encoding  Ljava/lang/String;
           23   24     3        ex  Ljava/io/IOException;
      Exception table:
        from    to  target  type
          20    21      22  Class java.io.IOException
    MethodParameters:
          Name  Flags
      reader    
      encoding  

  private void fillByteBuffer(java.io.Reader);
    descriptor: (Ljava/io/Reader;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=8, args_size=2
        start local 0 // org.jruby.embed.io.ReaderInputStream this
        start local 1 // java.io.Reader reader
         0: .line 108
            sipush 8192
            invokestatic java.nio.CharBuffer.allocate:(I)Ljava/nio/CharBuffer;
            astore 2 /* cbuf */
        start local 2 // java.nio.CharBuffer cbuf
         1: .line 109
            sipush 8192
            invokestatic java.nio.ByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
            astore 3 /* bbuf */
        start local 3 // java.nio.ByteBuffer bbuf
         2: .line 110
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            astore 4 /* list */
        start local 4 // java.util.List list
         3: .line 112
      StackMap locals: java.nio.CharBuffer java.nio.ByteBuffer java.util.List
      StackMap stack:
            aload 2 /* cbuf */
            invokestatic com.headius.backport9.buffer.Buffers.clearBuffer:(Ljava/nio/Buffer;)Ljava/nio/Buffer;
            pop
         4: .line 113
            aload 1 /* reader */
            aload 2 /* cbuf */
            invokevirtual java.io.Reader.read:(Ljava/nio/CharBuffer;)I
            istore 5 /* size */
        start local 5 // int size
         5: .line 114
            iload 5 /* size */
            ifgt 7
         6: .line 115
            goto 24
         7: .line 117
      StackMap locals: int
      StackMap stack:
            aload 2 /* cbuf */
            aload 2 /* cbuf */
            invokevirtual java.nio.CharBuffer.position:()I
            invokestatic com.headius.backport9.buffer.Buffers.limitBuffer:(Ljava/nio/Buffer;I)Ljava/nio/Buffer;
            pop
         8: .line 118
            aload 2 /* cbuf */
            invokevirtual java.nio.CharBuffer.rewind:()Ljava/nio/Buffer;
            pop
         9: .line 119
            iconst_0
            istore 6 /* eof */
        start local 6 // boolean eof
        10: .line 120
            goto 22
        11: .line 121
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            getfield org.jruby.embed.io.ReaderInputStream.encoder:Ljava/nio/charset/CharsetEncoder;
            aload 2 /* cbuf */
            aload 3 /* bbuf */
            iload 6 /* eof */
            invokevirtual java.nio.charset.CharsetEncoder.encode:(Ljava/nio/CharBuffer;Ljava/nio/ByteBuffer;Z)Ljava/nio/charset/CoderResult;
            astore 7 /* cr */
        start local 7 // java.nio.charset.CoderResult cr
        12: .line 122
            aload 7 /* cr */
            invokevirtual java.nio.charset.CoderResult.isError:()Z
            ifeq 15
        13: .line 123
            aload 7 /* cr */
            invokevirtual java.nio.charset.CoderResult.throwException:()V
        14: .line 124
            goto 22
      StackMap locals: java.nio.charset.CoderResult
      StackMap stack:
        15: aload 7 /* cr */
            invokevirtual java.nio.charset.CoderResult.isUnderflow:()Z
            ifeq 19
        16: .line 125
            aload 0 /* this */
            aload 4 /* list */
            aload 3 /* bbuf */
            invokevirtual org.jruby.embed.io.ReaderInputStream.appendBytes:(Ljava/util/List;Ljava/nio/ByteBuffer;)V
        17: .line 126
            iconst_1
            istore 6 /* eof */
        18: .line 127
            goto 22
      StackMap locals:
      StackMap stack:
        19: aload 7 /* cr */
            invokevirtual java.nio.charset.CoderResult.isOverflow:()Z
            ifeq 22
        20: .line 128
            aload 0 /* this */
            aload 4 /* list */
            aload 3 /* bbuf */
            invokevirtual org.jruby.embed.io.ReaderInputStream.appendBytes:(Ljava/util/List;Ljava/nio/ByteBuffer;)V
        21: .line 129
            aload 3 /* bbuf */
            invokestatic com.headius.backport9.buffer.Buffers.clearBuffer:(Ljava/nio/Buffer;)Ljava/nio/Buffer;
            pop
        end local 7 // java.nio.charset.CoderResult cr
        22: .line 120
      StackMap locals:
      StackMap stack:
            iload 6 /* eof */
            ifeq 11
        end local 6 // boolean eof
        end local 5 // int size
        23: .line 111
            goto 3
        24: .line 133
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 4 /* list */
            invokevirtual org.jruby.embed.io.ReaderInputStream.getByteArray:(Ljava/util/List;)V
        25: .line 134
            return
        end local 4 // java.util.List list
        end local 3 // java.nio.ByteBuffer bbuf
        end local 2 // java.nio.CharBuffer cbuf
        end local 1 // java.io.Reader reader
        end local 0 // org.jruby.embed.io.ReaderInputStream this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   26     0    this  Lorg/jruby/embed/io/ReaderInputStream;
            0   26     1  reader  Ljava/io/Reader;
            1   26     2    cbuf  Ljava/nio/CharBuffer;
            2   26     3    bbuf  Ljava/nio/ByteBuffer;
            3   26     4    list  Ljava/util/List<[B>;
            5   23     5    size  I
           10   23     6     eof  Z
           12   22     7      cr  Ljava/nio/charset/CoderResult;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
        Name  Flags
      reader  

  private void appendBytes(java.util.List<byte[]>, java.nio.ByteBuffer);
    descriptor: (Ljava/util/List;Ljava/nio/ByteBuffer;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=5, locals=5, args_size=3
        start local 0 // org.jruby.embed.io.ReaderInputStream this
        start local 1 // java.util.List list
        start local 2 // java.nio.ByteBuffer bb
         0: .line 137
            aload 2 /* bb */
            invokestatic com.headius.backport9.buffer.Buffers.flipBuffer:(Ljava/nio/Buffer;)Ljava/nio/Buffer;
            pop
         1: .line 138
            aload 2 /* bb */
            invokevirtual java.nio.ByteBuffer.limit:()I
            istore 3 /* length */
        start local 3 // int length
         2: .line 139
            aload 0 /* this */
            dup
            getfield org.jruby.embed.io.ReaderInputStream.totalBytes:I
            iload 3 /* length */
            iadd
            putfield org.jruby.embed.io.ReaderInputStream.totalBytes:I
         3: .line 140
            iload 3 /* length */
            newarray 8
            astore 4 /* dst */
        start local 4 // byte[] dst
         4: .line 141
            aload 2 /* bb */
            invokevirtual java.nio.ByteBuffer.array:()[B
            aload 2 /* bb */
            invokevirtual java.nio.ByteBuffer.position:()I
            aload 4 /* dst */
            iconst_0
            iload 3 /* length */
            invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
         5: .line 142
            aload 1 /* list */
            aload 4 /* dst */
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
         6: .line 143
            return
        end local 4 // byte[] dst
        end local 3 // int length
        end local 2 // java.nio.ByteBuffer bb
        end local 1 // java.util.List list
        end local 0 // org.jruby.embed.io.ReaderInputStream this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    7     0    this  Lorg/jruby/embed/io/ReaderInputStream;
            0    7     1    list  Ljava/util/List<[B>;
            0    7     2      bb  Ljava/nio/ByteBuffer;
            2    7     3  length  I
            4    7     4     dst  [B
    Signature: (Ljava/util/List<[B>;Ljava/nio/ByteBuffer;)V
    MethodParameters:
      Name  Flags
      list  
      bb    

  private void getByteArray(java.util.List<byte[]>);
    descriptor: (Ljava/util/List;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=6, args_size=2
        start local 0 // org.jruby.embed.io.ReaderInputStream this
        start local 1 // java.util.List list
         0: .line 146
            aload 0 /* this */
            aload 0 /* this */
            getfield org.jruby.embed.io.ReaderInputStream.totalBytes:I
            newarray 8
            putfield org.jruby.embed.io.ReaderInputStream.bytes:[B
         1: .line 147
            iconst_0
            istore 2 /* index */
        start local 2 // int index
         2: .line 148
            aload 1 /* list */
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 4
            goto 9
      StackMap locals: org.jruby.embed.io.ReaderInputStream java.util.List int top java.util.Iterator
      StackMap stack:
         3: aload 4
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast byte[]
            astore 3 /* bb */
        start local 3 // byte[] bb
         4: .line 149
            iconst_0
            istore 5 /* i */
        start local 5 // int i
         5: goto 8
         6: .line 150
      StackMap locals: org.jruby.embed.io.ReaderInputStream java.util.List int byte[] java.util.Iterator int
      StackMap stack:
            aload 0 /* this */
            getfield org.jruby.embed.io.ReaderInputStream.bytes:[B
            iload 2 /* index */
            iinc 2 /* index */ 1
            aload 3 /* bb */
            iload 5 /* i */
            baload
            bastore
         7: .line 149
            iinc 5 /* i */ 1
      StackMap locals:
      StackMap stack:
         8: iload 5 /* i */
            aload 3 /* bb */
            arraylength
            if_icmplt 6
        end local 5 // int i
        end local 3 // byte[] bb
         9: .line 148
      StackMap locals: org.jruby.embed.io.ReaderInputStream java.util.List int top java.util.Iterator
      StackMap stack:
            aload 4
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 3
        10: .line 153
            return
        end local 2 // int index
        end local 1 // java.util.List list
        end local 0 // org.jruby.embed.io.ReaderInputStream this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0   11     0   this  Lorg/jruby/embed/io/ReaderInputStream;
            0   11     1   list  Ljava/util/List<[B>;
            2   11     2  index  I
            4    9     3     bb  [B
            5    9     5      i  I
    Signature: (Ljava/util/List<[B>;)V
    MethodParameters:
      Name  Flags
      list  

  private void confirmOpen();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // org.jruby.embed.io.ReaderInputStream this
         0: .line 156
            aload 0 /* this */
            getfield org.jruby.embed.io.ReaderInputStream.isOpen:Z
            ifne 2
         1: .line 157
            new java.io.IOException
            dup
            ldc "This stream has been closed."
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 159
      StackMap locals:
      StackMap stack:
            return
        end local 0 // org.jruby.embed.io.ReaderInputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lorg/jruby/embed/io/ReaderInputStream;
    Exceptions:
      throws java.io.IOException

  public int available();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=1
        start local 0 // org.jruby.embed.io.ReaderInputStream this
         0: .line 187
            aload 0 /* this */
            getfield org.jruby.embed.io.ReaderInputStream.lock:Ljava/lang/Object;
            dup
            astore 1
            monitorenter
         1: .line 188
            aload 0 /* this */
            invokevirtual org.jruby.embed.io.ReaderInputStream.confirmOpen:()V
         2: .line 189
            aload 0 /* this */
            getfield org.jruby.embed.io.ReaderInputStream.bytes:[B
            ifnonnull 4
         3: .line 190
            new java.io.IOException
            dup
            ldc "This stream is not available."
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
         4: .line 192
      StackMap locals: java.lang.Object
      StackMap stack:
            aload 0 /* this */
            getfield org.jruby.embed.io.ReaderInputStream.totalBytes:I
            aload 0 /* this */
            getfield org.jruby.embed.io.ReaderInputStream.position:I
            isub
            aload 1
            monitorexit
         5: ireturn
         6: .line 187
      StackMap locals:
      StackMap stack: java.lang.Throwable
            aload 1
            monitorexit
         7: athrow
        end local 0 // org.jruby.embed.io.ReaderInputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    8     0  this  Lorg/jruby/embed/io/ReaderInputStream;
      Exception table:
        from    to  target  type
           1     5       6  any
           6     7       6  any
    Exceptions:
      throws java.io.IOException

  public void close();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // org.jruby.embed.io.ReaderInputStream this
         0: .line 204
            aload 0 /* this */
            getfield org.jruby.embed.io.ReaderInputStream.lock:Ljava/lang/Object;
            dup
            astore 1
            monitorenter
         1: .line 205
            aload 0 /* this */
            invokevirtual org.jruby.embed.io.ReaderInputStream.confirmOpen:()V
         2: .line 206
            aload 0 /* this */
            iconst_0
            putfield org.jruby.embed.io.ReaderInputStream.isOpen:Z
         3: .line 207
            aload 0 /* this */
            aconst_null
            putfield org.jruby.embed.io.ReaderInputStream.encoder:Ljava/nio/charset/CharsetEncoder;
         4: .line 208
            aload 0 /* this */
            aconst_null
            putfield org.jruby.embed.io.ReaderInputStream.bytes:[B
         5: .line 204
            aload 1
            monitorexit
         6: goto 9
      StackMap locals: org.jruby.embed.io.ReaderInputStream java.lang.Object
      StackMap stack: java.lang.Throwable
         7: aload 1
            monitorexit
         8: athrow
         9: .line 211
      StackMap locals:
      StackMap stack:
            return
        end local 0 // org.jruby.embed.io.ReaderInputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   10     0  this  Lorg/jruby/embed/io/ReaderInputStream;
      Exception table:
        from    to  target  type
           1     6       7  any
           7     8       7  any
    Exceptions:
      throws java.io.IOException

  public synchronized void mark(int);
    descriptor: (I)V
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // org.jruby.embed.io.ReaderInputStream this
        start local 1 // int readlimit
         0: .line 241
            iload 1 /* readlimit */
            ifge 2
         1: .line 242
            new java.lang.IllegalArgumentException
            dup
            ldc "Read limit < 0"
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 244
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.jruby.embed.io.ReaderInputStream.lock:Ljava/lang/Object;
            dup
            astore 2
            monitorenter
         3: .line 245
            aload 0 /* this */
            getfield org.jruby.embed.io.ReaderInputStream.isOpen:Z
            ifeq 6
         4: .line 246
            aload 0 /* this */
            iload 1 /* readlimit */
            putfield org.jruby.embed.io.ReaderInputStream.readlimit:I
         5: .line 247
            aload 0 /* this */
            aload 0 /* this */
            getfield org.jruby.embed.io.ReaderInputStream.position:I
            putfield org.jruby.embed.io.ReaderInputStream.markedIndex:I
         6: .line 244
      StackMap locals: java.lang.Object
      StackMap stack:
            aload 2
            monitorexit
         7: goto 10
      StackMap locals:
      StackMap stack: java.lang.Throwable
         8: aload 2
            monitorexit
         9: athrow
        10: .line 250
      StackMap locals:
      StackMap stack:
            return
        end local 1 // int readlimit
        end local 0 // org.jruby.embed.io.ReaderInputStream this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0   11     0       this  Lorg/jruby/embed/io/ReaderInputStream;
            0   11     1  readlimit  I
      Exception table:
        from    to  target  type
           3     7       8  any
           8     9       8  any
    MethodParameters:
           Name  Flags
      readlimit  

  public boolean markSupported();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.jruby.embed.io.ReaderInputStream this
         0: .line 265
            iconst_1
            ireturn
        end local 0 // org.jruby.embed.io.ReaderInputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/jruby/embed/io/ReaderInputStream;

  public int read();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=2, args_size=1
        start local 0 // org.jruby.embed.io.ReaderInputStream this
         0: .line 284
            aload 0 /* this */
            getfield org.jruby.embed.io.ReaderInputStream.lock:Ljava/lang/Object;
            dup
            astore 1
            monitorenter
         1: .line 285
            aload 0 /* this */
            invokevirtual org.jruby.embed.io.ReaderInputStream.confirmOpen:()V
         2: .line 286
            aload 0 /* this */
            getfield org.jruby.embed.io.ReaderInputStream.position:I
            aload 0 /* this */
            getfield org.jruby.embed.io.ReaderInputStream.totalBytes:I
            if_icmplt 5
         3: .line 287
            aload 1
            monitorexit
         4: iconst_m1
            ireturn
         5: .line 289
      StackMap locals: java.lang.Object
      StackMap stack:
            aload 0 /* this */
            getfield org.jruby.embed.io.ReaderInputStream.bytes:[B
            aload 0 /* this */
            dup
            getfield org.jruby.embed.io.ReaderInputStream.position:I
            dup_x1
            iconst_1
            iadd
            putfield org.jruby.embed.io.ReaderInputStream.position:I
            baload
            aload 1
            monitorexit
         6: ireturn
         7: .line 284
      StackMap locals:
      StackMap stack: java.lang.Throwable
            aload 1
            monitorexit
         8: athrow
        end local 0 // org.jruby.embed.io.ReaderInputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    9     0  this  Lorg/jruby/embed/io/ReaderInputStream;
      Exception table:
        from    to  target  type
           1     4       7  any
           5     6       7  any
           7     8       7  any
    Exceptions:
      throws java.io.IOException

  public int read(byte[]);
    descriptor: ([B)I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=2, args_size=2
        start local 0 // org.jruby.embed.io.ReaderInputStream this
        start local 1 // byte[] b
         0: .line 329
            aload 0 /* this */
            aload 1 /* b */
            iconst_0
            aload 1 /* b */
            arraylength
            invokevirtual org.jruby.embed.io.ReaderInputStream.read:([BII)I
            ireturn
        end local 1 // byte[] b
        end local 0 // org.jruby.embed.io.ReaderInputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/jruby/embed/io/ReaderInputStream;
            0    1     1     b  [B
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      b     

  public int read(byte[], int, int);
    descriptor: ([BII)I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=8, args_size=4
        start local 0 // org.jruby.embed.io.ReaderInputStream this
        start local 1 // byte[] b
        start local 2 // int off
        start local 3 // int len
         0: .line 391
            aload 0 /* this */
            getfield org.jruby.embed.io.ReaderInputStream.lock:Ljava/lang/Object;
            dup
            astore 4
            monitorenter
         1: .line 392
            aload 0 /* this */
            invokevirtual org.jruby.embed.io.ReaderInputStream.confirmOpen:()V
         2: .line 393
            iload 3 /* len */
            ifne 5
         3: .line 394
            aload 4
            monitorexit
         4: iconst_0
            ireturn
         5: .line 396
      StackMap locals: java.lang.Object
      StackMap stack:
            aload 0 /* this */
            getfield org.jruby.embed.io.ReaderInputStream.position:I
            aload 0 /* this */
            getfield org.jruby.embed.io.ReaderInputStream.totalBytes:I
            if_icmplt 8
         6: .line 397
            aload 4
            monitorexit
         7: iconst_m1
            ireturn
         8: .line 399
      StackMap locals:
      StackMap stack:
            iload 2 /* off */
            iflt 9
            iload 2 /* off */
            aload 0 /* this */
            getfield org.jruby.embed.io.ReaderInputStream.totalBytes:I
            if_icmpgt 9
            iload 3 /* len */
            ifge 10
         9: .line 400
      StackMap locals:
      StackMap stack:
            new java.lang.IllegalArgumentException
            dup
            ldc "Either one of, or both of off and len are invalid."
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
        10: .line 402
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.jruby.embed.io.ReaderInputStream.position:I
            iload 2 /* off */
            iadd
            istore 5 /* start */
        start local 5 // int start
        11: .line 403
            iload 5 /* start */
            aload 0 /* this */
            getfield org.jruby.embed.io.ReaderInputStream.totalBytes:I
            if_icmpge 12
            iload 5 /* start */
            goto 13
      StackMap locals: int
      StackMap stack:
        12: aload 0 /* this */
            getfield org.jruby.embed.io.ReaderInputStream.totalBytes:I
            iconst_1
            isub
      StackMap locals:
      StackMap stack: int
        13: istore 5 /* start */
        14: .line 404
            iload 5 /* start */
            iload 3 /* len */
            iadd
            istore 6 /* end */
        start local 6 // int end
        15: .line 405
            iload 6 /* end */
            aload 0 /* this */
            getfield org.jruby.embed.io.ReaderInputStream.totalBytes:I
            if_icmpge 16
            iload 6 /* end */
            goto 17
      StackMap locals: int
      StackMap stack:
        16: aload 0 /* this */
            getfield org.jruby.embed.io.ReaderInputStream.totalBytes:I
            iconst_1
            isub
      StackMap locals:
      StackMap stack: int
        17: istore 6 /* end */
        18: .line 406
            iload 6 /* end */
            iload 5 /* start */
            isub
            iconst_1
            iadd
            iload 3 /* len */
            invokestatic java.lang.Math.min:(II)I
            istore 7 /* actuallyRead */
        start local 7 // int actuallyRead
        19: .line 407
            aload 0 /* this */
            getfield org.jruby.embed.io.ReaderInputStream.bytes:[B
            iload 5 /* start */
            aload 1 /* b */
            iconst_0
            iload 7 /* actuallyRead */
            invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
        20: .line 408
            aload 0 /* this */
            dup
            getfield org.jruby.embed.io.ReaderInputStream.position:I
            iload 7 /* actuallyRead */
            iadd
            putfield org.jruby.embed.io.ReaderInputStream.position:I
        21: .line 409
            iload 7 /* actuallyRead */
            aload 4
            monitorexit
        22: ireturn
        end local 7 // int actuallyRead
        end local 6 // int end
        end local 5 // int start
        23: .line 391
      StackMap locals: org.jruby.embed.io.ReaderInputStream byte[] int int java.lang.Object
      StackMap stack: java.lang.Throwable
            aload 4
            monitorexit
        24: athrow
        end local 3 // int len
        end local 2 // int off
        end local 1 // byte[] b
        end local 0 // org.jruby.embed.io.ReaderInputStream this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0   25     0          this  Lorg/jruby/embed/io/ReaderInputStream;
            0   25     1             b  [B
            0   25     2           off  I
            0   25     3           len  I
           11   23     5         start  I
           15   23     6           end  I
           19   23     7  actuallyRead  I
      Exception table:
        from    to  target  type
           1     4      23  any
           5     7      23  any
           8    22      23  any
          23    24      23  any
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      b     
      off   
      len   

  public synchronized void reset();
    descriptor: ()V
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=3, locals=2, args_size=1
        start local 0 // org.jruby.embed.io.ReaderInputStream this
         0: .line 458
            aload 0 /* this */
            getfield org.jruby.embed.io.ReaderInputStream.lock:Ljava/lang/Object;
            dup
            astore 1
            monitorenter
         1: .line 459
            aload 0 /* this */
            getfield org.jruby.embed.io.ReaderInputStream.isOpen:Z
            ifne 3
         2: .line 460
            new java.io.IOException
            dup
            ldc "This stream has been closed."
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
         3: .line 462
      StackMap locals: java.lang.Object
      StackMap stack:
            aload 0 /* this */
            getfield org.jruby.embed.io.ReaderInputStream.markedIndex:I
            ifge 5
         4: .line 463
            new java.io.IOException
            dup
            ldc "This stream is not marked."
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
         5: .line 465
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.jruby.embed.io.ReaderInputStream.position:I
            aload 0 /* this */
            getfield org.jruby.embed.io.ReaderInputStream.markedIndex:I
            isub
            aload 0 /* this */
            getfield org.jruby.embed.io.ReaderInputStream.readlimit:I
            if_icmple 7
         6: .line 466
            new java.io.IOException
            dup
            ldc "Mark is invalidated."
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
         7: .line 468
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 0 /* this */
            getfield org.jruby.embed.io.ReaderInputStream.markedIndex:I
            putfield org.jruby.embed.io.ReaderInputStream.position:I
         8: .line 458
            aload 1
            monitorexit
         9: goto 12
      StackMap locals:
      StackMap stack: java.lang.Throwable
        10: aload 1
            monitorexit
        11: athrow
        12: .line 470
      StackMap locals:
      StackMap stack:
            return
        end local 0 // org.jruby.embed.io.ReaderInputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   13     0  this  Lorg/jruby/embed/io/ReaderInputStream;
      Exception table:
        from    to  target  type
           1     9      10  any
          10    11      10  any
    Exceptions:
      throws java.io.IOException

  public long skip(long);
    descriptor: (J)J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=6, args_size=2
        start local 0 // org.jruby.embed.io.ReaderInputStream this
        start local 1 // long n
         0: .line 488
            lload 1 /* n */
            lconst_0
            lcmp
            ifge 2
         1: .line 489
            new java.lang.IllegalArgumentException
            dup
            ldc "Negarive skip"
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 491
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.jruby.embed.io.ReaderInputStream.lock:Ljava/lang/Object;
            dup
            astore 3
            monitorenter
         3: .line 492
            aload 0 /* this */
            getfield org.jruby.embed.io.ReaderInputStream.isOpen:Z
            ifne 5
         4: .line 493
            new java.io.IOException
            dup
            ldc "This stream has been closed."
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
         5: .line 496
      StackMap locals: java.lang.Object
      StackMap stack:
            aload 0 /* this */
            getfield org.jruby.embed.io.ReaderInputStream.totalBytes:I
            aload 0 /* this */
            getfield org.jruby.embed.io.ReaderInputStream.position:I
            isub
            i2l
            lload 1 /* n */
            lcmp
            ifge 9
         6: .line 497
            aload 0 /* this */
            getfield org.jruby.embed.io.ReaderInputStream.totalBytes:I
            aload 0 /* this */
            getfield org.jruby.embed.io.ReaderInputStream.position:I
            isub
            i2l
            lstore 4 /* skipped */
        start local 4 // long skipped
         7: .line 498
            aload 0 /* this */
            aload 0 /* this */
            getfield org.jruby.embed.io.ReaderInputStream.totalBytes:I
            putfield org.jruby.embed.io.ReaderInputStream.position:I
         8: .line 499
            goto 11
        end local 4 // long skipped
         9: .line 500
      StackMap locals:
      StackMap stack:
            lload 1 /* n */
            lstore 4 /* skipped */
        start local 4 // long skipped
        10: .line 501
            aload 0 /* this */
            dup
            getfield org.jruby.embed.io.ReaderInputStream.position:I
            i2l
            lload 1 /* n */
            ladd
            l2i
            putfield org.jruby.embed.io.ReaderInputStream.position:I
        11: .line 503
      StackMap locals: long
      StackMap stack:
            lload 4 /* skipped */
            aload 3
            monitorexit
        12: lreturn
        end local 4 // long skipped
        13: .line 491
      StackMap locals: org.jruby.embed.io.ReaderInputStream long java.lang.Object
      StackMap stack: java.lang.Throwable
            aload 3
            monitorexit
        14: athrow
        end local 1 // long n
        end local 0 // org.jruby.embed.io.ReaderInputStream this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   15     0     this  Lorg/jruby/embed/io/ReaderInputStream;
            0   15     1        n  J
            7    9     4  skipped  J
           10   13     4  skipped  J
      Exception table:
        from    to  target  type
           3    12      13  any
          13    14      13  any
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      n     
}
SourceFile: "ReaderInputStream.java"