class com.sun.jndi.dns.Tcp
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: com.sun.jndi.dns.Tcp
  super_class: java.lang.Object
{
  private final java.net.Socket sock;
    descriptor: Ljava/net/Socket;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

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

  final java.io.OutputStream out;
    descriptor: Ljava/io/OutputStream;
    flags: (0x0010) ACC_FINAL

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

  void <init>(java.net.InetAddress, int, int);
    descriptor: (Ljava/net/InetAddress;II)V
    flags: (0x0000) 
    Code:
      stack=7, locals=6, args_size=4
        start local 0 // com.sun.jndi.dns.Tcp this
        start local 1 // java.net.InetAddress server
        start local 2 // int port
        start local 3 // int timeout
         0: .line 693
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 694
            aload 0 /* this */
            new java.net.Socket
            dup
            invokespecial java.net.Socket.<init>:()V
            putfield com.sun.jndi.dns.Tcp.sock:Ljava/net/Socket;
         2: .line 696
            invokestatic java.lang.System.currentTimeMillis:()J
            lstore 4 /* start */
        start local 4 // long start
         3: .line 697
            aload 0 /* this */
            getfield com.sun.jndi.dns.Tcp.sock:Ljava/net/Socket;
            new java.net.InetSocketAddress
            dup
            aload 1 /* server */
            iload 2 /* port */
            invokespecial java.net.InetSocketAddress.<init>:(Ljava/net/InetAddress;I)V
            iload 3 /* timeout */
            invokevirtual java.net.Socket.connect:(Ljava/net/SocketAddress;I)V
         4: .line 698
            aload 0 /* this */
            iload 3 /* timeout */
            i2l
            invokestatic java.lang.System.currentTimeMillis:()J
            lload 4 /* start */
            lsub
            lsub
            l2i
            putfield com.sun.jndi.dns.Tcp.timeoutLeft:I
         5: .line 699
            aload 0 /* this */
            getfield com.sun.jndi.dns.Tcp.timeoutLeft:I
            ifgt 7
         6: .line 700
            new java.net.SocketTimeoutException
            dup
            invokespecial java.net.SocketTimeoutException.<init>:()V
            athrow
         7: .line 702
      StackMap locals: com.sun.jndi.dns.Tcp java.net.InetAddress int int long
      StackMap stack:
            aload 0 /* this */
            getfield com.sun.jndi.dns.Tcp.sock:Ljava/net/Socket;
            iconst_1
            invokevirtual java.net.Socket.setTcpNoDelay:(Z)V
         8: .line 703
            aload 0 /* this */
            new java.io.BufferedOutputStream
            dup
            aload 0 /* this */
            getfield com.sun.jndi.dns.Tcp.sock:Ljava/net/Socket;
            invokevirtual java.net.Socket.getOutputStream:()Ljava/io/OutputStream;
            invokespecial java.io.BufferedOutputStream.<init>:(Ljava/io/OutputStream;)V
            putfield com.sun.jndi.dns.Tcp.out:Ljava/io/OutputStream;
         9: .line 704
            aload 0 /* this */
            new java.io.BufferedInputStream
            dup
            aload 0 /* this */
            getfield com.sun.jndi.dns.Tcp.sock:Ljava/net/Socket;
            invokevirtual java.net.Socket.getInputStream:()Ljava/io/InputStream;
            invokespecial java.io.BufferedInputStream.<init>:(Ljava/io/InputStream;)V
            putfield com.sun.jndi.dns.Tcp.in:Ljava/io/InputStream;
        end local 4 // long start
        10: .line 705
            goto 17
      StackMap locals: com.sun.jndi.dns.Tcp java.net.InetAddress int int
      StackMap stack: java.lang.Exception
        11: astore 4 /* e */
        start local 4 // java.lang.Exception e
        12: .line 707
            aload 0 /* this */
            getfield com.sun.jndi.dns.Tcp.sock:Ljava/net/Socket;
            invokevirtual java.net.Socket.close:()V
        13: .line 708
            goto 16
      StackMap locals: com.sun.jndi.dns.Tcp java.net.InetAddress int int java.lang.Exception
      StackMap stack: java.io.IOException
        14: astore 5 /* ex */
        start local 5 // java.io.IOException ex
        15: .line 709
            aload 4 /* e */
            aload 5 /* ex */
            invokevirtual java.lang.Exception.addSuppressed:(Ljava/lang/Throwable;)V
        end local 5 // java.io.IOException ex
        16: .line 711
      StackMap locals:
      StackMap stack:
            aload 4 /* e */
            athrow
        end local 4 // java.lang.Exception e
        17: .line 713
      StackMap locals:
      StackMap stack:
            return
        end local 3 // int timeout
        end local 2 // int port
        end local 1 // java.net.InetAddress server
        end local 0 // com.sun.jndi.dns.Tcp this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   18     0     this  Lcom/sun/jndi/dns/Tcp;
            0   18     1   server  Ljava/net/InetAddress;
            0   18     2     port  I
            0   18     3  timeout  I
            3   10     4    start  J
           12   17     4        e  Ljava/lang/Exception;
           15   16     5       ex  Ljava/io/IOException;
      Exception table:
        from    to  target  type
           2    10      11  Class java.lang.Exception
          12    13      14  Class java.io.IOException
    Exceptions:
      throws java.io.IOException
    MethodParameters:
         Name  Flags
      server   
      port     
      timeout  

  void close();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.sun.jndi.dns.Tcp this
         0: .line 716
            aload 0 /* this */
            getfield com.sun.jndi.dns.Tcp.sock:Ljava/net/Socket;
            invokevirtual java.net.Socket.close:()V
         1: .line 717
            return
        end local 0 // com.sun.jndi.dns.Tcp this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lcom/sun/jndi/dns/Tcp;
    Exceptions:
      throws java.io.IOException

  private int readWithTimeout(com.sun.jndi.dns.Tcp$SocketReadOp);
    descriptor: (Lcom/sun/jndi/dns/Tcp$SocketReadOp;)I
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=7, locals=6, args_size=2
        start local 0 // com.sun.jndi.dns.Tcp this
        start local 1 // com.sun.jndi.dns.Tcp$SocketReadOp reader
         0: .line 724
            aload 0 /* this */
            getfield com.sun.jndi.dns.Tcp.timeoutLeft:I
            ifgt 2
         1: .line 725
            new java.net.SocketTimeoutException
            dup
            invokespecial java.net.SocketTimeoutException.<init>:()V
            athrow
         2: .line 727
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.sun.jndi.dns.Tcp.sock:Ljava/net/Socket;
            aload 0 /* this */
            getfield com.sun.jndi.dns.Tcp.timeoutLeft:I
            invokevirtual java.net.Socket.setSoTimeout:(I)V
         3: .line 728
            invokestatic java.lang.System.currentTimeMillis:()J
            lstore 2 /* start */
        start local 2 // long start
         4: .line 730
            aload 1 /* reader */
            invokeinterface com.sun.jndi.dns.Tcp$SocketReadOp.read:()I
            istore 5
         5: .line 733
            aload 0 /* this */
            dup
            getfield com.sun.jndi.dns.Tcp.timeoutLeft:I
            i2l
            invokestatic java.lang.System.currentTimeMillis:()J
            lload 2 /* start */
            lsub
            lsub
            l2i
            putfield com.sun.jndi.dns.Tcp.timeoutLeft:I
         6: .line 730
            iload 5
            ireturn
         7: .line 732
      StackMap locals: com.sun.jndi.dns.Tcp com.sun.jndi.dns.Tcp$SocketReadOp long
      StackMap stack: java.lang.Throwable
            astore 4
         8: .line 733
            aload 0 /* this */
            dup
            getfield com.sun.jndi.dns.Tcp.timeoutLeft:I
            i2l
            invokestatic java.lang.System.currentTimeMillis:()J
            lload 2 /* start */
            lsub
            lsub
            l2i
            putfield com.sun.jndi.dns.Tcp.timeoutLeft:I
         9: .line 734
            aload 4
            athrow
        end local 2 // long start
        end local 1 // com.sun.jndi.dns.Tcp$SocketReadOp reader
        end local 0 // com.sun.jndi.dns.Tcp this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   10     0    this  Lcom/sun/jndi/dns/Tcp;
            0   10     1  reader  Lcom/sun/jndi/dns/Tcp$SocketReadOp;
            4   10     2   start  J
      Exception table:
        from    to  target  type
           4     5       7  any
    Exceptions:
      throws java.io.IOException
    MethodParameters:
        Name  Flags
      reader  

  int read();
    descriptor: ()I
    flags: (0x0000) 
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // com.sun.jndi.dns.Tcp this
         0: .line 738
            aload 0 /* this */
            aload 0 /* this */
            invokedynamic read(Lcom/sun/jndi/dns/Tcp;)Lcom/sun/jndi/dns/Tcp$SocketReadOp;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  ()I
                  com/sun/jndi/dns/Tcp.lambda$0()I (7)
                  ()I
            invokevirtual com.sun.jndi.dns.Tcp.readWithTimeout:(Lcom/sun/jndi/dns/Tcp$SocketReadOp;)I
            ireturn
        end local 0 // com.sun.jndi.dns.Tcp this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/sun/jndi/dns/Tcp;
    Exceptions:
      throws java.io.IOException

  int read(byte[], int, int);
    descriptor: ([BII)I
    flags: (0x0000) 
    Code:
      stack=5, locals=4, args_size=4
        start local 0 // com.sun.jndi.dns.Tcp this
        start local 1 // byte[] b
        start local 2 // int off
        start local 3 // int len
         0: .line 742
            aload 0 /* this */
            aload 0 /* this */
            aload 1 /* b */
            iload 2 /* off */
            iload 3 /* len */
            invokedynamic read(Lcom/sun/jndi/dns/Tcp;[BII)Lcom/sun/jndi/dns/Tcp$SocketReadOp;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  ()I
                  com/sun/jndi/dns/Tcp.lambda$1([BII)I (7)
                  ()I
            invokevirtual com.sun.jndi.dns.Tcp.readWithTimeout:(Lcom/sun/jndi/dns/Tcp$SocketReadOp;)I
            ireturn
        end local 3 // int len
        end local 2 // int off
        end local 1 // byte[] b
        end local 0 // com.sun.jndi.dns.Tcp this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/sun/jndi/dns/Tcp;
            0    1     1     b  [B
            0    1     2   off  I
            0    1     3   len  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      b     
      off   
      len   

  private int lambda$0();
    descriptor: ()I
    flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.sun.jndi.dns.Tcp this
         0: .line 738
            aload 0 /* this */
            getfield com.sun.jndi.dns.Tcp.in:Ljava/io/InputStream;
            invokevirtual java.io.InputStream.read:()I
            ireturn
        end local 0 // com.sun.jndi.dns.Tcp this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/sun/jndi/dns/Tcp;
    Exceptions:
      throws java.io.IOException

  private int lambda$1(byte[], int, int);
    descriptor: ([BII)I
    flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
    Code:
      stack=4, locals=4, args_size=4
        start local 0 // com.sun.jndi.dns.Tcp this
         0: .line 742
            aload 0 /* this */
            getfield com.sun.jndi.dns.Tcp.in:Ljava/io/InputStream;
            aload 1
            iload 2
            iload 3
            invokevirtual java.io.InputStream.read:([BII)I
            ireturn
        end local 0 // com.sun.jndi.dns.Tcp this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/sun/jndi/dns/Tcp;
    Exceptions:
      throws java.io.IOException
}
SourceFile: "DnsClient.java"
NestMembers:
  com.sun.jndi.dns.Tcp$SocketReadOp
InnerClasses:
  private abstract SocketReadOp = com.sun.jndi.dns.Tcp$SocketReadOp of com.sun.jndi.dns.Tcp
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles