class jdk.incubator.http.SSLDelegate
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: jdk.incubator.http.SSLDelegate
  super_class: java.lang.Object
{
  final javax.net.ssl.SSLEngine engine;
    descriptor: Ljavax/net/ssl/SSLEngine;
    flags: (0x0010) ACC_FINAL

  final jdk.incubator.http.SSLDelegate$EngineWrapper wrapper;
    descriptor: Ljdk/incubator/http/SSLDelegate$EngineWrapper;
    flags: (0x0010) ACC_FINAL

  final java.util.concurrent.locks.Lock handshaking;
    descriptor: Ljava/util/concurrent/locks/Lock;
    flags: (0x0010) ACC_FINAL

  final java.nio.channels.SocketChannel chan;
    descriptor: Ljava/nio/channels/SocketChannel;
    flags: (0x0010) ACC_FINAL

  int app_buf_size;
    descriptor: I
    flags: (0x0000) 

  int packet_buf_size;
    descriptor: I
    flags: (0x0000) 

  static final boolean $assertionsDisabled;
    descriptor: Z
    flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC

  private static volatile int[] $SWITCH_TABLE$javax$net$ssl$SSLEngineResult$HandshakeStatus;
    descriptor: [I
    flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 47
            ldc Ljdk/incubator/http/SSLDelegate;
            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.incubator.http.SSLDelegate.$assertionsDisabled:Z
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  void <init>(javax.net.ssl.SSLEngine, java.nio.channels.SocketChannel);
    descriptor: (Ljavax/net/ssl/SSLEngine;Ljava/nio/channels/SocketChannel;)V
    flags: (0x0000) 
    Code:
      stack=6, locals=3, args_size=3
        start local 0 // jdk.incubator.http.SSLDelegate this
        start local 1 // javax.net.ssl.SSLEngine eng
        start local 2 // java.nio.channels.SocketChannel chan
         0: .line 54
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 51
            aload 0 /* this */
            new java.util.concurrent.locks.ReentrantLock
            dup
            invokespecial java.util.concurrent.locks.ReentrantLock.<init>:()V
            putfield jdk.incubator.http.SSLDelegate.handshaking:Ljava/util/concurrent/locks/Lock;
         2: .line 56
            aload 0 /* this */
            aload 1 /* eng */
            putfield jdk.incubator.http.SSLDelegate.engine:Ljavax/net/ssl/SSLEngine;
         3: .line 57
            aload 0 /* this */
            aload 2 /* chan */
            putfield jdk.incubator.http.SSLDelegate.chan:Ljava/nio/channels/SocketChannel;
         4: .line 58
            aload 0 /* this */
            new jdk.incubator.http.SSLDelegate$EngineWrapper
            dup
            aload 0 /* this */
            aload 2 /* chan */
            aload 0 /* this */
            getfield jdk.incubator.http.SSLDelegate.engine:Ljavax/net/ssl/SSLEngine;
            invokespecial jdk.incubator.http.SSLDelegate$EngineWrapper.<init>:(Ljdk/incubator/http/SSLDelegate;Ljava/nio/channels/SocketChannel;Ljavax/net/ssl/SSLEngine;)V
            putfield jdk.incubator.http.SSLDelegate.wrapper:Ljdk/incubator/http/SSLDelegate$EngineWrapper;
         5: .line 59
            return
        end local 2 // java.nio.channels.SocketChannel chan
        end local 1 // javax.net.ssl.SSLEngine eng
        end local 0 // jdk.incubator.http.SSLDelegate this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0  this  Ljdk/incubator/http/SSLDelegate;
            0    6     1   eng  Ljavax/net/ssl/SSLEngine;
            0    6     2  chan  Ljava/nio/channels/SocketChannel;
    MethodParameters:
      Name  Flags
      eng   
      chan  

  static long countBytes(java.nio.ByteBuffer[], int, int);
    descriptor: ([Ljava/nio/ByteBuffer;II)J
    flags: (0x0008) ACC_STATIC
    Code:
      stack=5, locals=6, args_size=3
        start local 0 // java.nio.ByteBuffer[] buffers
        start local 1 // int start
        start local 2 // int number
         0: .line 92
            lconst_0
            lstore 3 /* c */
        start local 3 // long c
         1: .line 93
            iconst_0
            istore 5 /* i */
        start local 5 // int i
         2: goto 5
         3: .line 94
      StackMap locals: long int
      StackMap stack:
            lload 3 /* c */
            aload 0 /* buffers */
            iload 1 /* start */
            iload 5 /* i */
            iadd
            aaload
            invokevirtual java.nio.ByteBuffer.remaining:()I
            i2l
            ladd
            lstore 3 /* c */
         4: .line 93
            iinc 5 /* i */ 1
      StackMap locals:
      StackMap stack:
         5: iload 5 /* i */
            iload 2 /* number */
            if_icmplt 3
        end local 5 // int i
         6: .line 96
            lload 3 /* c */
            lreturn
        end local 3 // long c
        end local 2 // int number
        end local 1 // int start
        end local 0 // java.nio.ByteBuffer[] buffers
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    7     0  buffers  [Ljava/nio/ByteBuffer;
            0    7     1    start  I
            0    7     2   number  I
            1    7     3        c  J
            2    6     5        i  I
    MethodParameters:
         Name  Flags
      buffers  
      start    
      number   

  java.nio.ByteBuffer allocate(jdk.incubator.http.SSLDelegate$BufType);
    descriptor: (Ljdk/incubator/http/SSLDelegate$BufType;)Ljava/nio/ByteBuffer;
    flags: (0x0000) 
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // jdk.incubator.http.SSLDelegate this
        start local 1 // jdk.incubator.http.SSLDelegate$BufType type
         0: .line 121
            aload 0 /* this */
            aload 1 /* type */
            iconst_m1
            invokevirtual jdk.incubator.http.SSLDelegate.allocate:(Ljdk/incubator/http/SSLDelegate$BufType;I)Ljava/nio/ByteBuffer;
            areturn
        end local 1 // jdk.incubator.http.SSLDelegate$BufType type
        end local 0 // jdk.incubator.http.SSLDelegate this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/incubator/http/SSLDelegate;
            0    1     1  type  Ljdk/incubator/http/SSLDelegate$BufType;
    MethodParameters:
      Name  Flags
      type  

  java.nio.ByteBuffer allocate(jdk.incubator.http.SSLDelegate$BufType, int);
    descriptor: (Ljdk/incubator/http/SSLDelegate$BufType;I)Ljava/nio/ByteBuffer;
    flags: (0x0000) 
    Code:
      stack=2, locals=6, args_size=3
        start local 0 // jdk.incubator.http.SSLDelegate this
        start local 1 // jdk.incubator.http.SSLDelegate$BufType type
        start local 2 // int len
         0: .line 126
            getstatic jdk.incubator.http.SSLDelegate.$assertionsDisabled:Z
            ifne 1
            aload 0 /* this */
            getfield jdk.incubator.http.SSLDelegate.engine:Ljavax/net/ssl/SSLEngine;
            ifnonnull 1
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         1: .line 127
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            dup
            astore 3
            monitorenter
         2: .line 129
            aload 1 /* type */
            getstatic jdk.incubator.http.SSLDelegate$BufType.PACKET:Ljdk/incubator/http/SSLDelegate$BufType;
            if_acmpne 10
         3: .line 130
            aload 0 /* this */
            getfield jdk.incubator.http.SSLDelegate.packet_buf_size:I
            ifne 6
         4: .line 131
            aload 0 /* this */
            getfield jdk.incubator.http.SSLDelegate.engine:Ljavax/net/ssl/SSLEngine;
            invokevirtual javax.net.ssl.SSLEngine.getSession:()Ljavax/net/ssl/SSLSession;
            astore 5 /* sess */
        start local 5 // javax.net.ssl.SSLSession sess
         5: .line 132
            aload 0 /* this */
            aload 5 /* sess */
            invokeinterface javax.net.ssl.SSLSession.getPacketBufferSize:()I
            putfield jdk.incubator.http.SSLDelegate.packet_buf_size:I
        end local 5 // javax.net.ssl.SSLSession sess
         6: .line 134
      StackMap locals: jdk.incubator.http.SSLDelegate
      StackMap stack:
            iload 2 /* len */
            aload 0 /* this */
            getfield jdk.incubator.http.SSLDelegate.packet_buf_size:I
            if_icmple 8
         7: .line 135
            aload 0 /* this */
            iload 2 /* len */
            putfield jdk.incubator.http.SSLDelegate.packet_buf_size:I
         8: .line 137
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.incubator.http.SSLDelegate.packet_buf_size:I
            istore 4 /* size */
        start local 4 // int size
         9: .line 138
            goto 16
        end local 4 // int size
        10: .line 139
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.incubator.http.SSLDelegate.app_buf_size:I
            ifne 13
        11: .line 140
            aload 0 /* this */
            getfield jdk.incubator.http.SSLDelegate.engine:Ljavax/net/ssl/SSLEngine;
            invokevirtual javax.net.ssl.SSLEngine.getSession:()Ljavax/net/ssl/SSLSession;
            astore 5 /* sess */
        start local 5 // javax.net.ssl.SSLSession sess
        12: .line 141
            aload 0 /* this */
            aload 5 /* sess */
            invokeinterface javax.net.ssl.SSLSession.getApplicationBufferSize:()I
            putfield jdk.incubator.http.SSLDelegate.app_buf_size:I
        end local 5 // javax.net.ssl.SSLSession sess
        13: .line 143
      StackMap locals:
      StackMap stack:
            iload 2 /* len */
            aload 0 /* this */
            getfield jdk.incubator.http.SSLDelegate.app_buf_size:I
            if_icmple 15
        14: .line 144
            aload 0 /* this */
            iload 2 /* len */
            putfield jdk.incubator.http.SSLDelegate.app_buf_size:I
        15: .line 146
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.incubator.http.SSLDelegate.app_buf_size:I
            istore 4 /* size */
        start local 4 // int size
        16: .line 148
      StackMap locals: int
      StackMap stack:
            iload 4 /* size */
            invokestatic java.nio.ByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
            aload 3
            monitorexit
        17: areturn
        end local 4 // int size
        18: .line 127
      StackMap locals: jdk.incubator.http.SSLDelegate jdk.incubator.http.SSLDelegate$BufType int jdk.incubator.http.SSLDelegate
      StackMap stack: java.lang.Throwable
            aload 3
            monitorexit
        19: athrow
        end local 2 // int len
        end local 1 // jdk.incubator.http.SSLDelegate$BufType type
        end local 0 // jdk.incubator.http.SSLDelegate this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   20     0  this  Ljdk/incubator/http/SSLDelegate;
            0   20     1  type  Ljdk/incubator/http/SSLDelegate$BufType;
            0   20     2   len  I
            9   10     4  size  I
           16   18     4  size  I
            5    6     5  sess  Ljavax/net/ssl/SSLSession;
           12   13     5  sess  Ljavax/net/ssl/SSLSession;
      Exception table:
        from    to  target  type
           2    17      18  any
          18    19      18  any
    MethodParameters:
      Name  Flags
      type  
      len   

  private java.nio.ByteBuffer realloc(java.nio.ByteBuffer, boolean, jdk.incubator.http.SSLDelegate$BufType);
    descriptor: (Ljava/nio/ByteBuffer;ZLjdk/incubator/http/SSLDelegate$BufType;)Ljava/nio/ByteBuffer;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=7, args_size=4
        start local 0 // jdk.incubator.http.SSLDelegate this
        start local 1 // java.nio.ByteBuffer b
        start local 2 // boolean flip
        start local 3 // jdk.incubator.http.SSLDelegate$BufType type
         0: .line 163
            aload 0 /* this */
            dup
            astore 4
            monitorenter
         1: .line 164
            iconst_2
            aload 1 /* b */
            invokevirtual java.nio.ByteBuffer.capacity:()I
            imul
            istore 5 /* nsize */
        start local 5 // int nsize
         2: .line 165
            aload 0 /* this */
            aload 3 /* type */
            iload 5 /* nsize */
            invokevirtual jdk.incubator.http.SSLDelegate.allocate:(Ljdk/incubator/http/SSLDelegate$BufType;I)Ljava/nio/ByteBuffer;
            astore 6 /* n */
        start local 6 // java.nio.ByteBuffer n
         3: .line 166
            iload 2 /* flip */
            ifeq 5
         4: .line 167
            aload 1 /* b */
            invokevirtual java.nio.ByteBuffer.flip:()Ljava/nio/ByteBuffer;
            pop
         5: .line 169
      StackMap locals: jdk.incubator.http.SSLDelegate int java.nio.ByteBuffer
      StackMap stack:
            aload 6 /* n */
            aload 1 /* b */
            invokevirtual java.nio.ByteBuffer.put:(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
            pop
         6: .line 170
            aload 6 /* n */
            astore 1 /* b */
        end local 6 // java.nio.ByteBuffer n
        end local 5 // int nsize
         7: .line 163
            aload 4
            monitorexit
         8: goto 11
      StackMap locals: jdk.incubator.http.SSLDelegate java.nio.ByteBuffer int jdk.incubator.http.SSLDelegate$BufType jdk.incubator.http.SSLDelegate
      StackMap stack: java.lang.Throwable
         9: aload 4
            monitorexit
        10: athrow
        11: .line 172
      StackMap locals:
      StackMap stack:
            aload 1 /* b */
            areturn
        end local 3 // jdk.incubator.http.SSLDelegate$BufType type
        end local 2 // boolean flip
        end local 1 // java.nio.ByteBuffer b
        end local 0 // jdk.incubator.http.SSLDelegate this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0   12     0   this  Ljdk/incubator/http/SSLDelegate;
            0   12     1      b  Ljava/nio/ByteBuffer;
            0   12     2   flip  Z
            0   12     3   type  Ljdk/incubator/http/SSLDelegate$BufType;
            2    7     5  nsize  I
            3    7     6      n  Ljava/nio/ByteBuffer;
      Exception table:
        from    to  target  type
           1     8       9  any
           9    10       9  any
    MethodParameters:
      Name  Flags
      b     
      flip  
      type  

  jdk.incubator.http.SSLDelegate$WrapperResult sendData(java.nio.ByteBuffer[], int, int);
    descriptor: ([Ljava/nio/ByteBuffer;II)Ljdk/incubator/http/SSLDelegate$WrapperResult;
    flags: (0x0000) 
    Code:
      stack=5, locals=7, args_size=4
        start local 0 // jdk.incubator.http.SSLDelegate this
        start local 1 // java.nio.ByteBuffer[] src
        start local 2 // int offset
        start local 3 // int len
         0: .line 331
            invokestatic jdk.incubator.http.SSLDelegate$WrapperResult.createOK:()Ljdk/incubator/http/SSLDelegate$WrapperResult;
            astore 4 /* r */
        start local 4 // jdk.incubator.http.SSLDelegate$WrapperResult r
         1: .line 332
            goto 11
         2: .line 333
      StackMap locals: jdk.incubator.http.SSLDelegate$WrapperResult
      StackMap stack:
            aload 0 /* this */
            getfield jdk.incubator.http.SSLDelegate.wrapper:Ljdk/incubator/http/SSLDelegate$EngineWrapper;
            aload 1 /* src */
            iload 2 /* offset */
            iload 3 /* len */
            iconst_0
            invokevirtual jdk.incubator.http.SSLDelegate$EngineWrapper.wrapAndSend:([Ljava/nio/ByteBuffer;IIZ)Ljdk/incubator/http/SSLDelegate$WrapperResult;
            astore 4 /* r */
         3: .line 334
            aload 4 /* r */
            getfield jdk.incubator.http.SSLDelegate$WrapperResult.result:Ljavax/net/ssl/SSLEngineResult;
            invokevirtual javax.net.ssl.SSLEngineResult.getStatus:()Ljavax/net/ssl/SSLEngineResult$Status;
            astore 5 /* status */
        start local 5 // javax.net.ssl.SSLEngineResult$Status status
         4: .line 335
            aload 5 /* status */
            getstatic javax.net.ssl.SSLEngineResult$Status.CLOSED:Ljavax/net/ssl/SSLEngineResult$Status;
            if_acmpne 7
         5: .line 336
            aload 0 /* this */
            invokevirtual jdk.incubator.http.SSLDelegate.doClosure:()V
         6: .line 337
            aload 4 /* r */
            areturn
         7: .line 339
      StackMap locals: javax.net.ssl.SSLEngineResult$Status
      StackMap stack:
            aload 4 /* r */
            getfield jdk.incubator.http.SSLDelegate$WrapperResult.result:Ljavax/net/ssl/SSLEngineResult;
            invokevirtual javax.net.ssl.SSLEngineResult.getHandshakeStatus:()Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;
            astore 6 /* hs_status */
        start local 6 // javax.net.ssl.SSLEngineResult$HandshakeStatus hs_status
         8: .line 340
            aload 6 /* hs_status */
            getstatic javax.net.ssl.SSLEngineResult$HandshakeStatus.FINISHED:Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;
            if_acmpeq 11
         9: .line 341
            aload 6 /* hs_status */
            getstatic javax.net.ssl.SSLEngineResult$HandshakeStatus.NOT_HANDSHAKING:Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;
            if_acmpeq 11
        10: .line 343
            aload 0 /* this */
            aload 6 /* hs_status */
            invokevirtual jdk.incubator.http.SSLDelegate.doHandshake:(Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;)V
        end local 6 // javax.net.ssl.SSLEngineResult$HandshakeStatus hs_status
        end local 5 // javax.net.ssl.SSLEngineResult$Status status
        11: .line 332
      StackMap locals:
      StackMap stack:
            aload 1 /* src */
            iload 2 /* offset */
            iload 3 /* len */
            invokestatic jdk.incubator.http.SSLDelegate.countBytes:([Ljava/nio/ByteBuffer;II)J
            lconst_0
            lcmp
            ifgt 2
        12: .line 346
            aload 4 /* r */
            areturn
        end local 4 // jdk.incubator.http.SSLDelegate$WrapperResult r
        end local 3 // int len
        end local 2 // int offset
        end local 1 // java.nio.ByteBuffer[] src
        end local 0 // jdk.incubator.http.SSLDelegate this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0   13     0       this  Ljdk/incubator/http/SSLDelegate;
            0   13     1        src  [Ljava/nio/ByteBuffer;
            0   13     2     offset  I
            0   13     3        len  I
            1   13     4          r  Ljdk/incubator/http/SSLDelegate$WrapperResult;
            4   11     5     status  Ljavax/net/ssl/SSLEngineResult$Status;
            8   11     6  hs_status  Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
        Name  Flags
      src     
      offset  
      len     

  jdk.incubator.http.SSLDelegate$WrapperResult recvData(java.nio.ByteBuffer);
    descriptor: (Ljava/nio/ByteBuffer;)Ljdk/incubator/http/SSLDelegate$WrapperResult;
    flags: (0x0000) 
    Code:
      stack=2, locals=7, args_size=2
        start local 0 // jdk.incubator.http.SSLDelegate this
        start local 1 // java.nio.ByteBuffer dst
         0: .line 357
            aload 1 /* dst */
            invokevirtual java.nio.ByteBuffer.position:()I
            istore 2 /* mark */
        start local 2 // int mark
         1: .line 358
            aconst_null
            astore 3 /* r */
        start local 3 // jdk.incubator.http.SSLDelegate$WrapperResult r
         2: .line 359
            aload 1 /* dst */
            invokevirtual java.nio.ByteBuffer.position:()I
            istore 4 /* pos */
        start local 4 // int pos
         3: .line 360
            goto 16
         4: .line 361
      StackMap locals: int jdk.incubator.http.SSLDelegate$WrapperResult int
      StackMap stack:
            aload 0 /* this */
            getfield jdk.incubator.http.SSLDelegate.wrapper:Ljdk/incubator/http/SSLDelegate$EngineWrapper;
            aload 1 /* dst */
            invokevirtual jdk.incubator.http.SSLDelegate$EngineWrapper.recvAndUnwrap:(Ljava/nio/ByteBuffer;)Ljdk/incubator/http/SSLDelegate$WrapperResult;
            astore 3 /* r */
         5: .line 362
            aload 3 /* r */
            getfield jdk.incubator.http.SSLDelegate$WrapperResult.buf:Ljava/nio/ByteBuffer;
            aload 1 /* dst */
            if_acmpeq 6
            aload 3 /* r */
            getfield jdk.incubator.http.SSLDelegate$WrapperResult.buf:Ljava/nio/ByteBuffer;
            goto 7
      StackMap locals:
      StackMap stack:
         6: aload 1 /* dst */
      StackMap locals:
      StackMap stack: java.nio.ByteBuffer
         7: astore 1 /* dst */
         8: .line 363
            aload 3 /* r */
            getfield jdk.incubator.http.SSLDelegate$WrapperResult.result:Ljavax/net/ssl/SSLEngineResult;
            invokevirtual javax.net.ssl.SSLEngineResult.getStatus:()Ljavax/net/ssl/SSLEngineResult$Status;
            astore 5 /* status */
        start local 5 // javax.net.ssl.SSLEngineResult$Status status
         9: .line 364
            aload 5 /* status */
            getstatic javax.net.ssl.SSLEngineResult$Status.CLOSED:Ljavax/net/ssl/SSLEngineResult$Status;
            if_acmpne 12
        10: .line 365
            aload 0 /* this */
            invokevirtual jdk.incubator.http.SSLDelegate.doClosure:()V
        11: .line 366
            aload 3 /* r */
            areturn
        12: .line 369
      StackMap locals: javax.net.ssl.SSLEngineResult$Status
      StackMap stack:
            aload 3 /* r */
            getfield jdk.incubator.http.SSLDelegate$WrapperResult.result:Ljavax/net/ssl/SSLEngineResult;
            invokevirtual javax.net.ssl.SSLEngineResult.getHandshakeStatus:()Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;
            astore 6 /* hs_status */
        start local 6 // javax.net.ssl.SSLEngineResult$HandshakeStatus hs_status
        13: .line 370
            aload 6 /* hs_status */
            getstatic javax.net.ssl.SSLEngineResult$HandshakeStatus.FINISHED:Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;
            if_acmpeq 16
        14: .line 371
            aload 6 /* hs_status */
            getstatic javax.net.ssl.SSLEngineResult$HandshakeStatus.NOT_HANDSHAKING:Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;
            if_acmpeq 16
        15: .line 373
            aload 0 /* this */
            aload 6 /* hs_status */
            invokevirtual jdk.incubator.http.SSLDelegate.doHandshake:(Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;)V
        end local 6 // javax.net.ssl.SSLEngineResult$HandshakeStatus hs_status
        end local 5 // javax.net.ssl.SSLEngineResult$Status status
        16: .line 360
      StackMap locals:
      StackMap stack:
            aload 1 /* dst */
            invokevirtual java.nio.ByteBuffer.position:()I
            iload 4 /* pos */
            if_icmpeq 4
        17: .line 376
            aload 1 /* dst */
            iload 2 /* mark */
            invokestatic jdk.incubator.http.internal.common.Utils.flipToMark:(Ljava/nio/ByteBuffer;I)V
        18: .line 377
            aload 3 /* r */
            areturn
        end local 4 // int pos
        end local 3 // jdk.incubator.http.SSLDelegate$WrapperResult r
        end local 2 // int mark
        end local 1 // java.nio.ByteBuffer dst
        end local 0 // jdk.incubator.http.SSLDelegate this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0   19     0       this  Ljdk/incubator/http/SSLDelegate;
            0   19     1        dst  Ljava/nio/ByteBuffer;
            1   19     2       mark  I
            2   19     3          r  Ljdk/incubator/http/SSLDelegate$WrapperResult;
            3   19     4        pos  I
            9   16     5     status  Ljavax/net/ssl/SSLEngineResult$Status;
           13   16     6  hs_status  Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      dst   

  void doClosure();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=3, locals=4, args_size=1
        start local 0 // jdk.incubator.http.SSLDelegate this
         0: .line 385
            aload 0 /* this */
            getfield jdk.incubator.http.SSLDelegate.handshaking:Ljava/util/concurrent/locks/Lock;
            invokeinterface java.util.concurrent.locks.Lock.lock:()V
         1: .line 386
            aload 0 /* this */
            getstatic jdk.incubator.http.SSLDelegate$BufType.APPLICATION:Ljdk/incubator/http/SSLDelegate$BufType;
            invokevirtual jdk.incubator.http.SSLDelegate.allocate:(Ljdk/incubator/http/SSLDelegate$BufType;)Ljava/nio/ByteBuffer;
            astore 1 /* tmp */
        start local 1 // java.nio.ByteBuffer tmp
         2: .line 389
      StackMap locals: java.nio.ByteBuffer
      StackMap stack:
            aload 1 /* tmp */
            invokevirtual java.nio.ByteBuffer.clear:()Ljava/nio/ByteBuffer;
            pop
         3: .line 390
            aload 1 /* tmp */
            invokevirtual java.nio.ByteBuffer.flip:()Ljava/nio/ByteBuffer;
            pop
         4: .line 391
            aload 0 /* this */
            getfield jdk.incubator.http.SSLDelegate.wrapper:Ljdk/incubator/http/SSLDelegate$EngineWrapper;
            aload 1 /* tmp */
            iconst_1
            invokevirtual jdk.incubator.http.SSLDelegate$EngineWrapper.wrapAndSend:(Ljava/nio/ByteBuffer;Z)Ljdk/incubator/http/SSLDelegate$WrapperResult;
            astore 2 /* r */
        start local 2 // jdk.incubator.http.SSLDelegate$WrapperResult r
         5: .line 392
            aload 2 /* r */
            getfield jdk.incubator.http.SSLDelegate$WrapperResult.result:Ljavax/net/ssl/SSLEngineResult;
            invokevirtual javax.net.ssl.SSLEngineResult.getStatus:()Ljavax/net/ssl/SSLEngineResult$Status;
            getstatic javax.net.ssl.SSLEngineResult$Status.CLOSED:Ljavax/net/ssl/SSLEngineResult$Status;
            if_acmpne 2
        end local 2 // jdk.incubator.http.SSLDelegate$WrapperResult r
        end local 1 // java.nio.ByteBuffer tmp
         6: .line 393
            goto 10
      StackMap locals: jdk.incubator.http.SSLDelegate
      StackMap stack: java.lang.Throwable
         7: astore 3
         8: .line 394
            aload 0 /* this */
            getfield jdk.incubator.http.SSLDelegate.handshaking:Ljava/util/concurrent/locks/Lock;
            invokeinterface java.util.concurrent.locks.Lock.unlock:()V
         9: .line 395
            aload 3
            athrow
        10: .line 394
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.incubator.http.SSLDelegate.handshaking:Ljava/util/concurrent/locks/Lock;
            invokeinterface java.util.concurrent.locks.Lock.unlock:()V
        11: .line 396
            return
        end local 0 // jdk.incubator.http.SSLDelegate this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   12     0  this  Ljdk/incubator/http/SSLDelegate;
            2    6     1   tmp  Ljava/nio/ByteBuffer;
            5    6     2     r  Ljdk/incubator/http/SSLDelegate$WrapperResult;
      Exception table:
        from    to  target  type
           0     7       7  any
    Exceptions:
      throws java.io.IOException

  void doHandshake(javax.net.ssl.SSLEngineResult$HandshakeStatus);
    descriptor: (Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;)V
    flags: (0x0000) 
    Code:
      stack=3, locals=7, args_size=2
        start local 0 // jdk.incubator.http.SSLDelegate this
        start local 1 // javax.net.ssl.SSLEngineResult$HandshakeStatus hs_status
         0: .line 407
            aload 0 /* this */
            getfield jdk.incubator.http.SSLDelegate.chan:Ljava/nio/channels/SocketChannel;
            invokevirtual java.nio.channels.SocketChannel.isBlocking:()Z
            istore 2 /* wasBlocking */
        start local 2 // boolean wasBlocking
         1: .line 408
            aload 0 /* this */
            getfield jdk.incubator.http.SSLDelegate.handshaking:Ljava/util/concurrent/locks/Lock;
            invokeinterface java.util.concurrent.locks.Lock.lock:()V
         2: .line 409
            aload 0 /* this */
            getfield jdk.incubator.http.SSLDelegate.chan:Ljava/nio/channels/SocketChannel;
            iconst_1
            invokevirtual java.nio.channels.SocketChannel.configureBlocking:(Z)Ljava/nio/channels/SelectableChannel;
            pop
         3: .line 410
            aload 0 /* this */
            getstatic jdk.incubator.http.SSLDelegate$BufType.APPLICATION:Ljdk/incubator/http/SSLDelegate$BufType;
            invokevirtual jdk.incubator.http.SSLDelegate.allocate:(Ljdk/incubator/http/SSLDelegate$BufType;)Ljava/nio/ByteBuffer;
            astore 3 /* tmp */
        start local 3 // java.nio.ByteBuffer tmp
         4: .line 411
            goto 22
         5: .line 414
      StackMap locals: int java.nio.ByteBuffer
      StackMap stack:
            aconst_null
            astore 4 /* r */
        start local 4 // jdk.incubator.http.SSLDelegate$WrapperResult r
         6: .line 415
            invokestatic jdk.incubator.http.SSLDelegate.$SWITCH_TABLE$javax$net$ssl$SSLEngineResult$HandshakeStatus:()[I
            aload 1 /* hs_status */
            invokevirtual javax.net.ssl.SSLEngineResult$HandshakeStatus.ordinal:()I
            iaload
            tableswitch { // 3 - 5
                    3: 7
                    4: 11
                    5: 15
              default: 20
          }
         7: .line 418
      StackMap locals: jdk.incubator.http.SSLDelegate$WrapperResult
      StackMap stack:
            goto 9
        start local 5 // java.lang.Runnable task
         8: .line 422
      StackMap locals: java.lang.Runnable
      StackMap stack:
            aload 5 /* task */
            invokeinterface java.lang.Runnable.run:()V
        end local 5 // java.lang.Runnable task
         9: .line 418
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.incubator.http.SSLDelegate.engine:Ljavax/net/ssl/SSLEngine;
            invokevirtual javax.net.ssl.SSLEngine.getDelegatedTask:()Ljava/lang/Runnable;
            dup
            astore 5 /* task */
        start local 5 // java.lang.Runnable task
        10: ifnonnull 8
        end local 5 // java.lang.Runnable task
        11: .line 426
      StackMap locals:
      StackMap stack:
            aload 3 /* tmp */
            invokevirtual java.nio.ByteBuffer.clear:()Ljava/nio/ByteBuffer;
            pop
        12: .line 427
            aload 3 /* tmp */
            invokevirtual java.nio.ByteBuffer.flip:()Ljava/nio/ByteBuffer;
            pop
        13: .line 428
            aload 0 /* this */
            getfield jdk.incubator.http.SSLDelegate.wrapper:Ljdk/incubator/http/SSLDelegate$EngineWrapper;
            aload 3 /* tmp */
            iconst_0
            invokevirtual jdk.incubator.http.SSLDelegate$EngineWrapper.wrapAndSend:(Ljava/nio/ByteBuffer;Z)Ljdk/incubator/http/SSLDelegate$WrapperResult;
            astore 4 /* r */
        14: .line 429
            goto 20
        15: .line 432
      StackMap locals:
      StackMap stack:
            aload 3 /* tmp */
            invokevirtual java.nio.ByteBuffer.clear:()Ljava/nio/ByteBuffer;
            pop
        16: .line 433
            aload 0 /* this */
            getfield jdk.incubator.http.SSLDelegate.wrapper:Ljdk/incubator/http/SSLDelegate$EngineWrapper;
            aload 3 /* tmp */
            invokevirtual jdk.incubator.http.SSLDelegate$EngineWrapper.recvAndUnwrap:(Ljava/nio/ByteBuffer;)Ljdk/incubator/http/SSLDelegate$WrapperResult;
            astore 4 /* r */
        17: .line 434
            aload 4 /* r */
            getfield jdk.incubator.http.SSLDelegate$WrapperResult.buf:Ljava/nio/ByteBuffer;
            aload 3 /* tmp */
            if_acmpeq 19
        18: .line 435
            aload 4 /* r */
            getfield jdk.incubator.http.SSLDelegate$WrapperResult.buf:Ljava/nio/ByteBuffer;
            astore 3 /* tmp */
        19: .line 437
      StackMap locals:
      StackMap stack:
            getstatic jdk.incubator.http.SSLDelegate.$assertionsDisabled:Z
            ifne 20
            aload 3 /* tmp */
            invokevirtual java.nio.ByteBuffer.position:()I
            ifeq 20
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
        20: .line 439
      StackMap locals:
      StackMap stack:
            aload 4 /* r */
        21: .line 440
            getfield jdk.incubator.http.SSLDelegate$WrapperResult.result:Ljavax/net/ssl/SSLEngineResult;
            invokevirtual javax.net.ssl.SSLEngineResult.getHandshakeStatus:()Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;
            astore 1 /* hs_status */
        end local 4 // jdk.incubator.http.SSLDelegate$WrapperResult r
        22: .line 411
      StackMap locals:
      StackMap stack:
            aload 1 /* hs_status */
            getstatic javax.net.ssl.SSLEngineResult$HandshakeStatus.FINISHED:Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;
            if_acmpeq 24
        23: .line 412
            aload 1 /* hs_status */
            getstatic javax.net.ssl.SSLEngineResult$HandshakeStatus.NOT_HANDSHAKING:Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;
            if_acmpne 5
        24: .line 442
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual jdk.incubator.http.SSLDelegate.getSessionInfo:()Ljava/lang/String;
            iconst_0
            anewarray java.lang.Object
            invokestatic jdk.incubator.http.internal.common.Log.logSSL:(Ljava/lang/String;[Ljava/lang/Object;)V
        25: .line 443
            iload 2 /* wasBlocking */
            ifne 31
        26: .line 444
            aload 0 /* this */
            getfield jdk.incubator.http.SSLDelegate.chan:Ljava/nio/channels/SocketChannel;
            iconst_0
            invokevirtual java.nio.channels.SocketChannel.configureBlocking:(Z)Ljava/nio/channels/SelectableChannel;
            pop
        end local 3 // java.nio.ByteBuffer tmp
        27: .line 446
            goto 31
        end local 2 // boolean wasBlocking
      StackMap locals: jdk.incubator.http.SSLDelegate javax.net.ssl.SSLEngineResult$HandshakeStatus
      StackMap stack: java.lang.Throwable
        28: astore 6
        29: .line 447
            aload 0 /* this */
            getfield jdk.incubator.http.SSLDelegate.handshaking:Ljava/util/concurrent/locks/Lock;
            invokeinterface java.util.concurrent.locks.Lock.unlock:()V
        30: .line 448
            aload 6
            athrow
        start local 2 // boolean wasBlocking
        31: .line 447
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            getfield jdk.incubator.http.SSLDelegate.handshaking:Ljava/util/concurrent/locks/Lock;
            invokeinterface java.util.concurrent.locks.Lock.unlock:()V
        32: .line 449
            return
        end local 2 // boolean wasBlocking
        end local 1 // javax.net.ssl.SSLEngineResult$HandshakeStatus hs_status
        end local 0 // jdk.incubator.http.SSLDelegate this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   33     0         this  Ljdk/incubator/http/SSLDelegate;
            0   33     1    hs_status  Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;
            1   28     2  wasBlocking  Z
           31   33     2  wasBlocking  Z
            4   27     3          tmp  Ljava/nio/ByteBuffer;
            6   22     4            r  Ljdk/incubator/http/SSLDelegate$WrapperResult;
            8    9     5         task  Ljava/lang/Runnable;
           10   11     5         task  Ljava/lang/Runnable;
      Exception table:
        from    to  target  type
           0    28      28  any
    Exceptions:
      throws java.io.IOException
    MethodParameters:
           Name  Flags
      hs_status  

  java.lang.String getSessionInfo();
    descriptor: ()Ljava/lang/String;
    flags: (0x0000) 
    Code:
      stack=2, locals=6, args_size=1
        start local 0 // jdk.incubator.http.SSLDelegate this
         0: .line 476
            new java.lang.StringBuilder
            dup
            invokespecial java.lang.StringBuilder.<init>:()V
            astore 1 /* sb */
        start local 1 // java.lang.StringBuilder sb
         1: .line 477
            aload 0 /* this */
            getfield jdk.incubator.http.SSLDelegate.engine:Ljavax/net/ssl/SSLEngine;
            invokevirtual javax.net.ssl.SSLEngine.getApplicationProtocol:()Ljava/lang/String;
            astore 2 /* application */
        start local 2 // java.lang.String application
         2: .line 478
            aload 0 /* this */
            getfield jdk.incubator.http.SSLDelegate.engine:Ljavax/net/ssl/SSLEngine;
            invokevirtual javax.net.ssl.SSLEngine.getSession:()Ljavax/net/ssl/SSLSession;
            astore 3 /* sess */
        start local 3 // javax.net.ssl.SSLSession sess
         3: .line 479
            aload 3 /* sess */
            invokeinterface javax.net.ssl.SSLSession.getCipherSuite:()Ljava/lang/String;
            astore 4 /* cipher */
        start local 4 // java.lang.String cipher
         4: .line 480
            aload 3 /* sess */
            invokeinterface javax.net.ssl.SSLSession.getProtocol:()Ljava/lang/String;
            astore 5 /* protocol */
        start local 5 // java.lang.String protocol
         5: .line 481
            aload 1 /* sb */
            ldc "Handshake complete alpn: "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
         6: .line 482
            aload 2 /* application */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
         7: .line 483
            ldc ", Cipher: "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
         8: .line 484
            aload 4 /* cipher */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
         9: .line 485
            ldc ", Protocol: "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        10: .line 486
            aload 5 /* protocol */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
        11: .line 487
            aload 1 /* sb */
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            areturn
        end local 5 // java.lang.String protocol
        end local 4 // java.lang.String cipher
        end local 3 // javax.net.ssl.SSLSession sess
        end local 2 // java.lang.String application
        end local 1 // java.lang.StringBuilder sb
        end local 0 // jdk.incubator.http.SSLDelegate this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   12     0         this  Ljdk/incubator/http/SSLDelegate;
            1   12     1           sb  Ljava/lang/StringBuilder;
            2   12     2  application  Ljava/lang/String;
            3   12     3         sess  Ljavax/net/ssl/SSLSession;
            4   12     4       cipher  Ljava/lang/String;
            5   12     5     protocol  Ljava/lang/String;

  static int[] $SWITCH_TABLE$javax$net$ssl$SSLEngineResult$HandshakeStatus();
    descriptor: ()[I
    flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=3, locals=1, args_size=0
         0: .line 47
            getstatic jdk.incubator.http.SSLDelegate.$SWITCH_TABLE$javax$net$ssl$SSLEngineResult$HandshakeStatus:[I
            dup
            ifnull 1
            areturn
      StackMap locals:
      StackMap stack: int[]
         1: pop
            invokestatic javax.net.ssl.SSLEngineResult$HandshakeStatus.values:()[Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;
            arraylength
            newarray 10
            astore 0
         2: aload 0
            getstatic javax.net.ssl.SSLEngineResult$HandshakeStatus.FINISHED:Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;
            invokevirtual javax.net.ssl.SSLEngineResult$HandshakeStatus.ordinal:()I
            iconst_2
            iastore
         3: goto 5
      StackMap locals: int[]
      StackMap stack: java.lang.NoSuchFieldError
         4: pop
      StackMap locals:
      StackMap stack:
         5: aload 0
            getstatic javax.net.ssl.SSLEngineResult$HandshakeStatus.NEED_TASK:Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;
            invokevirtual javax.net.ssl.SSLEngineResult$HandshakeStatus.ordinal:()I
            iconst_3
            iastore
         6: goto 8
      StackMap locals:
      StackMap stack: java.lang.NoSuchFieldError
         7: pop
      StackMap locals:
      StackMap stack:
         8: aload 0
            getstatic javax.net.ssl.SSLEngineResult$HandshakeStatus.NEED_UNWRAP:Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;
            invokevirtual javax.net.ssl.SSLEngineResult$HandshakeStatus.ordinal:()I
            iconst_5
            iastore
         9: goto 11
      StackMap locals:
      StackMap stack: java.lang.NoSuchFieldError
        10: pop
      StackMap locals:
      StackMap stack:
        11: aload 0
            getstatic javax.net.ssl.SSLEngineResult$HandshakeStatus.NEED_UNWRAP_AGAIN:Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;
            invokevirtual javax.net.ssl.SSLEngineResult$HandshakeStatus.ordinal:()I
            bipush 6
            iastore
        12: goto 14
      StackMap locals:
      StackMap stack: java.lang.NoSuchFieldError
        13: pop
      StackMap locals:
      StackMap stack:
        14: aload 0
            getstatic javax.net.ssl.SSLEngineResult$HandshakeStatus.NEED_WRAP:Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;
            invokevirtual javax.net.ssl.SSLEngineResult$HandshakeStatus.ordinal:()I
            iconst_4
            iastore
        15: goto 17
      StackMap locals:
      StackMap stack: java.lang.NoSuchFieldError
        16: pop
      StackMap locals:
      StackMap stack:
        17: aload 0
            getstatic javax.net.ssl.SSLEngineResult$HandshakeStatus.NOT_HANDSHAKING:Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;
            invokevirtual javax.net.ssl.SSLEngineResult$HandshakeStatus.ordinal:()I
            iconst_1
            iastore
        18: goto 20
      StackMap locals:
      StackMap stack: java.lang.NoSuchFieldError
        19: pop
      StackMap locals:
      StackMap stack:
        20: aload 0
            dup
            putstatic jdk.incubator.http.SSLDelegate.$SWITCH_TABLE$javax$net$ssl$SSLEngineResult$HandshakeStatus:[I
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature
      Exception table:
        from    to  target  type
           2     3       4  Class java.lang.NoSuchFieldError
           5     6       7  Class java.lang.NoSuchFieldError
           8     9      10  Class java.lang.NoSuchFieldError
          11    12      13  Class java.lang.NoSuchFieldError
          14    15      16  Class java.lang.NoSuchFieldError
          17    18      19  Class java.lang.NoSuchFieldError
}
SourceFile: "SSLDelegate.java"
NestMembers:
  jdk.incubator.http.SSLDelegate$BufType  jdk.incubator.http.SSLDelegate$EngineWrapper  jdk.incubator.http.SSLDelegate$WrapperResult
InnerClasses:
  public final HandshakeStatus = javax.net.ssl.SSLEngineResult$HandshakeStatus of javax.net.ssl.SSLEngineResult
  public final Status = javax.net.ssl.SSLEngineResult$Status of javax.net.ssl.SSLEngineResult
  final BufType = jdk.incubator.http.SSLDelegate$BufType of jdk.incubator.http.SSLDelegate
  EngineWrapper = jdk.incubator.http.SSLDelegate$EngineWrapper of jdk.incubator.http.SSLDelegate
  WrapperResult = jdk.incubator.http.SSLDelegate$WrapperResult of jdk.incubator.http.SSLDelegate