final class sun.security.ssl.ServerNameExtension extends sun.security.ssl.HelloExtension
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.security.ssl.ServerNameExtension
super_class: sun.security.ssl.HelloExtension
{
static final int ;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 3
private java.util.Map<java.lang.Integer, javax.net.ssl.SNIServerName> sniMap;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Map<Ljava/lang/Integer;Ljavax/net/ssl/SNIServerName;>;
private int listLength;
descriptor: I
flags: (0x0002) ACC_PRIVATE
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic sun.security.ssl.ExtensionType.EXT_SERVER_NAME:Lsun/security/ssl/ExtensionType;
invokespecial sun.security.ssl.HelloExtension.<init>:(Lsun/security/ssl/ExtensionType;)V
1: aload 0
iconst_0
putfield sun.security.ssl.ServerNameExtension.listLength:I
2: aload 0
invokestatic java.util.Collections.emptyMap:()Ljava/util/Map;
putfield sun.security.ssl.ServerNameExtension.sniMap:Ljava/util/Map;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/security/ssl/ServerNameExtension;
Exceptions:
throws java.io.IOException
void <init>(java.util.List<javax.net.ssl.SNIServerName>);
descriptor: (Ljava/util/List;)V
flags: (0x0000)
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getstatic sun.security.ssl.ExtensionType.EXT_SERVER_NAME:Lsun/security/ssl/ExtensionType;
invokespecial sun.security.ssl.HelloExtension.<init>:(Lsun/security/ssl/ExtensionType;)V
1: aload 0
iconst_0
putfield sun.security.ssl.ServerNameExtension.listLength:I
2: aload 0
new java.util.LinkedHashMap
dup
invokespecial java.util.LinkedHashMap.<init>:()V
putfield sun.security.ssl.ServerNameExtension.sniMap:Ljava/util/Map;
3: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 10
StackMap locals: sun.security.ssl.ServerNameExtension java.util.List top java.util.Iterator
StackMap stack:
4: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.net.ssl.SNIServerName
astore 2
start local 2 5: aload 0
getfield sun.security.ssl.ServerNameExtension.sniMap:Ljava/util/Map;
aload 2
invokevirtual javax.net.ssl.SNIServerName.getType:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
ifnull 9
6: new java.lang.RuntimeException
dup
7: new java.lang.StringBuilder
dup
ldc "Duplicated server name of type "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual javax.net.ssl.SNIServerName.getType:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
8: invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals: sun.security.ssl.ServerNameExtension java.util.List javax.net.ssl.SNIServerName java.util.Iterator
StackMap stack:
aload 0
dup
getfield sun.security.ssl.ServerNameExtension.listLength:I
aload 2
invokevirtual javax.net.ssl.SNIServerName.getEncoded:()[B
arraylength
iconst_3
iadd
iadd
putfield sun.security.ssl.ServerNameExtension.listLength:I
end local 2 10: StackMap locals: sun.security.ssl.ServerNameExtension java.util.List top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
11: aload 0
getfield sun.security.ssl.ServerNameExtension.listLength:I
ifne 13
12: new java.lang.RuntimeException
dup
ldc "The ServerNameList cannot be empty"
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
13: StackMap locals: sun.security.ssl.ServerNameExtension java.util.List
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lsun/security/ssl/ServerNameExtension;
0 14 1 serverNames Ljava/util/List<Ljavax/net/ssl/SNIServerName;>;
5 10 2 serverName Ljavax/net/ssl/SNIServerName;
Exceptions:
throws java.io.IOException
Signature: (Ljava/util/List<Ljavax/net/ssl/SNIServerName;>;)V
MethodParameters:
Name Flags
serverNames
void <init>(sun.security.ssl.HandshakeInStream, int);
descriptor: (Lsun/security/ssl/HandshakeInStream;I)V
flags: (0x0000)
Code:
stack=7, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getstatic sun.security.ssl.ExtensionType.EXT_SERVER_NAME:Lsun/security/ssl/ExtensionType;
invokespecial sun.security.ssl.HelloExtension.<init>:(Lsun/security/ssl/ExtensionType;)V
1: iload 2
istore 3
start local 3 2: iload 2
iconst_2
if_icmplt 49
3: aload 0
aload 1
invokevirtual sun.security.ssl.HandshakeInStream.getInt16:()I
putfield sun.security.ssl.ServerNameExtension.listLength:I
4: aload 0
getfield sun.security.ssl.ServerNameExtension.listLength:I
ifeq 5
aload 0
getfield sun.security.ssl.ServerNameExtension.listLength:I
iconst_2
iadd
iload 2
if_icmpeq 8
5: StackMap locals: sun.security.ssl.ServerNameExtension sun.security.ssl.HandshakeInStream int int
StackMap stack:
new javax.net.ssl.SSLProtocolException
dup
6: new java.lang.StringBuilder
dup
ldc "Invalid "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.security.ssl.ServerNameExtension.type:Lsun/security/ssl/ExtensionType;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " extension"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
7: invokespecial javax.net.ssl.SSLProtocolException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
iinc 3 -2
9: aload 0
new java.util.LinkedHashMap
dup
invokespecial java.util.LinkedHashMap.<init>:()V
putfield sun.security.ssl.ServerNameExtension.sniMap:Ljava/util/Map;
10: goto 47
11: StackMap locals:
StackMap stack:
aload 1
invokevirtual sun.security.ssl.HandshakeInStream.getInt8:()I
istore 4
start local 4 12: aload 1
invokevirtual sun.security.ssl.HandshakeInStream.getBytes16:()[B
astore 5
start local 5 13: iload 4
tableswitch { // 0 - 0
0: 14
default: 30
}
14: StackMap locals: int byte[]
StackMap stack:
aload 5
arraylength
ifne 18
15: new javax.net.ssl.SSLProtocolException
dup
16: ldc "Empty HostName in server name indication"
17: invokespecial javax.net.ssl.SSLProtocolException.<init>:(Ljava/lang/String;)V
athrow
18: StackMap locals:
StackMap stack:
new javax.net.ssl.SNIHostName
dup
aload 5
invokespecial javax.net.ssl.SNIHostName.<init>:([B)V
astore 6
start local 6 19: goto 40
end local 6 StackMap locals:
StackMap stack: java.lang.IllegalArgumentException
20: astore 7
start local 7 21: new javax.net.ssl.SSLProtocolException
dup
22: new java.lang.StringBuilder
dup
ldc "Illegal server name, type=host_name("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
23: iload 4
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "), name="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
24: new java.lang.String
dup
aload 5
getstatic java.nio.charset.StandardCharsets.UTF_8:Ljava/nio/charset/Charset;
invokespecial java.lang.String.<init>:([BLjava/nio/charset/Charset;)V
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
25: ldc ", value="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 5
invokestatic sun.security.ssl.Debug.toString:([B)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
26: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
27: invokespecial javax.net.ssl.SSLProtocolException.<init>:(Ljava/lang/String;)V
astore 8
start local 8 28: aload 8
aload 7
invokevirtual javax.net.ssl.SSLProtocolException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
pop
29: aload 8
athrow
end local 8 end local 7 30: StackMap locals:
StackMap stack:
new sun.security.ssl.ServerNameExtension$UnknownServerName
dup
iload 4
aload 5
invokespecial sun.security.ssl.ServerNameExtension$UnknownServerName.<init>:(I[B)V
astore 6
start local 6 31: goto 40
end local 6 StackMap locals:
StackMap stack: java.lang.IllegalArgumentException
32: astore 7
start local 7 33: new javax.net.ssl.SSLProtocolException
dup
34: new java.lang.StringBuilder
dup
ldc "Illegal server name, type=("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 4
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
35: ldc "), value="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 5
invokestatic sun.security.ssl.Debug.toString:([B)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
36: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
37: invokespecial javax.net.ssl.SSLProtocolException.<init>:(Ljava/lang/String;)V
astore 8
start local 8 38: aload 8
aload 7
invokevirtual javax.net.ssl.SSLProtocolException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
pop
39: aload 8
athrow
end local 8 end local 7 start local 6 40: StackMap locals: javax.net.ssl.SNIServerName
StackMap stack:
aload 0
getfield sun.security.ssl.ServerNameExtension.sniMap:Ljava/util/Map;
aload 6
invokevirtual javax.net.ssl.SNIServerName.getType:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aload 6
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
ifnull 46
41: new javax.net.ssl.SSLProtocolException
dup
42: new java.lang.StringBuilder
dup
ldc "Duplicated server name of type "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
43: aload 6
invokevirtual javax.net.ssl.SNIServerName.getType:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
44: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
45: invokespecial javax.net.ssl.SSLProtocolException.<init>:(Ljava/lang/String;)V
athrow
46: StackMap locals:
StackMap stack:
iload 3
aload 5
arraylength
iconst_3
iadd
isub
istore 3
end local 6 end local 5 end local 4 47: StackMap locals:
StackMap stack:
iload 3
ifgt 11
48: goto 52
StackMap locals:
StackMap stack:
49: iload 2
ifne 52
50: aload 0
iconst_0
putfield sun.security.ssl.ServerNameExtension.listLength:I
51: aload 0
invokestatic java.util.Collections.emptyMap:()Ljava/util/Map;
putfield sun.security.ssl.ServerNameExtension.sniMap:Ljava/util/Map;
52: StackMap locals:
StackMap stack:
iload 3
ifeq 54
53: new javax.net.ssl.SSLProtocolException
dup
ldc "Invalid server_name extension"
invokespecial javax.net.ssl.SSLProtocolException.<init>:(Ljava/lang/String;)V
athrow
54: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 55 0 this Lsun/security/ssl/ServerNameExtension;
0 55 1 s Lsun/security/ssl/HandshakeInStream;
0 55 2 len I
2 55 3 remains I
12 47 4 code I
13 47 5 encoded [B
19 20 6 serverName Ljavax/net/ssl/SNIServerName;
31 32 6 serverName Ljavax/net/ssl/SNIServerName;
40 47 6 serverName Ljavax/net/ssl/SNIServerName;
21 30 7 iae Ljava/lang/IllegalArgumentException;
28 30 8 spe Ljavax/net/ssl/SSLProtocolException;
33 40 7 iae Ljava/lang/IllegalArgumentException;
38 40 8 spe Ljavax/net/ssl/SSLProtocolException;
Exception table:
from to target type
18 19 20 Class java.lang.IllegalArgumentException
30 31 32 Class java.lang.IllegalArgumentException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
s
len
java.util.List<javax.net.ssl.SNIServerName> getServerNames();
descriptor: ()Ljava/util/List;
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.ssl.ServerNameExtension.sniMap:Ljava/util/Map;
ifnull 3
aload 0
getfield sun.security.ssl.ServerNameExtension.sniMap:Ljava/util/Map;
invokeinterface java.util.Map.isEmpty:()Z
ifne 3
1: new java.util.ArrayList
dup
aload 0
getfield sun.security.ssl.ServerNameExtension.sniMap:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
2: invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
areturn
3: StackMap locals:
StackMap stack:
invokestatic java.util.Collections.emptyList:()Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/security/ssl/ServerNameExtension;
Signature: ()Ljava/util/List<Ljavax/net/ssl/SNIServerName;>;
boolean isMatched(java.util.Collection<javax.net.ssl.SNIMatcher>);
descriptor: (Ljava/util/Collection;)Z
flags: (0x0000)
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.security.ssl.ServerNameExtension.sniMap:Ljava/util/Map;
ifnull 7
aload 0
getfield sun.security.ssl.ServerNameExtension.sniMap:Ljava/util/Map;
invokeinterface java.util.Map.isEmpty:()Z
ifne 7
1: aload 1
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 3
goto 6
StackMap locals: sun.security.ssl.ServerNameExtension java.util.Collection top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.net.ssl.SNIMatcher
astore 2
start local 2 3: aload 0
getfield sun.security.ssl.ServerNameExtension.sniMap:Ljava/util/Map;
aload 2
invokevirtual javax.net.ssl.SNIMatcher.getType:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast javax.net.ssl.SNIServerName
astore 4
start local 4 4: aload 4
ifnull 6
aload 2
aload 4
invokevirtual javax.net.ssl.SNIMatcher.matches:(Ljavax/net/ssl/SNIServerName;)Z
ifne 6
5: iconst_0
ireturn
end local 4 end local 2 6: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
7: StackMap locals: sun.security.ssl.ServerNameExtension java.util.Collection
StackMap stack:
iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/security/ssl/ServerNameExtension;
0 8 1 matchers Ljava/util/Collection<Ljavax/net/ssl/SNIMatcher;>;
3 6 2 matcher Ljavax/net/ssl/SNIMatcher;
4 6 4 sniName Ljavax/net/ssl/SNIServerName;
Signature: (Ljava/util/Collection<Ljavax/net/ssl/SNIMatcher;>;)Z
MethodParameters:
Name Flags
matchers
boolean isIdentical(java.util.List<javax.net.ssl.SNIServerName>);
descriptor: (Ljava/util/List;)Z
flags: (0x0000)
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface java.util.List.size:()I
aload 0
getfield sun.security.ssl.ServerNameExtension.sniMap:Ljava/util/Map;
invokeinterface java.util.Map.size:()I
if_icmpne 8
1: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 6
StackMap locals: sun.security.ssl.ServerNameExtension java.util.List top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.net.ssl.SNIServerName
astore 2
start local 2 3: aload 0
getfield sun.security.ssl.ServerNameExtension.sniMap:Ljava/util/Map;
aload 2
invokevirtual javax.net.ssl.SNIServerName.getType:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast javax.net.ssl.SNIServerName
astore 4
start local 4 4: aload 4
ifnull 5
aload 2
aload 4
invokevirtual javax.net.ssl.SNIServerName.equals:(Ljava/lang/Object;)Z
ifne 6
5: StackMap locals: sun.security.ssl.ServerNameExtension java.util.List javax.net.ssl.SNIServerName java.util.Iterator javax.net.ssl.SNIServerName
StackMap stack:
iconst_0
ireturn
end local 4 end local 2 6: StackMap locals: sun.security.ssl.ServerNameExtension java.util.List top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
7: iconst_1
ireturn
8: StackMap locals: sun.security.ssl.ServerNameExtension java.util.List
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/security/ssl/ServerNameExtension;
0 9 1 other Ljava/util/List<Ljavax/net/ssl/SNIServerName;>;
3 6 2 sniInOther Ljavax/net/ssl/SNIServerName;
4 6 4 sniName Ljavax/net/ssl/SNIServerName;
Signature: (Ljava/util/List<Ljavax/net/ssl/SNIServerName;>;)Z
MethodParameters:
Name Flags
other
int length();
descriptor: ()I
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.ssl.ServerNameExtension.listLength:I
ifne 1
iconst_4
goto 2
StackMap locals:
StackMap stack:
1: bipush 6
aload 0
getfield sun.security.ssl.ServerNameExtension.listLength:I
iadd
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/ssl/ServerNameExtension;
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 start local 1 0: aload 1
aload 0
getfield sun.security.ssl.ServerNameExtension.type:Lsun/security/ssl/ExtensionType;
getfield sun.security.ssl.ExtensionType.id:I
invokevirtual sun.security.ssl.HandshakeOutStream.putInt16:(I)V
1: aload 0
getfield sun.security.ssl.ServerNameExtension.listLength:I
ifne 4
2: aload 1
aload 0
getfield sun.security.ssl.ServerNameExtension.listLength:I
invokevirtual sun.security.ssl.HandshakeOutStream.putInt16:(I)V
3: goto 11
4: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield sun.security.ssl.ServerNameExtension.listLength:I
iconst_2
iadd
invokevirtual sun.security.ssl.HandshakeOutStream.putInt16:(I)V
5: aload 1
aload 0
getfield sun.security.ssl.ServerNameExtension.listLength:I
invokevirtual sun.security.ssl.HandshakeOutStream.putInt16:(I)V
6: aload 0
getfield sun.security.ssl.ServerNameExtension.sniMap:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 3
goto 10
StackMap locals: sun.security.ssl.ServerNameExtension sun.security.ssl.HandshakeOutStream top java.util.Iterator
StackMap stack:
7: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.net.ssl.SNIServerName
astore 2
start local 2 8: aload 1
aload 2
invokevirtual javax.net.ssl.SNIServerName.getType:()I
invokevirtual sun.security.ssl.HandshakeOutStream.putInt8:(I)V
9: aload 1
aload 2
invokevirtual javax.net.ssl.SNIServerName.getEncoded:()[B
invokevirtual sun.security.ssl.HandshakeOutStream.putBytes16:([B)V
end local 2 10: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
11: StackMap locals: sun.security.ssl.ServerNameExtension sun.security.ssl.HandshakeOutStream
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lsun/security/ssl/ServerNameExtension;
0 12 1 s Lsun/security/ssl/HandshakeOutStream;
8 10 2 sniName Ljavax/net/ssl/SNIServerName;
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 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 1: aload 0
getfield sun.security.ssl.ServerNameExtension.sniMap:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: sun.security.ssl.ServerNameExtension java.lang.StringBuilder top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.net.ssl.SNIServerName
astore 2
start local 2 3: aload 1
new java.lang.StringBuilder
dup
ldc "["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: new java.lang.StringBuilder
dup
ldc "Extension "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.security.ssl.ServerNameExtension.type:Lsun/security/ssl/ExtensionType;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ", server_name: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/security/ssl/ServerNameExtension;
1 6 1 sb Ljava/lang/StringBuilder;
3 4 2 sniName Ljavax/net/ssl/SNIServerName;
}
SourceFile: "ServerNameExtension.java"
NestMembers:
sun.security.ssl.ServerNameExtension$UnknownServerName
InnerClasses:
private UnknownServerName = sun.security.ssl.ServerNameExtension$UnknownServerName of sun.security.ssl.ServerNameExtension