class jdk.nio.zipfs.ZipFileSystem$EntryInputStream extends java.io.InputStream
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: jdk.nio.zipfs.ZipFileSystem$EntryInputStream
  super_class: java.io.InputStream
{
  private final java.nio.channels.SeekableByteChannel zfch;
    descriptor: Ljava/nio/channels/SeekableByteChannel;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private long pos;
    descriptor: J
    flags: (0x0002) ACC_PRIVATE

  protected long rem;
    descriptor: J
    flags: (0x0004) ACC_PROTECTED

  protected final long size;
    descriptor: J
    flags: (0x0014) ACC_PROTECTED, ACC_FINAL

  final jdk.nio.zipfs.ZipFileSystem this$0;
    descriptor: Ljdk/nio/zipfs/ZipFileSystem;
    flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC

  void <init>(jdk.nio.zipfs.ZipFileSystem, jdk.nio.zipfs.ZipFileSystem$Entry, java.nio.channels.SeekableByteChannel);
    descriptor: (Ljdk/nio/zipfs/ZipFileSystem;Ljdk/nio/zipfs/ZipFileSystem$Entry;Ljava/nio/channels/SeekableByteChannel;)V
    flags: (0x0000) 
    Code:
      stack=5, locals=5, args_size=4
        start local 0 // jdk.nio.zipfs.ZipFileSystem$EntryInputStream this
        start local 2 // jdk.nio.zipfs.ZipFileSystem$Entry e
        start local 3 // java.nio.channels.SeekableByteChannel zfch
         0: .line 1472
            aload 0 /* this */
            aload 1
            putfield jdk.nio.zipfs.ZipFileSystem$EntryInputStream.this$0:Ljdk/nio/zipfs/ZipFileSystem;
         1: .line 1470
            aload 0 /* this */
            invokespecial java.io.InputStream.<init>:()V
         2: .line 1473
            aload 0 /* this */
            aload 3 /* zfch */
            putfield jdk.nio.zipfs.ZipFileSystem$EntryInputStream.zfch:Ljava/nio/channels/SeekableByteChannel;
         3: .line 1474
            aload 0 /* this */
            aload 2 /* e */
            getfield jdk.nio.zipfs.ZipFileSystem$Entry.csize:J
            putfield jdk.nio.zipfs.ZipFileSystem$EntryInputStream.rem:J
         4: .line 1475
            aload 0 /* this */
            aload 2 /* e */
            getfield jdk.nio.zipfs.ZipFileSystem$Entry.size:J
            putfield jdk.nio.zipfs.ZipFileSystem$EntryInputStream.size:J
         5: .line 1476
            aload 0 /* this */
            aload 2 /* e */
            getfield jdk.nio.zipfs.ZipFileSystem$Entry.locoff:J
            putfield jdk.nio.zipfs.ZipFileSystem$EntryInputStream.pos:J
         6: .line 1477
            aload 0 /* this */
            getfield jdk.nio.zipfs.ZipFileSystem$EntryInputStream.pos:J
            ldc -1
            lcmp
            ifne 11
         7: .line 1478
            aload 1
            aload 2 /* e */
            getfield jdk.nio.zipfs.ZipFileSystem$Entry.name:[B
            invokevirtual jdk.nio.zipfs.ZipFileSystem.getEntry:([B)Ljdk/nio/zipfs/ZipFileSystem$Entry;
            astore 4 /* e2 */
        start local 4 // jdk.nio.zipfs.ZipFileSystem$Entry e2
         8: .line 1479
            aload 4 /* e2 */
            ifnonnull 10
         9: .line 1480
            new java.util.zip.ZipException
            dup
            new java.lang.StringBuilder
            dup
            ldc "invalid loc for entry <"
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 2 /* e */
            getfield jdk.nio.zipfs.ZipFileSystem$Entry.name:[B
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            ldc ">"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.util.zip.ZipException.<init>:(Ljava/lang/String;)V
            athrow
        10: .line 1482
      StackMap locals: jdk.nio.zipfs.ZipFileSystem$EntryInputStream jdk.nio.zipfs.ZipFileSystem jdk.nio.zipfs.ZipFileSystem$Entry java.nio.channels.SeekableByteChannel jdk.nio.zipfs.ZipFileSystem$Entry
      StackMap stack:
            aload 0 /* this */
            aload 4 /* e2 */
            getfield jdk.nio.zipfs.ZipFileSystem$Entry.locoff:J
            putfield jdk.nio.zipfs.ZipFileSystem$EntryInputStream.pos:J
        end local 4 // jdk.nio.zipfs.ZipFileSystem$Entry e2
        11: .line 1484
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 0 /* this */
            getfield jdk.nio.zipfs.ZipFileSystem$EntryInputStream.pos:J
            lneg
            putfield jdk.nio.zipfs.ZipFileSystem$EntryInputStream.pos:J
        12: .line 1485
            return
        end local 3 // java.nio.channels.SeekableByteChannel zfch
        end local 2 // jdk.nio.zipfs.ZipFileSystem$Entry e
        end local 0 // jdk.nio.zipfs.ZipFileSystem$EntryInputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   13     0  this  Ljdk/nio/zipfs/ZipFileSystem$EntryInputStream;
            0   13     2     e  Ljdk/nio/zipfs/ZipFileSystem$Entry;
            0   13     3  zfch  Ljava/nio/channels/SeekableByteChannel;
            8   11     4    e2  Ljdk/nio/zipfs/ZipFileSystem$Entry;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
        Name  Flags
      this$0  final
      e       
      zfch    

  public int read(byte[], int, int);
    descriptor: ([BII)I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=8, args_size=4
        start local 0 // jdk.nio.zipfs.ZipFileSystem$EntryInputStream this
        start local 1 // byte[] b
        start local 2 // int off
        start local 3 // int len
         0: .line 1488
            aload 0 /* this */
            getfield jdk.nio.zipfs.ZipFileSystem$EntryInputStream.this$0:Ljdk/nio/zipfs/ZipFileSystem;
            invokevirtual jdk.nio.zipfs.ZipFileSystem.ensureOpen:()V
         1: .line 1489
            aload 0 /* this */
            invokevirtual jdk.nio.zipfs.ZipFileSystem$EntryInputStream.initDataPos:()V
         2: .line 1490
            aload 0 /* this */
            getfield jdk.nio.zipfs.ZipFileSystem$EntryInputStream.rem:J
            lconst_0
            lcmp
            ifne 4
         3: .line 1491
            iconst_m1
            ireturn
         4: .line 1493
      StackMap locals:
      StackMap stack:
            iload 3 /* len */
            ifgt 6
         5: .line 1494
            iconst_0
            ireturn
         6: .line 1496
      StackMap locals:
      StackMap stack:
            iload 3 /* len */
            i2l
            aload 0 /* this */
            getfield jdk.nio.zipfs.ZipFileSystem$EntryInputStream.rem:J
            lcmp
            ifle 8
         7: .line 1497
            aload 0 /* this */
            getfield jdk.nio.zipfs.ZipFileSystem$EntryInputStream.rem:J
            l2i
            istore 3 /* len */
         8: .line 1500
      StackMap locals:
      StackMap stack:
            lconst_0
            lstore 4 /* n */
        start local 4 // long n
         9: .line 1501
            aload 1 /* b */
            invokestatic java.nio.ByteBuffer.wrap:([B)Ljava/nio/ByteBuffer;
            astore 6 /* bb */
        start local 6 // java.nio.ByteBuffer bb
        10: .line 1502
            aload 6 /* bb */
            iload 2 /* off */
            invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/ByteBuffer;
            pop
        11: .line 1503
            aload 6 /* bb */
            iload 2 /* off */
            iload 3 /* len */
            iadd
            invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/ByteBuffer;
            pop
        12: .line 1504
            aload 0 /* this */
            getfield jdk.nio.zipfs.ZipFileSystem$EntryInputStream.zfch:Ljava/nio/channels/SeekableByteChannel;
            dup
            astore 7
            monitorenter
        13: .line 1505
            aload 0 /* this */
            getfield jdk.nio.zipfs.ZipFileSystem$EntryInputStream.zfch:Ljava/nio/channels/SeekableByteChannel;
            aload 0 /* this */
            getfield jdk.nio.zipfs.ZipFileSystem$EntryInputStream.pos:J
            invokeinterface java.nio.channels.SeekableByteChannel.position:(J)Ljava/nio/channels/SeekableByteChannel;
            aload 6 /* bb */
            invokeinterface java.nio.channels.SeekableByteChannel.read:(Ljava/nio/ByteBuffer;)I
            i2l
            lstore 4 /* n */
        14: .line 1504
            aload 7
            monitorexit
        15: goto 18
      StackMap locals: jdk.nio.zipfs.ZipFileSystem$EntryInputStream byte[] int int long java.nio.ByteBuffer java.nio.channels.SeekableByteChannel
      StackMap stack: java.lang.Throwable
        16: aload 7
            monitorexit
        17: athrow
        18: .line 1507
      StackMap locals:
      StackMap stack:
            lload 4 /* n */
            lconst_0
            lcmp
            ifle 21
        19: .line 1508
            aload 0 /* this */
            dup
            getfield jdk.nio.zipfs.ZipFileSystem$EntryInputStream.pos:J
            lload 4 /* n */
            ladd
            putfield jdk.nio.zipfs.ZipFileSystem$EntryInputStream.pos:J
        20: .line 1509
            aload 0 /* this */
            dup
            getfield jdk.nio.zipfs.ZipFileSystem$EntryInputStream.rem:J
            lload 4 /* n */
            lsub
            putfield jdk.nio.zipfs.ZipFileSystem$EntryInputStream.rem:J
        21: .line 1511
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.nio.zipfs.ZipFileSystem$EntryInputStream.rem:J
            lconst_0
            lcmp
            ifne 23
        22: .line 1512
            aload 0 /* this */
            invokevirtual jdk.nio.zipfs.ZipFileSystem$EntryInputStream.close:()V
        23: .line 1514
      StackMap locals:
      StackMap stack:
            lload 4 /* n */
            l2i
            ireturn
        end local 6 // java.nio.ByteBuffer bb
        end local 4 // long n
        end local 3 // int len
        end local 2 // int off
        end local 1 // byte[] b
        end local 0 // jdk.nio.zipfs.ZipFileSystem$EntryInputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   24     0  this  Ljdk/nio/zipfs/ZipFileSystem$EntryInputStream;
            0   24     1     b  [B
            0   24     2   off  I
            0   24     3   len  I
            9   24     4     n  J
           10   24     6    bb  Ljava/nio/ByteBuffer;
      Exception table:
        from    to  target  type
          13    15      16  any
          16    17      16  any
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      b     
      off   
      len   

  public int read();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=2, args_size=1
        start local 0 // jdk.nio.zipfs.ZipFileSystem$EntryInputStream this
         0: .line 1518
            iconst_1
            newarray 8
            astore 1 /* b */
        start local 1 // byte[] b
         1: .line 1519
            aload 0 /* this */
            aload 1 /* b */
            iconst_0
            iconst_1
            invokevirtual jdk.nio.zipfs.ZipFileSystem$EntryInputStream.read:([BII)I
            iconst_1
            if_icmpne 3
         2: .line 1520
            aload 1 /* b */
            iconst_0
            baload
            sipush 255
            iand
            ireturn
         3: .line 1522
      StackMap locals: byte[]
      StackMap stack:
            iconst_m1
            ireturn
        end local 1 // byte[] b
        end local 0 // jdk.nio.zipfs.ZipFileSystem$EntryInputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Ljdk/nio/zipfs/ZipFileSystem$EntryInputStream;
            1    4     1     b  [B
    Exceptions:
      throws java.io.IOException

  public long skip(long);
    descriptor: (J)J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=3, args_size=2
        start local 0 // jdk.nio.zipfs.ZipFileSystem$EntryInputStream this
        start local 1 // long n
         0: .line 1527
            aload 0 /* this */
            getfield jdk.nio.zipfs.ZipFileSystem$EntryInputStream.this$0:Ljdk/nio/zipfs/ZipFileSystem;
            invokevirtual jdk.nio.zipfs.ZipFileSystem.ensureOpen:()V
         1: .line 1528
            lload 1 /* n */
            aload 0 /* this */
            getfield jdk.nio.zipfs.ZipFileSystem$EntryInputStream.rem:J
            lcmp
            ifle 3
         2: .line 1529
            aload 0 /* this */
            getfield jdk.nio.zipfs.ZipFileSystem$EntryInputStream.rem:J
            lstore 1 /* n */
         3: .line 1530
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            dup
            getfield jdk.nio.zipfs.ZipFileSystem$EntryInputStream.pos:J
            lload 1 /* n */
            ladd
            putfield jdk.nio.zipfs.ZipFileSystem$EntryInputStream.pos:J
         4: .line 1531
            aload 0 /* this */
            dup
            getfield jdk.nio.zipfs.ZipFileSystem$EntryInputStream.rem:J
            lload 1 /* n */
            lsub
            putfield jdk.nio.zipfs.ZipFileSystem$EntryInputStream.rem:J
         5: .line 1532
            aload 0 /* this */
            getfield jdk.nio.zipfs.ZipFileSystem$EntryInputStream.rem:J
            lconst_0
            lcmp
            ifne 7
         6: .line 1533
            aload 0 /* this */
            invokevirtual jdk.nio.zipfs.ZipFileSystem$EntryInputStream.close:()V
         7: .line 1535
      StackMap locals:
      StackMap stack:
            lload 1 /* n */
            lreturn
        end local 1 // long n
        end local 0 // jdk.nio.zipfs.ZipFileSystem$EntryInputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    8     0  this  Ljdk/nio/zipfs/ZipFileSystem$EntryInputStream;
            0    8     1     n  J
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      n     

  public int available();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // jdk.nio.zipfs.ZipFileSystem$EntryInputStream this
         0: .line 1539
            aload 0 /* this */
            getfield jdk.nio.zipfs.ZipFileSystem$EntryInputStream.rem:J
            ldc 2147483647
            lcmp
            ifle 1
            ldc 2147483647
            goto 2
      StackMap locals:
      StackMap stack:
         1: aload 0 /* this */
            getfield jdk.nio.zipfs.ZipFileSystem$EntryInputStream.rem:J
            l2i
      StackMap locals:
      StackMap stack: int
         2: ireturn
        end local 0 // jdk.nio.zipfs.ZipFileSystem$EntryInputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljdk/nio/zipfs/ZipFileSystem$EntryInputStream;

  public long size();
    descriptor: ()J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.nio.zipfs.ZipFileSystem$EntryInputStream this
         0: .line 1543
            aload 0 /* this */
            getfield jdk.nio.zipfs.ZipFileSystem$EntryInputStream.size:J
            lreturn
        end local 0 // jdk.nio.zipfs.ZipFileSystem$EntryInputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/nio/zipfs/ZipFileSystem$EntryInputStream;

  public void close();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // jdk.nio.zipfs.ZipFileSystem$EntryInputStream this
         0: .line 1547
            aload 0 /* this */
            lconst_0
            putfield jdk.nio.zipfs.ZipFileSystem$EntryInputStream.rem:J
         1: .line 1548
            aload 0 /* this */
            getfield jdk.nio.zipfs.ZipFileSystem$EntryInputStream.this$0:Ljdk/nio/zipfs/ZipFileSystem;
            getfield jdk.nio.zipfs.ZipFileSystem.streams:Ljava/util/Set;
            aload 0 /* this */
            invokeinterface java.util.Set.remove:(Ljava/lang/Object;)Z
            pop
         2: .line 1549
            return
        end local 0 // jdk.nio.zipfs.ZipFileSystem$EntryInputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljdk/nio/zipfs/ZipFileSystem$EntryInputStream;

  private void initDataPos();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=7, locals=2, args_size=1
        start local 0 // jdk.nio.zipfs.ZipFileSystem$EntryInputStream this
         0: .line 1552
            aload 0 /* this */
            getfield jdk.nio.zipfs.ZipFileSystem$EntryInputStream.pos:J
            lconst_0
            lcmp
            ifgt 6
         1: .line 1553
            aload 0 /* this */
            aload 0 /* this */
            getfield jdk.nio.zipfs.ZipFileSystem$EntryInputStream.pos:J
            lneg
            aload 0 /* this */
            getfield jdk.nio.zipfs.ZipFileSystem$EntryInputStream.this$0:Ljdk/nio/zipfs/ZipFileSystem;
            getfield jdk.nio.zipfs.ZipFileSystem.locpos:J
            ladd
            putfield jdk.nio.zipfs.ZipFileSystem$EntryInputStream.pos:J
         2: .line 1554
            bipush 30
            newarray 8
            astore 1 /* buf */
        start local 1 // byte[] buf
         3: .line 1555
            aload 0 /* this */
            getfield jdk.nio.zipfs.ZipFileSystem$EntryInputStream.this$0:Ljdk/nio/zipfs/ZipFileSystem;
            aload 1 /* buf */
            iconst_0
            aload 1 /* buf */
            arraylength
            i2l
            aload 0 /* this */
            getfield jdk.nio.zipfs.ZipFileSystem$EntryInputStream.pos:J
            invokevirtual jdk.nio.zipfs.ZipFileSystem.readFullyAt:([BIJJ)J
            ldc 30
            lcmp
            ifeq 5
         4: .line 1556
            new java.util.zip.ZipException
            dup
            new java.lang.StringBuilder
            dup
            ldc "invalid loc "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* this */
            getfield jdk.nio.zipfs.ZipFileSystem$EntryInputStream.pos:J
            invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
            ldc " for entry reading"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.util.zip.ZipException.<init>:(Ljava/lang/String;)V
            athrow
         5: .line 1558
      StackMap locals: byte[]
      StackMap stack:
            aload 0 /* this */
            dup
            getfield jdk.nio.zipfs.ZipFileSystem$EntryInputStream.pos:J
            bipush 30
            aload 1 /* buf */
            invokestatic jdk.nio.zipfs.ZipConstants.LOCNAM:([B)I
            iadd
            aload 1 /* buf */
            invokestatic jdk.nio.zipfs.ZipConstants.LOCEXT:([B)I
            iadd
            i2l
            ladd
            putfield jdk.nio.zipfs.ZipFileSystem$EntryInputStream.pos:J
        end local 1 // byte[] buf
         6: .line 1560
      StackMap locals:
      StackMap stack:
            return
        end local 0 // jdk.nio.zipfs.ZipFileSystem$EntryInputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    7     0  this  Ljdk/nio/zipfs/ZipFileSystem$EntryInputStream;
            3    6     1   buf  [B
    Exceptions:
      throws java.io.IOException
}
SourceFile: "ZipFileSystem.java"
NestHost: jdk.nio.zipfs.ZipFileSystem
InnerClasses:
  Entry = jdk.nio.zipfs.ZipFileSystem$Entry of jdk.nio.zipfs.ZipFileSystem
  private EntryInputStream = jdk.nio.zipfs.ZipFileSystem$EntryInputStream of jdk.nio.zipfs.ZipFileSystem