final class sun.security.ssl.AlpnExtension$CHAlpnProducer implements sun.security.ssl.HandshakeProducer
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: sun.security.ssl.AlpnExtension$CHAlpnProducer
  super_class: java.lang.Object
{
  static final int MAX_AP_LENGTH;
    descriptor: I
    flags: (0x0018) ACC_STATIC, ACC_FINAL
    ConstantValue: 255

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

  private void <init>();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // sun.security.ssl.AlpnExtension$CHAlpnProducer this
         0: .line 135
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 137
            return
        end local 0 // sun.security.ssl.AlpnExtension$CHAlpnProducer this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lsun/security/ssl/AlpnExtension$CHAlpnProducer;

  public byte[] produce(sun.security.ssl.ConnectionContext, sun.security.ssl.SSLHandshake$HandshakeMessage);
    descriptor: (Lsun/security/ssl/ConnectionContext;Lsun/security/ssl/SSLHandshake$HandshakeMessage;)[B
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=12, args_size=3
        start local 0 // sun.security.ssl.AlpnExtension$CHAlpnProducer this
        start local 1 // sun.security.ssl.ConnectionContext context
        start local 2 // sun.security.ssl.SSLHandshake$HandshakeMessage message
         0: .line 143
            aload 1 /* context */
            checkcast sun.security.ssl.ClientHandshakeContext
            astore 3 /* chc */
        start local 3 // sun.security.ssl.ClientHandshakeContext chc
         1: .line 146
            aload 3 /* chc */
            getfield sun.security.ssl.ClientHandshakeContext.sslConfig:Lsun/security/ssl/SSLConfiguration;
            getstatic sun.security.ssl.SSLExtension.CH_ALPN:Lsun/security/ssl/SSLExtension;
            invokevirtual sun.security.ssl.SSLConfiguration.isAvailable:(Lsun/security/ssl/SSLExtension;)Z
            ifne 10
         2: .line 147
            getstatic sun.security.ssl.SSLLogger.isOn:Z
            ifeq 7
            ldc "ssl,handshake"
            invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
            ifeq 7
         3: .line 149
            new java.lang.StringBuilder
            dup
            ldc "Ignore client unavailable extension: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
         4: .line 150
            getstatic sun.security.ssl.SSLExtension.CH_ALPN:Lsun/security/ssl/SSLExtension;
            getfield sun.security.ssl.SSLExtension.name:Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
         5: .line 149
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            iconst_0
            anewarray java.lang.Object
         6: .line 148
            invokestatic sun.security.ssl.SSLLogger.info:(Ljava/lang/String;[Ljava/lang/Object;)V
         7: .line 153
      StackMap locals: sun.security.ssl.ClientHandshakeContext
      StackMap stack:
            aload 3 /* chc */
            ldc ""
            putfield sun.security.ssl.ClientHandshakeContext.applicationProtocol:Ljava/lang/String;
         8: .line 154
            aload 3 /* chc */
            getfield sun.security.ssl.ClientHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
            ldc ""
            putfield sun.security.ssl.TransportContext.applicationProtocol:Ljava/lang/String;
         9: .line 155
            aconst_null
            areturn
        10: .line 158
      StackMap locals:
      StackMap stack:
            aload 3 /* chc */
            getfield sun.security.ssl.ClientHandshakeContext.sslConfig:Lsun/security/ssl/SSLConfiguration;
            getfield sun.security.ssl.SSLConfiguration.applicationProtocols:[Ljava/lang/String;
            astore 4 /* laps */
        start local 4 // java.lang.String[] laps
        11: .line 159
            aload 4 /* laps */
            ifnull 12
            aload 4 /* laps */
            arraylength
            ifne 16
        12: .line 160
      StackMap locals: java.lang.String[]
      StackMap stack:
            getstatic sun.security.ssl.SSLLogger.isOn:Z
            ifeq 15
            ldc "ssl,handshake"
            invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
            ifeq 15
        13: .line 162
            ldc "No available application protocols"
            iconst_0
            anewarray java.lang.Object
        14: .line 161
            invokestatic sun.security.ssl.SSLLogger.info:(Ljava/lang/String;[Ljava/lang/Object;)V
        15: .line 164
      StackMap locals:
      StackMap stack:
            aconst_null
            areturn
        16: .line 168
      StackMap locals:
      StackMap stack:
            iconst_0
            istore 5 /* listLength */
        start local 5 // int listLength
        17: .line 169
            aload 4 /* laps */
            dup
            astore 9
            arraylength
            istore 8
            iconst_0
            istore 7
            goto 58
      StackMap locals: sun.security.ssl.AlpnExtension$CHAlpnProducer sun.security.ssl.ConnectionContext sun.security.ssl.SSLHandshake$HandshakeMessage sun.security.ssl.ClientHandshakeContext java.lang.String[] int top int int java.lang.String[]
      StackMap stack:
        18: aload 9
            iload 7
            aaload
            astore 6 /* ap */
        start local 6 // java.lang.String ap
        19: .line 170
            aload 6 /* ap */
            getstatic java.nio.charset.StandardCharsets.UTF_8:Ljava/nio/charset/Charset;
            invokevirtual java.lang.String.getBytes:(Ljava/nio/charset/Charset;)[B
            arraylength
            istore 10 /* length */
        start local 10 // int length
        20: .line 171
            iload 10 /* length */
            ifne 27
        21: .line 173
            getstatic sun.security.ssl.SSLLogger.isOn:Z
            ifeq 24
            ldc "ssl,handshake"
            invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
            ifeq 24
        22: .line 175
            ldc "Application protocol name cannot be empty"
            iconst_0
            anewarray java.lang.Object
        23: .line 174
            invokestatic sun.security.ssl.SSLLogger.severe:(Ljava/lang/String;[Ljava/lang/Object;)V
        24: .line 178
      StackMap locals: sun.security.ssl.AlpnExtension$CHAlpnProducer sun.security.ssl.ConnectionContext sun.security.ssl.SSLHandshake$HandshakeMessage sun.security.ssl.ClientHandshakeContext java.lang.String[] int java.lang.String int int java.lang.String[] int
      StackMap stack:
            aload 3 /* chc */
            getfield sun.security.ssl.ClientHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
            getstatic sun.security.ssl.Alert.ILLEGAL_PARAMETER:Lsun/security/ssl/Alert;
        25: .line 179
            ldc "Application protocol name cannot be empty"
        26: .line 178
            invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
            athrow
        27: .line 182
      StackMap locals:
      StackMap stack:
            iload 10 /* length */
            sipush 255
            if_icmpgt 30
        28: .line 184
            iload 5 /* listLength */
            iload 10 /* length */
            iconst_1
            iadd
            iadd
            istore 5 /* listLength */
        29: .line 185
            goto 42
        30: .line 187
      StackMap locals:
      StackMap stack:
            getstatic sun.security.ssl.SSLLogger.isOn:Z
            ifeq 36
            ldc "ssl,handshake"
            invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
            ifeq 36
        31: .line 189
            new java.lang.StringBuilder
            dup
            ldc "Application protocol name ("
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 6 /* ap */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        32: .line 190
            ldc ") exceeds the size limit ("
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        33: .line 191
            sipush 255
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            ldc " bytes)"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        34: .line 189
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            iconst_0
            anewarray java.lang.Object
        35: .line 188
            invokestatic sun.security.ssl.SSLLogger.severe:(Ljava/lang/String;[Ljava/lang/Object;)V
        36: .line 194
      StackMap locals:
      StackMap stack:
            aload 3 /* chc */
            getfield sun.security.ssl.ClientHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
            getstatic sun.security.ssl.Alert.ILLEGAL_PARAMETER:Lsun/security/ssl/Alert;
        37: .line 195
            new java.lang.StringBuilder
            dup
            ldc "Application protocol name ("
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 6 /* ap */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        38: .line 196
            ldc ") exceeds the size limit ("
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        39: .line 197
            sipush 255
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            ldc " bytes)"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        40: .line 195
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
        41: .line 194
            invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
            athrow
        42: .line 200
      StackMap locals:
      StackMap stack:
            iload 5 /* listLength */
            ldc 65535
            if_icmple 57
        43: .line 202
            getstatic sun.security.ssl.SSLLogger.isOn:Z
            ifeq 50
            ldc "ssl,handshake"
            invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
            ifeq 50
        44: .line 204
            new java.lang.StringBuilder
            dup
            ldc "The configured application protocols ("
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
        45: .line 205
            aload 4 /* laps */
            invokestatic java.util.Arrays.toString:([Ljava/lang/Object;)Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        46: .line 206
            ldc ") exceed the size limit ("
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        47: .line 207
            ldc 65535
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            ldc " bytes)"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        48: .line 204
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            iconst_0
            anewarray java.lang.Object
        49: .line 203
            invokestatic sun.security.ssl.SSLLogger.severe:(Ljava/lang/String;[Ljava/lang/Object;)V
        50: .line 210
      StackMap locals:
      StackMap stack:
            aload 3 /* chc */
            getfield sun.security.ssl.ClientHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
            getstatic sun.security.ssl.Alert.ILLEGAL_PARAMETER:Lsun/security/ssl/Alert;
        51: .line 211
            new java.lang.StringBuilder
            dup
            ldc "The configured application protocols ("
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
        52: .line 212
            aload 4 /* laps */
            invokestatic java.util.Arrays.toString:([Ljava/lang/Object;)Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        53: .line 213
            ldc ") exceed the size limit ("
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        54: .line 214
            ldc 65535
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            ldc " bytes)"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        55: .line 211
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
        56: .line 210
            invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
            athrow
        end local 10 // int length
        end local 6 // java.lang.String ap
        57: .line 169
      StackMap locals: sun.security.ssl.AlpnExtension$CHAlpnProducer sun.security.ssl.ConnectionContext sun.security.ssl.SSLHandshake$HandshakeMessage sun.security.ssl.ClientHandshakeContext java.lang.String[] int top int int java.lang.String[]
      StackMap stack:
            iinc 7 1
      StackMap locals:
      StackMap stack:
        58: iload 7
            iload 8
            if_icmplt 18
        59: .line 219
            iload 5 /* listLength */
            iconst_2
            iadd
            newarray 8
            astore 6 /* extData */
        start local 6 // byte[] extData
        60: .line 220
            aload 6 /* extData */
            invokestatic java.nio.ByteBuffer.wrap:([B)Ljava/nio/ByteBuffer;
            astore 7 /* m */
        start local 7 // java.nio.ByteBuffer m
        61: .line 221
            aload 7 /* m */
            iload 5 /* listLength */
            invokestatic sun.security.ssl.Record.putInt16:(Ljava/nio/ByteBuffer;I)V
        62: .line 222
            aload 4 /* laps */
            dup
            astore 11
            arraylength
            istore 10
            iconst_0
            istore 9
            goto 66
      StackMap locals: sun.security.ssl.AlpnExtension$CHAlpnProducer sun.security.ssl.ConnectionContext sun.security.ssl.SSLHandshake$HandshakeMessage sun.security.ssl.ClientHandshakeContext java.lang.String[] int byte[] java.nio.ByteBuffer top int int java.lang.String[]
      StackMap stack:
        63: aload 11
            iload 9
            aaload
            astore 8 /* ap */
        start local 8 // java.lang.String ap
        64: .line 223
            aload 7 /* m */
            aload 8 /* ap */
            getstatic java.nio.charset.StandardCharsets.UTF_8:Ljava/nio/charset/Charset;
            invokevirtual java.lang.String.getBytes:(Ljava/nio/charset/Charset;)[B
            invokestatic sun.security.ssl.Record.putBytes8:(Ljava/nio/ByteBuffer;[B)V
        end local 8 // java.lang.String ap
        65: .line 222
            iinc 9 1
      StackMap locals:
      StackMap stack:
        66: iload 9
            iload 10
            if_icmplt 63
        67: .line 227
            aload 3 /* chc */
            getfield sun.security.ssl.ClientHandshakeContext.handshakeExtensions:Ljava/util/Map;
            getstatic sun.security.ssl.SSLExtension.CH_ALPN:Lsun/security/ssl/SSLExtension;
        68: .line 228
            new sun.security.ssl.AlpnExtension$AlpnSpec
            dup
            aload 3 /* chc */
            getfield sun.security.ssl.ClientHandshakeContext.sslConfig:Lsun/security/ssl/SSLConfiguration;
            getfield sun.security.ssl.SSLConfiguration.applicationProtocols:[Ljava/lang/String;
            invokespecial sun.security.ssl.AlpnExtension$AlpnSpec.<init>:([Ljava/lang/String;)V
        69: .line 227
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
        70: .line 230
            aload 6 /* extData */
            areturn
        end local 7 // java.nio.ByteBuffer m
        end local 6 // byte[] extData
        end local 5 // int listLength
        end local 4 // java.lang.String[] laps
        end local 3 // sun.security.ssl.ClientHandshakeContext chc
        end local 2 // sun.security.ssl.SSLHandshake$HandshakeMessage message
        end local 1 // sun.security.ssl.ConnectionContext context
        end local 0 // sun.security.ssl.AlpnExtension$CHAlpnProducer this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   71     0        this  Lsun/security/ssl/AlpnExtension$CHAlpnProducer;
            0   71     1     context  Lsun/security/ssl/ConnectionContext;
            0   71     2     message  Lsun/security/ssl/SSLHandshake$HandshakeMessage;
            1   71     3         chc  Lsun/security/ssl/ClientHandshakeContext;
           11   71     4        laps  [Ljava/lang/String;
           17   71     5  listLength  I
           19   57     6          ap  Ljava/lang/String;
           20   57    10      length  I
           60   71     6     extData  [B
           61   71     7           m  Ljava/nio/ByteBuffer;
           64   65     8          ap  Ljava/lang/String;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
         Name  Flags
      context  
      message  
}
SourceFile: "AlpnExtension.java"
NestHost: sun.security.ssl.AlpnExtension
InnerClasses:
  final AlpnSpec = sun.security.ssl.AlpnExtension$AlpnSpec of sun.security.ssl.AlpnExtension
  private final CHAlpnProducer = sun.security.ssl.AlpnExtension$CHAlpnProducer of sun.security.ssl.AlpnExtension
  abstract HandshakeMessage = sun.security.ssl.SSLHandshake$HandshakeMessage of sun.security.ssl.SSLHandshake