final class sun.security.ssl.ALPNExtension extends sun.security.ssl.HelloExtension
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: sun.security.ssl.ALPNExtension
  super_class: sun.security.ssl.HelloExtension
{
  static final int ALPN_HEADER_LENGTH;
    descriptor: I
    flags: (0x0018) ACC_STATIC, ACC_FINAL
    ConstantValue: 1

  static final int MAX_APPLICATION_PROTOCOL_LENGTH;
    descriptor: I
    flags: (0x0018) ACC_STATIC, ACC_FINAL
    ConstantValue: 255

  static final int MAX_APPLICATION_PROTOCOL_LIST_LENGTH;
    descriptor: I
    flags: (0x0018) ACC_STATIC, ACC_FINAL
    ConstantValue: 65535

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

  private java.util.List<java.lang.String> protocolNames;
    descriptor: Ljava/util/List;
    flags: (0x0002) ACC_PRIVATE
    Signature: Ljava/util/List<Ljava/lang/String;>;

  void <init>(java.lang.String);
    descriptor: (Ljava/lang/String;)V
    flags: (0x0000) 
    Code:
      stack=5, locals=2, args_size=2
        start local 0 // sun.security.ssl.ALPNExtension this
        start local 1 // java.lang.String protocolName
         0: .line 62
            aload 0 /* this */
            iconst_1
            anewarray java.lang.String
            dup
            iconst_0
            aload 1 /* protocolName */
            aastore
            invokespecial sun.security.ssl.ALPNExtension.<init>:([Ljava/lang/String;)V
         1: .line 63
            return
        end local 1 // java.lang.String protocolName
        end local 0 // sun.security.ssl.ALPNExtension this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0    2     0          this  Lsun/security/ssl/ALPNExtension;
            0    2     1  protocolName  Ljava/lang/String;
    Exceptions:
      throws javax.net.ssl.SSLException
    MethodParameters:
              Name  Flags
      protocolName  

  void <init>(java.lang.String[]);
    descriptor: ([Ljava/lang/String;)V
    flags: (0x0000) 
    Code:
      stack=5, locals=7, args_size=2
        start local 0 // sun.security.ssl.ALPNExtension this
        start local 1 // java.lang.String[] protocolNames
         0: .line 67
            aload 0 /* this */
            getstatic sun.security.ssl.ExtensionType.EXT_ALPN:Lsun/security/ssl/ExtensionType;
            invokespecial sun.security.ssl.HelloExtension.<init>:(Lsun/security/ssl/ExtensionType;)V
         1: .line 57
            aload 0 /* this */
            iconst_0
            putfield sun.security.ssl.ALPNExtension.listLength:I
         2: .line 58
            aload 0 /* this */
            aconst_null
            putfield sun.security.ssl.ALPNExtension.protocolNames:Ljava/util/List;
         3: .line 68
            aload 1 /* protocolNames */
            arraylength
            ifne 7
         4: .line 69
            new java.lang.IllegalArgumentException
            dup
         5: .line 70
            ldc "The list of application protocols cannot be empty"
         6: .line 69
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         7: .line 72
      StackMap locals: sun.security.ssl.ALPNExtension java.lang.String[]
      StackMap stack:
            aload 0 /* this */
            aload 1 /* protocolNames */
            invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
            putfield sun.security.ssl.ALPNExtension.protocolNames:Ljava/util/List;
         8: .line 73
            aload 1 /* protocolNames */
            dup
            astore 5
            arraylength
            istore 4
            iconst_0
            istore 3
            goto 26
      StackMap locals: sun.security.ssl.ALPNExtension java.lang.String[] top int int java.lang.String[]
      StackMap stack:
         9: aload 5
            iload 3
            aaload
            astore 2 /* p */
        start local 2 // java.lang.String p
        10: .line 74
            aload 2 /* p */
            getstatic java.nio.charset.StandardCharsets.UTF_8:Ljava/nio/charset/Charset;
            invokevirtual java.lang.String.getBytes:(Ljava/nio/charset/Charset;)[B
            arraylength
            istore 6 /* length */
        start local 6 // int length
        11: .line 75
            iload 6 /* length */
            ifne 15
        12: .line 76
            new javax.net.ssl.SSLProtocolException
            dup
        13: .line 77
            ldc "Application protocol name is empty"
        14: .line 76
            invokespecial javax.net.ssl.SSLProtocolException.<init>:(Ljava/lang/String;)V
            athrow
        15: .line 79
      StackMap locals: sun.security.ssl.ALPNExtension java.lang.String[] java.lang.String int int java.lang.String[] int
      StackMap stack:
            iload 6 /* length */
            sipush 255
            if_icmpgt 18
        16: .line 80
            aload 0 /* this */
            dup
            getfield sun.security.ssl.ALPNExtension.listLength:I
            iload 6 /* length */
            iconst_1
            iadd
            iadd
            putfield sun.security.ssl.ALPNExtension.listLength:I
        17: .line 81
            goto 21
        18: .line 82
      StackMap locals:
      StackMap stack:
            new javax.net.ssl.SSLProtocolException
            dup
        19: .line 83
            new java.lang.StringBuilder
            dup
            ldc "Application protocol name is too long: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 2 /* p */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
        20: .line 82
            invokespecial javax.net.ssl.SSLProtocolException.<init>:(Ljava/lang/String;)V
            athrow
        21: .line 85
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.security.ssl.ALPNExtension.listLength:I
            ldc 65535
            if_icmple 25
        22: .line 86
            new javax.net.ssl.SSLProtocolException
            dup
        23: .line 87
            ldc "Application protocol name list is too long"
        24: .line 86
            invokespecial javax.net.ssl.SSLProtocolException.<init>:(Ljava/lang/String;)V
            athrow
        end local 6 // int length
        end local 2 // java.lang.String p
        25: .line 73
      StackMap locals: sun.security.ssl.ALPNExtension java.lang.String[] top int int java.lang.String[]
      StackMap stack:
            iinc 3 1
      StackMap locals:
      StackMap stack:
        26: iload 3
            iload 4
            if_icmplt 9
        27: .line 90
            return
        end local 1 // java.lang.String[] protocolNames
        end local 0 // sun.security.ssl.ALPNExtension this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   28     0           this  Lsun/security/ssl/ALPNExtension;
            0   28     1  protocolNames  [Ljava/lang/String;
           10   25     2              p  Ljava/lang/String;
           11   25     6         length  I
    Exceptions:
      throws javax.net.ssl.SSLException
    MethodParameters:
               Name  Flags
      protocolNames  

  void <init>(sun.security.ssl.HandshakeInStream, int);
    descriptor: (Lsun/security/ssl/HandshakeInStream;I)V
    flags: (0x0000) 
    Code:
      stack=5, locals=6, args_size=3
        start local 0 // sun.security.ssl.ALPNExtension this
        start local 1 // sun.security.ssl.HandshakeInStream s
        start local 2 // int len
         0: .line 94
            aload 0 /* this */
            getstatic sun.security.ssl.ExtensionType.EXT_ALPN:Lsun/security/ssl/ExtensionType;
            invokespecial sun.security.ssl.HelloExtension.<init>:(Lsun/security/ssl/ExtensionType;)V
         1: .line 57
            aload 0 /* this */
            iconst_0
            putfield sun.security.ssl.ALPNExtension.listLength:I
         2: .line 58
            aload 0 /* this */
            aconst_null
            putfield sun.security.ssl.ALPNExtension.protocolNames:Ljava/util/List;
         3: .line 96
            iload 2 /* len */
            iconst_2
            if_icmplt 11
         4: .line 97
            aload 0 /* this */
            aload 1 /* s */
            invokevirtual sun.security.ssl.HandshakeInStream.getInt16:()I
            putfield sun.security.ssl.ALPNExtension.listLength:I
         5: .line 98
            aload 0 /* this */
            getfield sun.security.ssl.ALPNExtension.listLength:I
            iconst_2
            if_icmplt 6
            aload 0 /* this */
            getfield sun.security.ssl.ALPNExtension.listLength:I
            iconst_2
            iadd
            iload 2 /* len */
            if_icmpeq 16
         6: .line 99
      StackMap locals: sun.security.ssl.ALPNExtension sun.security.ssl.HandshakeInStream int
      StackMap stack:
            new javax.net.ssl.SSLProtocolException
            dup
         7: .line 100
            new java.lang.StringBuilder
            dup
            ldc "Invalid "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* this */
            getfield sun.security.ssl.ALPNExtension.type:Lsun/security/ssl/ExtensionType;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            ldc " extension: incorrect list length "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
         8: .line 101
            ldc "(length="
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 0 /* this */
            getfield sun.security.ssl.ALPNExtension.listLength:I
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            ldc ")"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
         9: .line 100
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
        10: .line 99
            invokespecial javax.net.ssl.SSLProtocolException.<init>:(Ljava/lang/String;)V
            athrow
        11: .line 104
      StackMap locals:
      StackMap stack:
            new javax.net.ssl.SSLProtocolException
            dup
        12: .line 105
            new java.lang.StringBuilder
            dup
            ldc "Invalid "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* this */
            getfield sun.security.ssl.ALPNExtension.type:Lsun/security/ssl/ExtensionType;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            ldc " extension: insufficient data "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        13: .line 106
            ldc "(length="
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            iload 2 /* len */
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            ldc ")"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        14: .line 105
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
        15: .line 104
            invokespecial javax.net.ssl.SSLProtocolException.<init>:(Ljava/lang/String;)V
            athrow
        16: .line 109
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.security.ssl.ALPNExtension.listLength:I
            istore 3 /* remaining */
        start local 3 // int remaining
        17: .line 110
            aload 0 /* this */
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            putfield sun.security.ssl.ALPNExtension.protocolNames:Ljava/util/List;
        18: .line 111
            goto 28
        19: .line 113
      StackMap locals: int
      StackMap stack:
            aload 1 /* s */
            invokevirtual sun.security.ssl.HandshakeInStream.getBytes8:()[B
            astore 4 /* bytes */
        start local 4 // byte[] bytes
        20: .line 114
            aload 4 /* bytes */
            arraylength
            ifne 24
        21: .line 115
            new javax.net.ssl.SSLProtocolException
            dup
            new java.lang.StringBuilder
            dup
            ldc "Invalid "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* this */
            getfield sun.security.ssl.ALPNExtension.type:Lsun/security/ssl/ExtensionType;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
        22: .line 116
            ldc " extension: empty application protocol name"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
        23: .line 115
            invokespecial javax.net.ssl.SSLProtocolException.<init>:(Ljava/lang/String;)V
            athrow
        24: .line 119
      StackMap locals: byte[]
      StackMap stack:
            new java.lang.String
            dup
            aload 4 /* bytes */
            getstatic java.nio.charset.StandardCharsets.UTF_8:Ljava/nio/charset/Charset;
            invokespecial java.lang.String.<init>:([BLjava/nio/charset/Charset;)V
        25: .line 118
            astore 5 /* p */
        start local 5 // java.lang.String p
        26: .line 120
            aload 0 /* this */
            getfield sun.security.ssl.ALPNExtension.protocolNames:Ljava/util/List;
            aload 5 /* p */
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
        27: .line 121
            iload 3 /* remaining */
            aload 4 /* bytes */
            arraylength
            iconst_1
            iadd
            isub
            istore 3 /* remaining */
        end local 5 // java.lang.String p
        end local 4 // byte[] bytes
        28: .line 111
      StackMap locals:
      StackMap stack:
            iload 3 /* remaining */
            ifgt 19
        29: .line 124
            iload 3 /* remaining */
            ifeq 35
        30: .line 125
            new javax.net.ssl.SSLProtocolException
            dup
        31: .line 126
            new java.lang.StringBuilder
            dup
            ldc "Invalid "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* this */
            getfield sun.security.ssl.ALPNExtension.type:Lsun/security/ssl/ExtensionType;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            ldc " extension: extra data "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        32: .line 127
            ldc "(length="
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            iload 3 /* remaining */
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            ldc ")"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        33: .line 126
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
        34: .line 125
            invokespecial javax.net.ssl.SSLProtocolException.<init>:(Ljava/lang/String;)V
            athrow
        35: .line 129
      StackMap locals:
      StackMap stack:
            return
        end local 3 // int remaining
        end local 2 // int len
        end local 1 // sun.security.ssl.HandshakeInStream s
        end local 0 // sun.security.ssl.ALPNExtension this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0   36     0       this  Lsun/security/ssl/ALPNExtension;
            0   36     1          s  Lsun/security/ssl/HandshakeInStream;
            0   36     2        len  I
           17   36     3  remaining  I
           20   28     4      bytes  [B
           26   28     5          p  Ljava/lang/String;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      s     
      len   

  java.util.List<java.lang.String> getPeerAPs();
    descriptor: ()Ljava/util/List;
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // sun.security.ssl.ALPNExtension this
         0: .line 132
            aload 0 /* this */
            getfield sun.security.ssl.ALPNExtension.protocolNames:Ljava/util/List;
            areturn
        end local 0 // sun.security.ssl.ALPNExtension this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lsun/security/ssl/ALPNExtension;
    Signature: ()Ljava/util/List<Ljava/lang/String;>;

  int length();
    descriptor: ()I
    flags: (0x0000) 
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // sun.security.ssl.ALPNExtension this
         0: .line 140
            bipush 6
            aload 0 /* this */
            getfield sun.security.ssl.ALPNExtension.listLength:I
            iadd
            ireturn
        end local 0 // sun.security.ssl.ALPNExtension this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lsun/security/ssl/ALPNExtension;

  void send(sun.security.ssl.HandshakeOutStream);
    descriptor: (Lsun/security/ssl/HandshakeOutStream;)V
    flags: (0x0000) 
    Code:
      stack=3, locals=4, args_size=2
        start local 0 // sun.security.ssl.ALPNExtension this
        start local 1 // sun.security.ssl.HandshakeOutStream s
         0: .line 145
            aload 1 /* s */
            aload 0 /* this */
            getfield sun.security.ssl.ALPNExtension.type:Lsun/security/ssl/ExtensionType;
            getfield sun.security.ssl.ExtensionType.id:I
            invokevirtual sun.security.ssl.HandshakeOutStream.putInt16:(I)V
         1: .line 146
            aload 1 /* s */
            aload 0 /* this */
            getfield sun.security.ssl.ALPNExtension.listLength:I
            iconst_2
            iadd
            invokevirtual sun.security.ssl.HandshakeOutStream.putInt16:(I)V
         2: .line 147
            aload 1 /* s */
            aload 0 /* this */
            getfield sun.security.ssl.ALPNExtension.listLength:I
            invokevirtual sun.security.ssl.HandshakeOutStream.putInt16:(I)V
         3: .line 149
            aload 0 /* this */
            getfield sun.security.ssl.ALPNExtension.protocolNames:Ljava/util/List;
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 3
            goto 6
      StackMap locals: sun.security.ssl.ALPNExtension sun.security.ssl.HandshakeOutStream top java.util.Iterator
      StackMap stack:
         4: aload 3
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast java.lang.String
            astore 2 /* p */
        start local 2 // java.lang.String p
         5: .line 150
            aload 1 /* s */
            aload 2 /* p */
            getstatic java.nio.charset.StandardCharsets.UTF_8:Ljava/nio/charset/Charset;
            invokevirtual java.lang.String.getBytes:(Ljava/nio/charset/Charset;)[B
            invokevirtual sun.security.ssl.HandshakeOutStream.putBytes8:([B)V
        end local 2 // java.lang.String p
         6: .line 149
      StackMap locals:
      StackMap stack:
            aload 3
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 4
         7: .line 152
            return
        end local 1 // sun.security.ssl.HandshakeOutStream s
        end local 0 // sun.security.ssl.ALPNExtension this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    8     0  this  Lsun/security/ssl/ALPNExtension;
            0    8     1     s  Lsun/security/ssl/HandshakeOutStream;
            5    6     2     p  Ljava/lang/String;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      s     

  public java.lang.String toString();
    descriptor: ()Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=4, args_size=1
        start local 0 // sun.security.ssl.ALPNExtension this
         0: .line 156
            new java.lang.StringBuilder
            dup
            invokespecial java.lang.StringBuilder.<init>:()V
            astore 1 /* sb */
        start local 1 // java.lang.StringBuilder sb
         1: .line 157
            aload 0 /* this */
            getfield sun.security.ssl.ALPNExtension.protocolNames:Ljava/util/List;
            ifnull 2
            aload 0 /* this */
            getfield sun.security.ssl.ALPNExtension.protocolNames:Ljava/util/List;
            invokeinterface java.util.List.isEmpty:()Z
            ifeq 4
         2: .line 158
      StackMap locals: java.lang.StringBuilder
      StackMap stack:
            aload 1 /* sb */
            ldc "<empty>"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
         3: .line 159
            goto 8
         4: .line 160
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.security.ssl.ALPNExtension.protocolNames:Ljava/util/List;
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 3
            goto 7
      StackMap locals: sun.security.ssl.ALPNExtension java.lang.StringBuilder top java.util.Iterator
      StackMap stack:
         5: aload 3
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast java.lang.String
            astore 2 /* protocolName */
        start local 2 // java.lang.String protocolName
         6: .line 161
            aload 1 /* sb */
            new java.lang.StringBuilder
            dup
            ldc "["
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 2 /* protocolName */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc "]"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
        end local 2 // java.lang.String protocolName
         7: .line 160
      StackMap locals:
      StackMap stack:
            aload 3
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 5
         8: .line 165
      StackMap locals: sun.security.ssl.ALPNExtension java.lang.StringBuilder
      StackMap stack:
            new java.lang.StringBuilder
            dup
            ldc "Extension "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* this */
            getfield sun.security.ssl.ALPNExtension.type:Lsun/security/ssl/ExtensionType;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
         9: .line 166
            ldc ", protocol names: "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 1 /* sb */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
        10: .line 165
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            areturn
        end local 1 // java.lang.StringBuilder sb
        end local 0 // sun.security.ssl.ALPNExtension this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0   11     0          this  Lsun/security/ssl/ALPNExtension;
            1   11     1            sb  Ljava/lang/StringBuilder;
            6    7     2  protocolName  Ljava/lang/String;
}
SourceFile: "ALPNExtension.java"