final class io.netty.handler.ssl.Java9SslUtils
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: io.netty.handler.ssl.Java9SslUtils
super_class: java.lang.Object
{
private static final io.netty.util.internal.logging.InternalLogger logger;
descriptor: Lio/netty/util/internal/logging/InternalLogger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.reflect.Method SET_APPLICATION_PROTOCOLS;
descriptor: Ljava/lang/reflect/Method;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.reflect.Method GET_APPLICATION_PROTOCOL;
descriptor: Ljava/lang/reflect/Method;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.reflect.Method GET_HANDSHAKE_APPLICATION_PROTOCOL;
descriptor: Ljava/lang/reflect/Method;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.reflect.Method SET_HANDSHAKE_APPLICATION_PROTOCOL_SELECTOR;
descriptor: Ljava/lang/reflect/Method;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.reflect.Method GET_HANDSHAKE_APPLICATION_PROTOCOL_SELECTOR;
descriptor: Ljava/lang/reflect/Method;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=7, locals=7, args_size=0
0: ldc Lio/netty/handler/ssl/Java9SslUtils;
invokestatic io.netty.util.internal.logging.InternalLoggerFactory.getInstance:(Ljava/lang/Class;)Lio/netty/util/internal/logging/InternalLogger;
putstatic io.netty.handler.ssl.Java9SslUtils.logger:Lio/netty/util/internal/logging/InternalLogger;
1: aconst_null
astore 0
start local 0 2: aconst_null
astore 1
start local 1 3: aconst_null
astore 2
start local 2 4: aconst_null
astore 3
start local 3 5: aconst_null
astore 4
start local 4 6: ldc "TLS"
invokestatic javax.net.ssl.SSLContext.getInstance:(Ljava/lang/String;)Ljavax/net/ssl/SSLContext;
astore 5
start local 5 7: aload 5
aconst_null
aconst_null
aconst_null
invokevirtual javax.net.ssl.SSLContext.init:([Ljavax/net/ssl/KeyManager;[Ljavax/net/ssl/TrustManager;Ljava/security/SecureRandom;)V
8: aload 5
invokevirtual javax.net.ssl.SSLContext.createSSLEngine:()Ljavax/net/ssl/SSLEngine;
astore 6
start local 6 9: new io.netty.handler.ssl.Java9SslUtils$1
dup
invokespecial io.netty.handler.ssl.Java9SslUtils$1.<init>:()V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedExceptionAction;)Ljava/lang/Object;
checkcast java.lang.reflect.Method
astore 0
10: aload 0
aload 6
iconst_0
anewarray java.lang.Object
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
pop
11: new io.netty.handler.ssl.Java9SslUtils$2
dup
invokespecial io.netty.handler.ssl.Java9SslUtils$2.<init>:()V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedExceptionAction;)Ljava/lang/Object;
checkcast java.lang.reflect.Method
astore 1
12: aload 1
aload 6
iconst_0
anewarray java.lang.Object
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
pop
13: new io.netty.handler.ssl.Java9SslUtils$3
dup
invokespecial io.netty.handler.ssl.Java9SslUtils$3.<init>:()V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedExceptionAction;)Ljava/lang/Object;
checkcast java.lang.reflect.Method
astore 2
14: aload 2
aload 6
invokevirtual javax.net.ssl.SSLEngine.getSSLParameters:()Ljavax/net/ssl/SSLParameters;
iconst_1
anewarray java.lang.Object
dup
iconst_0
getstatic io.netty.util.internal.EmptyArrays.EMPTY_STRINGS:[Ljava/lang/String;
aastore
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
pop
15: new io.netty.handler.ssl.Java9SslUtils$4
dup
invokespecial io.netty.handler.ssl.Java9SslUtils$4.<init>:()V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedExceptionAction;)Ljava/lang/Object;
checkcast java.lang.reflect.Method
16: astore 3
17: aload 3
aload 6
iconst_1
anewarray java.lang.Object
dup
iconst_0
new io.netty.handler.ssl.Java9SslUtils$5
dup
invokespecial io.netty.handler.ssl.Java9SslUtils$5.<init>:()V
aastore
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
pop
18: new io.netty.handler.ssl.Java9SslUtils$6
dup
invokespecial io.netty.handler.ssl.Java9SslUtils$6.<init>:()V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedExceptionAction;)Ljava/lang/Object;
checkcast java.lang.reflect.Method
19: astore 4
20: aload 4
aload 6
iconst_0
anewarray java.lang.Object
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 6 end local 5 21: goto 31
StackMap locals: java.lang.reflect.Method java.lang.reflect.Method java.lang.reflect.Method java.lang.reflect.Method java.lang.reflect.Method
StackMap stack: java.lang.Throwable
22: astore 5
start local 5 23: getstatic io.netty.handler.ssl.Java9SslUtils.logger:Lio/netty/util/internal/logging/InternalLogger;
ldc "Unable to initialize Java9SslUtils, but the detected javaVersion was: {}"
24: invokestatic io.netty.util.internal.PlatformDependent.javaVersion:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aload 5
25: invokeinterface io.netty.util.internal.logging.InternalLogger.error:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
26: aconst_null
astore 0
27: aconst_null
astore 1
28: aconst_null
astore 2
29: aconst_null
astore 3
30: aconst_null
astore 4
end local 5 31: StackMap locals:
StackMap stack:
aload 0
putstatic io.netty.handler.ssl.Java9SslUtils.GET_HANDSHAKE_APPLICATION_PROTOCOL:Ljava/lang/reflect/Method;
32: aload 1
putstatic io.netty.handler.ssl.Java9SslUtils.GET_APPLICATION_PROTOCOL:Ljava/lang/reflect/Method;
33: aload 2
putstatic io.netty.handler.ssl.Java9SslUtils.SET_APPLICATION_PROTOCOLS:Ljava/lang/reflect/Method;
34: aload 3
putstatic io.netty.handler.ssl.Java9SslUtils.SET_HANDSHAKE_APPLICATION_PROTOCOL_SELECTOR:Ljava/lang/reflect/Method;
35: aload 4
putstatic io.netty.handler.ssl.Java9SslUtils.GET_HANDSHAKE_APPLICATION_PROTOCOL_SELECTOR:Ljava/lang/reflect/Method;
end local 4 end local 3 end local 2 end local 1 end local 0 36: return
LocalVariableTable:
Start End Slot Name Signature
2 36 0 getHandshakeApplicationProtocol Ljava/lang/reflect/Method;
3 36 1 getApplicationProtocol Ljava/lang/reflect/Method;
4 36 2 setApplicationProtocols Ljava/lang/reflect/Method;
5 36 3 setHandshakeApplicationProtocolSelector Ljava/lang/reflect/Method;
6 36 4 getHandshakeApplicationProtocolSelector Ljava/lang/reflect/Method;
7 21 5 context Ljavax/net/ssl/SSLContext;
9 21 6 engine Ljavax/net/ssl/SSLEngine;
23 31 5 t Ljava/lang/Throwable;
Exception table:
from to target type
6 21 22 Class java.lang.Throwable
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/handler/ssl/Java9SslUtils;
static boolean supportsAlpn();
descriptor: ()Z
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic io.netty.handler.ssl.Java9SslUtils.GET_APPLICATION_PROTOCOL:Ljava/lang/reflect/Method;
ifnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
LocalVariableTable:
Start End Slot Name Signature
static java.lang.String getApplicationProtocol(javax.net.ssl.SSLEngine);
descriptor: (Ljavax/net/ssl/SSLEngine;)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: getstatic io.netty.handler.ssl.Java9SslUtils.GET_APPLICATION_PROTOCOL:Ljava/lang/reflect/Method;
aload 0
iconst_0
anewarray java.lang.Object
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
1: areturn
2: StackMap locals:
StackMap stack: java.lang.UnsupportedOperationException
astore 1
start local 1 3: aload 1
athrow
end local 1 4: StackMap locals:
StackMap stack: java.lang.Exception
astore 1
start local 1 5: new java.lang.IllegalStateException
dup
aload 1
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 sslEngine Ljavax/net/ssl/SSLEngine;
3 4 1 ex Ljava/lang/UnsupportedOperationException;
5 6 1 ex Ljava/lang/Exception;
Exception table:
from to target type
0 1 2 Class java.lang.UnsupportedOperationException
0 1 4 Class java.lang.Exception
MethodParameters:
Name Flags
sslEngine
static java.lang.String getHandshakeApplicationProtocol(javax.net.ssl.SSLEngine);
descriptor: (Ljavax/net/ssl/SSLEngine;)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: getstatic io.netty.handler.ssl.Java9SslUtils.GET_HANDSHAKE_APPLICATION_PROTOCOL:Ljava/lang/reflect/Method;
aload 0
iconst_0
anewarray java.lang.Object
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
1: areturn
2: StackMap locals:
StackMap stack: java.lang.UnsupportedOperationException
astore 1
start local 1 3: aload 1
athrow
end local 1 4: StackMap locals:
StackMap stack: java.lang.Exception
astore 1
start local 1 5: new java.lang.IllegalStateException
dup
aload 1
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 sslEngine Ljavax/net/ssl/SSLEngine;
3 4 1 ex Ljava/lang/UnsupportedOperationException;
5 6 1 ex Ljava/lang/Exception;
Exception table:
from to target type
0 1 2 Class java.lang.UnsupportedOperationException
0 1 4 Class java.lang.Exception
MethodParameters:
Name Flags
sslEngine
static void setApplicationProtocols(javax.net.ssl.SSLEngine, java.util.List<java.lang.String>);
descriptor: (Ljavax/net/ssl/SSLEngine;Ljava/util/List;)V
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.net.ssl.SSLEngine.getSSLParameters:()Ljavax/net/ssl/SSLParameters;
astore 2
start local 2 1: aload 1
getstatic io.netty.util.internal.EmptyArrays.EMPTY_STRINGS:[Ljava/lang/String;
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.lang.String[]
astore 3
start local 3 2: getstatic io.netty.handler.ssl.Java9SslUtils.SET_APPLICATION_PROTOCOLS:Ljava/lang/reflect/Method;
aload 2
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 3
aastore
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
pop
3: goto 8
StackMap locals: javax.net.ssl.SSLEngine java.util.List javax.net.ssl.SSLParameters java.lang.String[]
StackMap stack: java.lang.UnsupportedOperationException
4: astore 4
start local 4 5: aload 4
athrow
end local 4 6: StackMap locals:
StackMap stack: java.lang.Exception
astore 4
start local 4 7: new java.lang.IllegalStateException
dup
aload 4
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 4 8: StackMap locals:
StackMap stack:
aload 0
aload 2
invokevirtual javax.net.ssl.SSLEngine.setSSLParameters:(Ljavax/net/ssl/SSLParameters;)V
9: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 engine Ljavax/net/ssl/SSLEngine;
0 10 1 supportedProtocols Ljava/util/List<Ljava/lang/String;>;
1 10 2 parameters Ljavax/net/ssl/SSLParameters;
2 10 3 protocolArray [Ljava/lang/String;
5 6 4 ex Ljava/lang/UnsupportedOperationException;
7 8 4 ex Ljava/lang/Exception;
Exception table:
from to target type
2 3 4 Class java.lang.UnsupportedOperationException
2 3 6 Class java.lang.Exception
Signature: (Ljavax/net/ssl/SSLEngine;Ljava/util/List<Ljava/lang/String;>;)V
MethodParameters:
Name Flags
engine
supportedProtocols
static void setHandshakeApplicationProtocolSelector(javax.net.ssl.SSLEngine, java.util.function.BiFunction<javax.net.ssl.SSLEngine, java.util.List<java.lang.String>, java.lang.String>);
descriptor: (Ljavax/net/ssl/SSLEngine;Ljava/util/function/BiFunction;)V
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: getstatic io.netty.handler.ssl.Java9SslUtils.SET_HANDSHAKE_APPLICATION_PROTOCOL_SELECTOR:Ljava/lang/reflect/Method;
aload 0
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
pop
1: goto 6
StackMap locals:
StackMap stack: java.lang.UnsupportedOperationException
2: astore 2
start local 2 3: aload 2
athrow
end local 2 4: StackMap locals:
StackMap stack: java.lang.Exception
astore 2
start local 2 5: new java.lang.IllegalStateException
dup
aload 2
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 2 6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 engine Ljavax/net/ssl/SSLEngine;
0 7 1 selector Ljava/util/function/BiFunction<Ljavax/net/ssl/SSLEngine;Ljava/util/List<Ljava/lang/String;>;Ljava/lang/String;>;
3 4 2 ex Ljava/lang/UnsupportedOperationException;
5 6 2 ex Ljava/lang/Exception;
Exception table:
from to target type
0 1 2 Class java.lang.UnsupportedOperationException
0 1 4 Class java.lang.Exception
Signature: (Ljavax/net/ssl/SSLEngine;Ljava/util/function/BiFunction<Ljavax/net/ssl/SSLEngine;Ljava/util/List<Ljava/lang/String;>;Ljava/lang/String;>;)V
MethodParameters:
Name Flags
engine
selector
static java.util.function.BiFunction<javax.net.ssl.SSLEngine, java.util.List<java.lang.String>, java.lang.String> getHandshakeApplicationProtocolSelector(javax.net.ssl.SSLEngine);
descriptor: (Ljavax/net/ssl/SSLEngine;)Ljava/util/function/BiFunction;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: getstatic io.netty.handler.ssl.Java9SslUtils.GET_HANDSHAKE_APPLICATION_PROTOCOL_SELECTOR:Ljava/lang/reflect/Method;
aload 0
iconst_0
anewarray java.lang.Object
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
1: checkcast java.util.function.BiFunction
2: areturn
3: StackMap locals:
StackMap stack: java.lang.UnsupportedOperationException
astore 1
start local 1 4: aload 1
athrow
end local 1 5: StackMap locals:
StackMap stack: java.lang.Exception
astore 1
start local 1 6: new java.lang.IllegalStateException
dup
aload 1
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 engine Ljavax/net/ssl/SSLEngine;
4 5 1 ex Ljava/lang/UnsupportedOperationException;
6 7 1 ex Ljava/lang/Exception;
Exception table:
from to target type
0 2 3 Class java.lang.UnsupportedOperationException
0 2 5 Class java.lang.Exception
Signature: (Ljavax/net/ssl/SSLEngine;)Ljava/util/function/BiFunction<Ljavax/net/ssl/SSLEngine;Ljava/util/List<Ljava/lang/String;>;Ljava/lang/String;>;
MethodParameters:
Name Flags
engine
}
SourceFile: "Java9SslUtils.java"
NestMembers:
io.netty.handler.ssl.Java9SslUtils$1 io.netty.handler.ssl.Java9SslUtils$2 io.netty.handler.ssl.Java9SslUtils$3 io.netty.handler.ssl.Java9SslUtils$4 io.netty.handler.ssl.Java9SslUtils$5 io.netty.handler.ssl.Java9SslUtils$6
InnerClasses:
io.netty.handler.ssl.Java9SslUtils$1
io.netty.handler.ssl.Java9SslUtils$2
io.netty.handler.ssl.Java9SslUtils$3
io.netty.handler.ssl.Java9SslUtils$4
io.netty.handler.ssl.Java9SslUtils$5
io.netty.handler.ssl.Java9SslUtils$6