final class sun.security.ssl.SupportedVersionsExtension$SHSupportedVersionsSpec implements sun.security.ssl.SSLExtension$SSLExtensionSpec
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.security.ssl.SupportedVersionsExtension$SHSupportedVersionsSpec
super_class: java.lang.Object
{
final int selectedVersion;
descriptor: I
flags: (0x0010) ACC_FINAL
private void <init>(sun.security.ssl.ProtocolVersion);
descriptor: (Lsun/security/ssl/ProtocolVersion;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, 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
getfield sun.security.ssl.ProtocolVersion.id:I
putfield sun.security.ssl.SupportedVersionsExtension$SHSupportedVersionsSpec.selectedVersion:I
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/ssl/SupportedVersionsExtension$SHSupportedVersionsSpec;
0 3 1 selectedVersion Lsun/security/ssl/ProtocolVersion;
MethodParameters:
Name Flags
selectedVersion
private void <init>(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
iconst_2
if_icmpeq 5
2: new javax.net.ssl.SSLProtocolException
dup
3: ldc "Invalid supported_versions: insufficient data"
4: invokespecial javax.net.ssl.SSLProtocolException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: sun.security.ssl.SupportedVersionsExtension$SHSupportedVersionsSpec java.nio.ByteBuffer
StackMap stack:
aload 1
invokevirtual java.nio.ByteBuffer.get:()B
istore 2
start local 2 6: aload 1
invokevirtual java.nio.ByteBuffer.get:()B
istore 3
start local 3 7: aload 0
iload 2
sipush 255
iand
bipush 8
ishl
iload 3
sipush 255
iand
ior
putfield sun.security.ssl.SupportedVersionsExtension$SHSupportedVersionsSpec.selectedVersion:I
8: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/security/ssl/SupportedVersionsExtension$SHSupportedVersionsSpec;
0 9 1 m Ljava/nio/ByteBuffer;
6 9 2 major B
7 9 3 minor B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
m
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: new java.text.MessageFormat
dup
1: ldc "\"selected version\": '['{0}']'"
getstatic java.util.Locale.ENGLISH:Ljava/util/Locale;
2: invokespecial java.text.MessageFormat.<init>:(Ljava/lang/String;Ljava/util/Locale;)V
astore 1
start local 1 3: iconst_1
anewarray java.lang.Object
dup
iconst_0
4: aload 0
getfield sun.security.ssl.SupportedVersionsExtension$SHSupportedVersionsSpec.selectedVersion:I
invokestatic sun.security.ssl.ProtocolVersion.nameOf:(I)Ljava/lang/String;
aastore
5: astore 2
start local 2 6: aload 1
aload 2
invokevirtual java.text.MessageFormat.format:(Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/security/ssl/SupportedVersionsExtension$SHSupportedVersionsSpec;
3 7 1 messageFormat Ljava/text/MessageFormat;
6 7 2 messageFields [Ljava/lang/Object;
}
SourceFile: "SupportedVersionsExtension.java"
NestHost: sun.security.ssl.SupportedVersionsExtension
InnerClasses:
abstract SSLExtensionSpec = sun.security.ssl.SSLExtension$SSLExtensionSpec of sun.security.ssl.SSLExtension
final SHSupportedVersionsSpec = sun.security.ssl.SupportedVersionsExtension$SHSupportedVersionsSpec of sun.security.ssl.SupportedVersionsExtension