public class jdk.internal.jline.internal.NonBlockingInputStream extends java.io.InputStream implements java.lang.Runnable
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: jdk.internal.jline.internal.NonBlockingInputStream
  super_class: java.io.InputStream
{
  private java.io.InputStream in;
    descriptor: Ljava/io/InputStream;
    flags: (0x0002) ACC_PRIVATE

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

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

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

  private java.io.IOException exception;
    descriptor: Ljava/io/IOException;
    flags: (0x0002) ACC_PRIVATE

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

  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: .line 30
            ldc Ljdk/internal/jline/internal/NonBlockingInputStream;
            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 jdk.internal.jline.internal.NonBlockingInputStream.$assertionsDisabled:Z
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public void <init>(java.io.InputStream, boolean);
    descriptor: (Ljava/io/InputStream;Z)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=4, args_size=3
        start local 0 // jdk.internal.jline.internal.NonBlockingInputStream this
        start local 1 // java.io.InputStream in
        start local 2 // boolean isNonBlockingEnabled
         0: .line 54
            aload 0 /* this */
            invokespecial java.io.InputStream.<init>:()V
         1: .line 35
            aload 0 /* this */
            bipush -2
            putfield jdk.internal.jline.internal.NonBlockingInputStream.ch:I
         2: .line 37
            aload 0 /* this */
            iconst_0
            putfield jdk.internal.jline.internal.NonBlockingInputStream.threadIsReading:Z
         3: .line 38
            aload 0 /* this */
            iconst_0
            putfield jdk.internal.jline.internal.NonBlockingInputStream.isShutdown:Z
         4: .line 39
            aload 0 /* this */
            aconst_null
            putfield jdk.internal.jline.internal.NonBlockingInputStream.exception:Ljava/io/IOException;
         5: .line 55
            aload 0 /* this */
            aload 1 /* in */
            putfield jdk.internal.jline.internal.NonBlockingInputStream.in:Ljava/io/InputStream;
         6: .line 56
            aload 0 /* this */
            iload 2 /* isNonBlockingEnabled */
            putfield jdk.internal.jline.internal.NonBlockingInputStream.nonBlockingEnabled:Z
         7: .line 58
            iload 2 /* isNonBlockingEnabled */
            ifeq 12
         8: .line 59
            new java.lang.Thread
            dup
            aload 0 /* this */
            invokespecial java.lang.Thread.<init>:(Ljava/lang/Runnable;)V
            astore 3 /* t */
        start local 3 // java.lang.Thread t
         9: .line 60
            aload 3 /* t */
            ldc "NonBlockingInputStreamThread"
            invokevirtual java.lang.Thread.setName:(Ljava/lang/String;)V
        10: .line 61
            aload 3 /* t */
            iconst_1
            invokevirtual java.lang.Thread.setDaemon:(Z)V
        11: .line 62
            aload 3 /* t */
            invokevirtual java.lang.Thread.start:()V
        end local 3 // java.lang.Thread t
        12: .line 64
      StackMap locals: jdk.internal.jline.internal.NonBlockingInputStream java.io.InputStream int
      StackMap stack:
            return
        end local 2 // boolean isNonBlockingEnabled
        end local 1 // java.io.InputStream in
        end local 0 // jdk.internal.jline.internal.NonBlockingInputStream this
      LocalVariableTable:
        Start  End  Slot                  Name  Signature
            0   13     0                  this  Ljdk/internal/jline/internal/NonBlockingInputStream;
            0   13     1                    in  Ljava/io/InputStream;
            0   13     2  isNonBlockingEnabled  Z
            9   12     3                     t  Ljava/lang/Thread;
    MethodParameters:
                      Name  Flags
      in                    
      isNonBlockingEnabled  

  public synchronized void shutdown();
    descriptor: ()V
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.internal.jline.internal.NonBlockingInputStream this
         0: .line 75
            aload 0 /* this */
            getfield jdk.internal.jline.internal.NonBlockingInputStream.isShutdown:Z
            ifne 3
            aload 0 /* this */
            getfield jdk.internal.jline.internal.NonBlockingInputStream.nonBlockingEnabled:Z
            ifeq 3
         1: .line 76
            aload 0 /* this */
            iconst_1
            putfield jdk.internal.jline.internal.NonBlockingInputStream.isShutdown:Z
         2: .line 77
            aload 0 /* this */
            invokevirtual java.lang.Object.notify:()V
         3: .line 79
      StackMap locals:
      StackMap stack:
            return
        end local 0 // jdk.internal.jline.internal.NonBlockingInputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Ljdk/internal/jline/internal/NonBlockingInputStream;

  public boolean isNonBlockingEnabled();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.internal.jline.internal.NonBlockingInputStream this
         0: .line 87
            aload 0 /* this */
            getfield jdk.internal.jline.internal.NonBlockingInputStream.nonBlockingEnabled:Z
            ifeq 1
            aload 0 /* this */
            getfield jdk.internal.jline.internal.NonBlockingInputStream.isShutdown:Z
            ifne 1
            iconst_1
            ireturn
      StackMap locals:
      StackMap stack:
         1: iconst_0
            ireturn
        end local 0 // jdk.internal.jline.internal.NonBlockingInputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljdk/internal/jline/internal/NonBlockingInputStream;

  public void close();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.internal.jline.internal.NonBlockingInputStream this
         0: .line 96
            aload 0 /* this */
            getfield jdk.internal.jline.internal.NonBlockingInputStream.in:Ljava/io/InputStream;
            invokevirtual java.io.InputStream.close:()V
         1: .line 97
            aload 0 /* this */
            invokevirtual jdk.internal.jline.internal.NonBlockingInputStream.shutdown:()V
         2: .line 98
            return
        end local 0 // jdk.internal.jline.internal.NonBlockingInputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljdk/internal/jline/internal/NonBlockingInputStream;
    Exceptions:
      throws java.io.IOException

  public int read();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // jdk.internal.jline.internal.NonBlockingInputStream this
         0: .line 102
            aload 0 /* this */
            getfield jdk.internal.jline.internal.NonBlockingInputStream.nonBlockingEnabled:Z
            ifeq 2
         1: .line 103
            aload 0 /* this */
            lconst_0
            iconst_0
            invokevirtual jdk.internal.jline.internal.NonBlockingInputStream.read:(JZ)I
            ireturn
         2: .line 104
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.jline.internal.NonBlockingInputStream.in:Ljava/io/InputStream;
            invokevirtual java.io.InputStream.read:()I
            ireturn
        end local 0 // jdk.internal.jline.internal.NonBlockingInputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljdk/internal/jline/internal/NonBlockingInputStream;
    Exceptions:
      throws java.io.IOException

  public int peek(long);
    descriptor: (J)I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=3, args_size=2
        start local 0 // jdk.internal.jline.internal.NonBlockingInputStream this
        start local 1 // long timeout
         0: .line 117
            aload 0 /* this */
            getfield jdk.internal.jline.internal.NonBlockingInputStream.nonBlockingEnabled:Z
            ifeq 1
            aload 0 /* this */
            getfield jdk.internal.jline.internal.NonBlockingInputStream.isShutdown:Z
            ifeq 2
         1: .line 118
      StackMap locals:
      StackMap stack:
            new java.lang.UnsupportedOperationException
            dup
            ldc "peek() cannot be called as non-blocking operation is disabled"
            invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 121
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            lload 1 /* timeout */
            iconst_1
            invokevirtual jdk.internal.jline.internal.NonBlockingInputStream.read:(JZ)I
            ireturn
        end local 1 // long timeout
        end local 0 // jdk.internal.jline.internal.NonBlockingInputStream this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    3     0     this  Ljdk/internal/jline/internal/NonBlockingInputStream;
            0    3     1  timeout  J
    Exceptions:
      throws java.io.IOException
    MethodParameters:
         Name  Flags
      timeout  

  public int read(long);
    descriptor: (J)I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=3, args_size=2
        start local 0 // jdk.internal.jline.internal.NonBlockingInputStream this
        start local 1 // long timeout
         0: .line 133
            aload 0 /* this */
            getfield jdk.internal.jline.internal.NonBlockingInputStream.nonBlockingEnabled:Z
            ifeq 1
            aload 0 /* this */
            getfield jdk.internal.jline.internal.NonBlockingInputStream.isShutdown:Z
            ifeq 2
         1: .line 134
      StackMap locals:
      StackMap stack:
            new java.lang.UnsupportedOperationException
            dup
            ldc "read() with timeout cannot be called as non-blocking operation is disabled"
            invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 137
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            lload 1 /* timeout */
            iconst_0
            invokevirtual jdk.internal.jline.internal.NonBlockingInputStream.read:(JZ)I
            ireturn
        end local 1 // long timeout
        end local 0 // jdk.internal.jline.internal.NonBlockingInputStream this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    3     0     this  Ljdk/internal/jline/internal/NonBlockingInputStream;
            0    3     1  timeout  J
    Exceptions:
      throws java.io.IOException
    MethodParameters:
         Name  Flags
      timeout  

  private synchronized int read(long, boolean);
    descriptor: (JZ)I
    flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
    Code:
      stack=6, locals=8, args_size=3
        start local 0 // jdk.internal.jline.internal.NonBlockingInputStream this
        start local 1 // long timeout
        start local 3 // boolean isPeek
         0: .line 152
            aload 0 /* this */
            getfield jdk.internal.jline.internal.NonBlockingInputStream.exception:Ljava/io/IOException;
            ifnull 6
         1: .line 153
            getstatic jdk.internal.jline.internal.NonBlockingInputStream.$assertionsDisabled:Z
            ifne 2
            aload 0 /* this */
            getfield jdk.internal.jline.internal.NonBlockingInputStream.ch:I
            bipush -2
            if_icmpeq 2
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         2: .line 154
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.jline.internal.NonBlockingInputStream.exception:Ljava/io/IOException;
            astore 4 /* toBeThrown */
        start local 4 // java.io.IOException toBeThrown
         3: .line 155
            iload 3 /* isPeek */
            ifne 5
         4: .line 156
            aload 0 /* this */
            aconst_null
            putfield jdk.internal.jline.internal.NonBlockingInputStream.exception:Ljava/io/IOException;
         5: .line 157
      StackMap locals: java.io.IOException
      StackMap stack:
            aload 4 /* toBeThrown */
            athrow
        end local 4 // java.io.IOException toBeThrown
         6: .line 165
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.jline.internal.NonBlockingInputStream.ch:I
            iconst_m1
            if_icmplt 8
         7: .line 166
            getstatic jdk.internal.jline.internal.NonBlockingInputStream.$assertionsDisabled:Z
            ifne 34
            aload 0 /* this */
            getfield jdk.internal.jline.internal.NonBlockingInputStream.exception:Ljava/io/IOException;
            ifnull 34
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         8: .line 168
      StackMap locals:
      StackMap stack:
            lload 1 /* timeout */
            lconst_0
            lcmp
            ifeq 9
            aload 0 /* this */
            getfield jdk.internal.jline.internal.NonBlockingInputStream.isShutdown:Z
            ifeq 12
      StackMap locals:
      StackMap stack:
         9: aload 0 /* this */
            getfield jdk.internal.jline.internal.NonBlockingInputStream.threadIsReading:Z
            ifne 12
        10: .line 169
            aload 0 /* this */
            aload 0 /* this */
            getfield jdk.internal.jline.internal.NonBlockingInputStream.in:Ljava/io/InputStream;
            invokevirtual java.io.InputStream.read:()I
            putfield jdk.internal.jline.internal.NonBlockingInputStream.ch:I
        11: .line 170
            goto 34
        12: .line 175
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.jline.internal.NonBlockingInputStream.threadIsReading:Z
            ifne 15
        13: .line 176
            aload 0 /* this */
            iconst_1
            putfield jdk.internal.jline.internal.NonBlockingInputStream.threadIsReading:Z
        14: .line 177
            aload 0 /* this */
            invokevirtual java.lang.Object.notify:()V
        15: .line 180
      StackMap locals:
      StackMap stack:
            lload 1 /* timeout */
            lconst_0
            lcmp
            ifgt 16
            iconst_1
            goto 17
      StackMap locals:
      StackMap stack:
        16: iconst_0
      StackMap locals:
      StackMap stack: int
        17: istore 4 /* isInfinite */
        start local 4 // boolean isInfinite
        18: .line 186
            goto 33
        19: .line 187
      StackMap locals: int
      StackMap stack:
            invokestatic java.lang.System.currentTimeMillis:()J
            lstore 5 /* start */
        start local 5 // long start
        20: .line 190
            aload 0 /* this */
            lload 1 /* timeout */
            invokevirtual java.lang.Object.wait:(J)V
        21: .line 191
            goto 23
        22: .line 192
      StackMap locals: jdk.internal.jline.internal.NonBlockingInputStream long int int long
      StackMap stack: java.lang.InterruptedException
            pop
        23: .line 196
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.jline.internal.NonBlockingInputStream.exception:Ljava/io/IOException;
            ifnull 29
        24: .line 197
            getstatic jdk.internal.jline.internal.NonBlockingInputStream.$assertionsDisabled:Z
            ifne 25
            aload 0 /* this */
            getfield jdk.internal.jline.internal.NonBlockingInputStream.ch:I
            bipush -2
            if_icmpeq 25
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
        25: .line 199
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.jline.internal.NonBlockingInputStream.exception:Ljava/io/IOException;
            astore 7 /* toBeThrown */
        start local 7 // java.io.IOException toBeThrown
        26: .line 200
            iload 3 /* isPeek */
            ifne 28
        27: .line 201
            aload 0 /* this */
            aconst_null
            putfield jdk.internal.jline.internal.NonBlockingInputStream.exception:Ljava/io/IOException;
        28: .line 202
      StackMap locals: java.io.IOException
      StackMap stack:
            aload 7 /* toBeThrown */
            athrow
        end local 7 // java.io.IOException toBeThrown
        29: .line 205
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.jline.internal.NonBlockingInputStream.ch:I
            iconst_m1
            if_icmplt 31
        30: .line 206
            getstatic jdk.internal.jline.internal.NonBlockingInputStream.$assertionsDisabled:Z
            ifne 34
            aload 0 /* this */
            getfield jdk.internal.jline.internal.NonBlockingInputStream.exception:Ljava/io/IOException;
            ifnull 34
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
        31: .line 210
      StackMap locals:
      StackMap stack:
            iload 4 /* isInfinite */
            ifne 33
        32: .line 211
            lload 1 /* timeout */
            invokestatic java.lang.System.currentTimeMillis:()J
            lload 5 /* start */
            lsub
            lsub
            lstore 1 /* timeout */
        end local 5 // long start
        33: .line 186
      StackMap locals:
      StackMap stack:
            iload 4 /* isInfinite */
            ifne 19
            lload 1 /* timeout */
            lconst_0
            lcmp
            ifgt 19
        end local 4 // boolean isInfinite
        34: .line 222
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.jline.internal.NonBlockingInputStream.ch:I
            istore 4 /* ret */
        start local 4 // int ret
        35: .line 223
            iload 3 /* isPeek */
            ifne 37
        36: .line 224
            aload 0 /* this */
            bipush -2
            putfield jdk.internal.jline.internal.NonBlockingInputStream.ch:I
        37: .line 226
      StackMap locals: int
      StackMap stack:
            iload 4 /* ret */
            ireturn
        end local 4 // int ret
        end local 3 // boolean isPeek
        end local 1 // long timeout
        end local 0 // jdk.internal.jline.internal.NonBlockingInputStream this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   38     0        this  Ljdk/internal/jline/internal/NonBlockingInputStream;
            0   38     1     timeout  J
            0   38     3      isPeek  Z
            3    6     4  toBeThrown  Ljava/io/IOException;
           18   34     4  isInfinite  Z
           20   33     5       start  J
           26   29     7  toBeThrown  Ljava/io/IOException;
           35   38     4         ret  I
      Exception table:
        from    to  target  type
          20    21      22  Class java.lang.InterruptedException
    Exceptions:
      throws java.io.IOException
    MethodParameters:
         Name  Flags
      timeout  
      isPeek   

  public int read(byte[], int, int);
    descriptor: ([BII)I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=5, args_size=4
        start local 0 // jdk.internal.jline.internal.NonBlockingInputStream this
        start local 1 // byte[] b
        start local 2 // int off
        start local 3 // int len
         0: .line 236
            aload 1 /* b */
            ifnonnull 2
         1: .line 237
            new java.lang.NullPointerException
            dup
            invokespecial java.lang.NullPointerException.<init>:()V
            athrow
         2: .line 238
      StackMap locals:
      StackMap stack:
            iload 2 /* off */
            iflt 3
            iload 3 /* len */
            iflt 3
            iload 3 /* len */
            aload 1 /* b */
            arraylength
            iload 2 /* off */
            isub
            if_icmple 4
         3: .line 239
      StackMap locals:
      StackMap stack:
            new java.lang.IndexOutOfBoundsException
            dup
            invokespecial java.lang.IndexOutOfBoundsException.<init>:()V
            athrow
         4: .line 240
      StackMap locals:
      StackMap stack:
            iload 3 /* len */
            ifne 6
         5: .line 241
            iconst_0
            ireturn
         6: .line 245
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.jline.internal.NonBlockingInputStream.nonBlockingEnabled:Z
            ifeq 9
         7: .line 246
            aload 0 /* this */
            lconst_0
            invokevirtual jdk.internal.jline.internal.NonBlockingInputStream.read:(J)I
            istore 4 /* c */
        start local 4 // int c
         8: goto 10
        end local 4 // int c
         9: .line 248
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.jline.internal.NonBlockingInputStream.in:Ljava/io/InputStream;
            invokevirtual java.io.InputStream.read:()I
            istore 4 /* c */
        start local 4 // int c
        10: .line 250
      StackMap locals: int
      StackMap stack:
            iload 4 /* c */
            iconst_m1
            if_icmpne 12
        11: .line 251
            iconst_m1
            ireturn
        12: .line 253
      StackMap locals:
      StackMap stack:
            aload 1 /* b */
            iload 2 /* off */
            iload 4 /* c */
            i2b
            bastore
        13: .line 254
            iconst_1
            ireturn
        end local 4 // int c
        end local 3 // int len
        end local 2 // int off
        end local 1 // byte[] b
        end local 0 // jdk.internal.jline.internal.NonBlockingInputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   14     0  this  Ljdk/internal/jline/internal/NonBlockingInputStream;
            0   14     1     b  [B
            0   14     2   off  I
            0   14     3   len  I
            8    9     4     c  I
           10   14     4     c  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      b     
      off   
      len   

  public void run();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=6, args_size=1
        start local 0 // jdk.internal.jline.internal.NonBlockingInputStream this
         0: .line 313
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
         1: .line 259
            ldc "NonBlockingInputStream start"
            aastore
            invokestatic jdk.internal.jline.internal.Log.debug:([Ljava/lang/Object;)V
         2: .line 260
            iconst_0
            istore 1 /* needToShutdown */
        start local 1 // boolean needToShutdown
         3: .line 261
            iconst_0
            istore 2 /* needToRead */
        start local 2 // boolean needToRead
         4: .line 263
            goto 32
         5: .line 269
      StackMap locals: int int
      StackMap stack:
            aload 0 /* this */
            dup
            astore 3
            monitorenter
         6: .line 270
            aload 0 /* this */
            getfield jdk.internal.jline.internal.NonBlockingInputStream.isShutdown:Z
            istore 1 /* needToShutdown */
         7: .line 271
            aload 0 /* this */
            getfield jdk.internal.jline.internal.NonBlockingInputStream.threadIsReading:Z
            istore 2 /* needToRead */
         8: .line 277
            iload 1 /* needToShutdown */
            ifne 12
            iload 2 /* needToRead */
            ifne 12
         9: .line 278
            aload 0 /* this */
            lconst_0
            invokevirtual java.lang.Object.wait:(J)V
        10: .line 280
            goto 12
        11: .line 281
      StackMap locals: jdk.internal.jline.internal.NonBlockingInputStream int int jdk.internal.jline.internal.NonBlockingInputStream
      StackMap stack: java.lang.InterruptedException
            pop
        12: .line 269
      StackMap locals:
      StackMap stack:
            aload 3
            monitorexit
        13: goto 16
      StackMap locals:
      StackMap stack: java.lang.Throwable
        14: aload 3
            monitorexit
        15: athrow
        16: .line 290
      StackMap locals:
      StackMap stack:
            iload 1 /* needToShutdown */
            ifne 32
            iload 2 /* needToRead */
            ifeq 32
        17: .line 291
            bipush -2
            istore 3 /* charRead */
        start local 3 // int charRead
        18: .line 292
            aconst_null
            astore 4 /* failure */
        start local 4 // java.io.IOException failure
        19: .line 294
            aload 0 /* this */
            getfield jdk.internal.jline.internal.NonBlockingInputStream.in:Ljava/io/InputStream;
            invokevirtual java.io.InputStream.read:()I
            istore 3 /* charRead */
        20: .line 295
            goto 23
        21: .line 296
      StackMap locals: jdk.internal.jline.internal.NonBlockingInputStream int int int java.io.IOException
      StackMap stack: java.io.IOException
            astore 5 /* e */
        start local 5 // java.io.IOException e
        22: .line 297
            aload 5 /* e */
            astore 4 /* failure */
        end local 5 // java.io.IOException e
        23: .line 303
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            dup
            astore 5
            monitorenter
        24: .line 304
            aload 0 /* this */
            aload 4 /* failure */
            putfield jdk.internal.jline.internal.NonBlockingInputStream.exception:Ljava/io/IOException;
        25: .line 305
            aload 0 /* this */
            iload 3 /* charRead */
            putfield jdk.internal.jline.internal.NonBlockingInputStream.ch:I
        26: .line 306
            aload 0 /* this */
            iconst_0
            putfield jdk.internal.jline.internal.NonBlockingInputStream.threadIsReading:Z
        27: .line 307
            aload 0 /* this */
            invokevirtual java.lang.Object.notify:()V
        28: .line 303
            aload 5
            monitorexit
        29: goto 32
      StackMap locals: jdk.internal.jline.internal.NonBlockingInputStream int int int java.io.IOException jdk.internal.jline.internal.NonBlockingInputStream
      StackMap stack: java.lang.Throwable
        30: aload 5
            monitorexit
        31: athrow
        end local 4 // java.io.IOException failure
        end local 3 // int charRead
        32: .line 263
      StackMap locals:
      StackMap stack:
            iload 1 /* needToShutdown */
            ifeq 5
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
        33: .line 312
            ldc "NonBlockingInputStream shutdown"
            aastore
            invokestatic jdk.internal.jline.internal.Log.debug:([Ljava/lang/Object;)V
            return
        end local 2 // boolean needToRead
        end local 1 // boolean needToShutdown
        end local 0 // jdk.internal.jline.internal.NonBlockingInputStream this
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0   34     0            this  Ljdk/internal/jline/internal/NonBlockingInputStream;
            3   34     1  needToShutdown  Z
            4   34     2      needToRead  Z
           18   32     3        charRead  I
           19   32     4         failure  Ljava/io/IOException;
           22   23     5               e  Ljava/io/IOException;
      Exception table:
        from    to  target  type
           8    10      11  Class java.lang.InterruptedException
           6    13      14  any
          14    15      14  any
          19    20      21  Class java.io.IOException
          24    29      30  any
          30    31      30  any
}
SourceFile: "NonBlockingInputStream.java"