final class sun.security.ssl.ProtocolList
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.security.ssl.ProtocolList
super_class: java.lang.Object
{
private final java.util.ArrayList<sun.security.ssl.ProtocolVersion> protocols;
descriptor: Ljava/util/ArrayList;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/ArrayList<Lsun/security/ssl/ProtocolVersion;>;
private java.lang.String[] protocolNames;
descriptor: [Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
final sun.security.ssl.ProtocolVersion min;
descriptor: Lsun/security/ssl/ProtocolVersion;
flags: (0x0010) ACC_FINAL
final sun.security.ssl.ProtocolVersion max;
descriptor: Lsun/security/ssl/ProtocolVersion;
flags: (0x0010) ACC_FINAL
final sun.security.ssl.ProtocolVersion helloVersion;
descriptor: Lsun/security/ssl/ProtocolVersion;
flags: (0x0010) ACC_FINAL
void <init>(java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic sun.security.ssl.ProtocolList.convert:([Ljava/lang/String;)Ljava/util/ArrayList;
invokespecial sun.security.ssl.ProtocolList.<init>:(Ljava/util/ArrayList;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/ssl/ProtocolList;
0 2 1 names [Ljava/lang/String;
MethodParameters:
Name Flags
names
void <init>(java.util.ArrayList<sun.security.ssl.ProtocolVersion>);
descriptor: (Ljava/util/ArrayList;)V
flags: (0x0000)
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield sun.security.ssl.ProtocolList.protocols:Ljava/util/ArrayList;
2: aload 0
getfield sun.security.ssl.ProtocolList.protocols:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
iconst_1
if_icmpne 5
3: aload 0
getfield sun.security.ssl.ProtocolList.protocols:Ljava/util/ArrayList;
getstatic sun.security.ssl.ProtocolVersion.SSL20Hello:Lsun/security/ssl/ProtocolVersion;
invokevirtual java.util.ArrayList.contains:(Ljava/lang/Object;)Z
ifeq 5
4: new java.lang.IllegalArgumentException
dup
ldc "SSLv2Hello cannot be enabled unless at least one other supported version is also enabled."
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: sun.security.ssl.ProtocolList java.util.ArrayList
StackMap stack:
aload 0
getfield sun.security.ssl.ProtocolList.protocols:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
ifeq 11
6: aload 0
getfield sun.security.ssl.ProtocolList.protocols:Ljava/util/ArrayList;
invokestatic java.util.Collections.sort:(Ljava/util/List;)V
7: aload 0
aload 0
getfield sun.security.ssl.ProtocolList.protocols:Ljava/util/ArrayList;
iconst_0
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
checkcast sun.security.ssl.ProtocolVersion
putfield sun.security.ssl.ProtocolList.min:Lsun/security/ssl/ProtocolVersion;
8: aload 0
aload 0
getfield sun.security.ssl.ProtocolList.protocols:Ljava/util/ArrayList;
aload 0
getfield sun.security.ssl.ProtocolList.protocols:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
iconst_1
isub
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
checkcast sun.security.ssl.ProtocolVersion
putfield sun.security.ssl.ProtocolList.max:Lsun/security/ssl/ProtocolVersion;
9: aload 0
aload 0
getfield sun.security.ssl.ProtocolList.protocols:Ljava/util/ArrayList;
iconst_0
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
checkcast sun.security.ssl.ProtocolVersion
putfield sun.security.ssl.ProtocolList.helloVersion:Lsun/security/ssl/ProtocolVersion;
10: goto 14
11: StackMap locals:
StackMap stack:
aload 0
getstatic sun.security.ssl.ProtocolVersion.NONE:Lsun/security/ssl/ProtocolVersion;
putfield sun.security.ssl.ProtocolList.min:Lsun/security/ssl/ProtocolVersion;
12: aload 0
getstatic sun.security.ssl.ProtocolVersion.NONE:Lsun/security/ssl/ProtocolVersion;
putfield sun.security.ssl.ProtocolList.max:Lsun/security/ssl/ProtocolVersion;
13: aload 0
getstatic sun.security.ssl.ProtocolVersion.NONE:Lsun/security/ssl/ProtocolVersion;
putfield sun.security.ssl.ProtocolList.helloVersion:Lsun/security/ssl/ProtocolVersion;
14: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lsun/security/ssl/ProtocolList;
0 15 1 versions Ljava/util/ArrayList<Lsun/security/ssl/ProtocolVersion;>;
Signature: (Ljava/util/ArrayList<Lsun/security/ssl/ProtocolVersion;>;)V
MethodParameters:
Name Flags
versions
private static java.util.ArrayList<sun.security.ssl.ProtocolVersion> convert(java.lang.String[]);
descriptor: ([Ljava/lang/String;)Ljava/util/ArrayList;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "Protocols may not be null"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
new java.util.ArrayList
dup
iconst_3
invokespecial java.util.ArrayList.<init>:(I)V
astore 1
start local 1 3: iconst_0
istore 2
start local 2 4: goto 9
5: StackMap locals: java.util.ArrayList int
StackMap stack:
aload 0
iload 2
aaload
invokestatic sun.security.ssl.ProtocolVersion.valueOf:(Ljava/lang/String;)Lsun/security/ssl/ProtocolVersion;
astore 3
start local 3 6: aload 1
aload 3
invokevirtual java.util.ArrayList.contains:(Ljava/lang/Object;)Z
ifne 8
7: aload 1
aload 3
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
end local 3 8: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
9: iload 2
aload 0
arraylength
if_icmplt 5
end local 2 10: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 names [Ljava/lang/String;
3 11 1 versions Ljava/util/ArrayList<Lsun/security/ssl/ProtocolVersion;>;
4 10 2 i I
6 8 3 version Lsun/security/ssl/ProtocolVersion;
Signature: ([Ljava/lang/String;)Ljava/util/ArrayList<Lsun/security/ssl/ProtocolVersion;>;
MethodParameters:
Name Flags
names
boolean contains(sun.security.ssl.ProtocolVersion);
descriptor: (Lsun/security/ssl/ProtocolVersion;)Z
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
getstatic sun.security.ssl.ProtocolVersion.SSL20Hello:Lsun/security/ssl/ProtocolVersion;
if_acmpne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.ssl.ProtocolList.protocols:Ljava/util/ArrayList;
aload 1
invokevirtual java.util.ArrayList.contains:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/ssl/ProtocolList;
0 3 1 protocolVersion Lsun/security/ssl/ProtocolVersion;
MethodParameters:
Name Flags
protocolVersion
java.util.Collection<sun.security.ssl.ProtocolVersion> collection();
descriptor: ()Ljava/util/Collection;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.ssl.ProtocolList.protocols:Ljava/util/ArrayList;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/ssl/ProtocolList;
Signature: ()Ljava/util/Collection<Lsun/security/ssl/ProtocolVersion;>;
sun.security.ssl.ProtocolVersion selectProtocolVersion(sun.security.ssl.ProtocolVersion);
descriptor: (Lsun/security/ssl/ProtocolVersion;)Lsun/security/ssl/ProtocolVersion;
flags: (0x0000)
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 0
getfield sun.security.ssl.ProtocolList.protocols:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.iterator:()Ljava/util/Iterator;
astore 4
goto 6
StackMap locals: sun.security.ssl.ProtocolList sun.security.ssl.ProtocolVersion sun.security.ssl.ProtocolVersion top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.security.ssl.ProtocolVersion
astore 3
start local 3 3: aload 3
getfield sun.security.ssl.ProtocolVersion.v:I
aload 1
getfield sun.security.ssl.ProtocolVersion.v:I
if_icmple 5
4: goto 7
5: StackMap locals: sun.security.ssl.ProtocolList sun.security.ssl.ProtocolVersion sun.security.ssl.ProtocolVersion sun.security.ssl.ProtocolVersion java.util.Iterator
StackMap stack:
aload 3
astore 2
end local 3 6: StackMap locals: sun.security.ssl.ProtocolList sun.security.ssl.ProtocolVersion sun.security.ssl.ProtocolVersion top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
7: StackMap locals: sun.security.ssl.ProtocolList sun.security.ssl.ProtocolVersion sun.security.ssl.ProtocolVersion
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/security/ssl/ProtocolList;
0 8 1 protocolVersion Lsun/security/ssl/ProtocolVersion;
1 8 2 selectedVersion Lsun/security/ssl/ProtocolVersion;
3 6 3 pv Lsun/security/ssl/ProtocolVersion;
MethodParameters:
Name Flags
protocolVersion
synchronized java.lang.String[] toStringArray();
descriptor: ()[Ljava/lang/String;
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=3, locals=4, args_size=1
start local 0 0: aload 0
getfield sun.security.ssl.ProtocolList.protocolNames:[Ljava/lang/String;
ifnonnull 7
1: aload 0
aload 0
getfield sun.security.ssl.ProtocolList.protocols:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
anewarray java.lang.String
putfield sun.security.ssl.ProtocolList.protocolNames:[Ljava/lang/String;
2: iconst_0
istore 1
start local 1 3: aload 0
getfield sun.security.ssl.ProtocolList.protocols:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.iterator:()Ljava/util/Iterator;
astore 3
goto 6
StackMap locals: sun.security.ssl.ProtocolList int top java.util.Iterator
StackMap stack:
4: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.security.ssl.ProtocolVersion
astore 2
start local 2 5: aload 0
getfield sun.security.ssl.ProtocolList.protocolNames:[Ljava/lang/String;
iload 1
iinc 1 1
aload 2
getfield sun.security.ssl.ProtocolVersion.name:Ljava/lang/String;
aastore
end local 2 6: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
end local 1 7: StackMap locals: sun.security.ssl.ProtocolList
StackMap stack:
aload 0
getfield sun.security.ssl.ProtocolList.protocolNames:[Ljava/lang/String;
invokevirtual java.lang.String[].clone:()Ljava/lang/Object;
checkcast java.lang.String[]
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/security/ssl/ProtocolList;
3 7 1 i I
5 6 2 version Lsun/security/ssl/ProtocolVersion;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.ssl.ProtocolList.protocols:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/ssl/ProtocolList;
}
SourceFile: "ProtocolList.java"