class jdk.net.ExtendedSocketOptions$1 extends sun.net.ext.ExtendedSocketOptions
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.net.ExtendedSocketOptions$1
super_class: sun.net.ext.ExtendedSocketOptions
{
void <init>(java.util.Set);
descriptor: (Ljava/util/Set;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial sun.net.ext.ExtendedSocketOptions.<init>:(Ljava/util/Set;)V
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/net/ExtendedSocketOptions$1;
0 1 1 $anonymous0 Ljava/util/Set<Ljava/net/SocketOption<*>;>;
MethodParameters:
Name Flags
$anonymous0
public void setOption(java.io.FileDescriptor, java.net.SocketOption<?>, );
descriptor: (Ljava/io/FileDescriptor;Ljava/net/SocketOption;Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 4
start local 4 1: aload 4
ifnull 3
2: aload 4
new jdk.net.NetworkPermission
dup
new java.lang.StringBuilder
dup
ldc "setOption."
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokeinterface java.net.SocketOption.name:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial jdk.net.NetworkPermission.<init>:(Ljava/lang/String;)V
invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
3: StackMap locals: java.lang.SecurityManager
StackMap stack:
aload 1
ifnull 4
aload 1
invokevirtual java.io.FileDescriptor.valid:()Z
ifne 5
4: StackMap locals:
StackMap stack:
new java.net.SocketException
dup
ldc "socket closed"
invokespecial java.net.SocketException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
aload 2
getstatic jdk.net.ExtendedSocketOptions.SO_FLOW_SLA:Ljava/net/SocketOption;
if_acmpne 10
6: getstatic jdk.net.ExtendedSocketOptions.$assertionsDisabled:Z
ifne 7
getstatic jdk.net.ExtendedSocketOptions.flowSupported:Z
ifne 7
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
7: StackMap locals:
StackMap stack:
aload 3
aload 2
invokeinterface java.net.SocketOption.type:()Ljava/lang/Class;
invokestatic jdk.net.ExtendedSocketOptions.checkValueType:(Ljava/lang/Object;Ljava/lang/Class;)Ljava/lang/Object;
checkcast jdk.net.SocketFlow
astore 5
start local 5 8: aload 1
aload 5
invokestatic jdk.net.ExtendedSocketOptions.setFlowOption:(Ljava/io/FileDescriptor;Ljdk/net/SocketFlow;)V
end local 5 9: goto 14
StackMap locals:
StackMap stack:
10: aload 2
getstatic jdk.net.ExtendedSocketOptions.TCP_QUICKACK:Ljava/net/SocketOption;
if_acmpne 13
11: aload 1
aload 3
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
invokestatic jdk.net.ExtendedSocketOptions.setQuickAckOption:(Ljava/io/FileDescriptor;Z)V
12: goto 14
13: StackMap locals:
StackMap stack:
new java.lang.InternalError
dup
new java.lang.StringBuilder
dup
ldc "Unexpected option "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
athrow
14: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Ljdk/net/ExtendedSocketOptions$1;
0 15 1 fd Ljava/io/FileDescriptor;
0 15 2 option Ljava/net/SocketOption<*>;
0 15 3 value Ljava/lang/Object;
1 15 4 sm Ljava/lang/SecurityManager;
8 9 5 flow Ljdk/net/SocketFlow;
Exceptions:
throws java.net.SocketException
Signature: (Ljava/io/FileDescriptor;Ljava/net/SocketOption<*>;Ljava/lang/Object;)V
MethodParameters:
Name Flags
fd
option
value
public getOption(java.io.FileDescriptor, java.net.SocketOption<?>);
descriptor: (Ljava/io/FileDescriptor;Ljava/net/SocketOption;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=3
start local 0 start local 1 start local 2 0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 3
start local 3 1: aload 3
ifnull 3
2: aload 3
new jdk.net.NetworkPermission
dup
new java.lang.StringBuilder
dup
ldc "getOption."
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokeinterface java.net.SocketOption.name:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial jdk.net.NetworkPermission.<init>:(Ljava/lang/String;)V
invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
3: StackMap locals: java.lang.SecurityManager
StackMap stack:
aload 1
ifnull 4
aload 1
invokevirtual java.io.FileDescriptor.valid:()Z
ifne 5
4: StackMap locals:
StackMap stack:
new java.net.SocketException
dup
ldc "socket closed"
invokespecial java.net.SocketException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
aload 2
getstatic jdk.net.ExtendedSocketOptions.SO_FLOW_SLA:Ljava/net/SocketOption;
if_acmpne 10
6: getstatic jdk.net.ExtendedSocketOptions.$assertionsDisabled:Z
ifne 7
getstatic jdk.net.ExtendedSocketOptions.flowSupported:Z
ifne 7
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
7: StackMap locals:
StackMap stack:
invokestatic jdk.net.SocketFlow.create:()Ljdk/net/SocketFlow;
astore 4
start local 4 8: aload 1
aload 4
invokestatic jdk.net.ExtendedSocketOptions.getFlowOption:(Ljava/io/FileDescriptor;Ljdk/net/SocketFlow;)V
9: aload 4
areturn
end local 4 10: StackMap locals:
StackMap stack:
aload 2
getstatic jdk.net.ExtendedSocketOptions.TCP_QUICKACK:Ljava/net/SocketOption;
if_acmpne 12
11: aload 1
invokestatic jdk.net.ExtendedSocketOptions.getQuickAckOption:(Ljava/io/FileDescriptor;)Ljava/lang/Object;
areturn
12: StackMap locals:
StackMap stack:
new java.lang.InternalError
dup
new java.lang.StringBuilder
dup
ldc "Unexpected option "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljdk/net/ExtendedSocketOptions$1;
0 13 1 fd Ljava/io/FileDescriptor;
0 13 2 option Ljava/net/SocketOption<*>;
1 13 3 sm Ljava/lang/SecurityManager;
8 10 4 flow Ljdk/net/SocketFlow;
Exceptions:
throws java.net.SocketException
Signature: (Ljava/io/FileDescriptor;Ljava/net/SocketOption<*>;)Ljava/lang/Object;
MethodParameters:
Name Flags
fd
option
}
SourceFile: "ExtendedSocketOptions.java"
EnclosingMethod: jdk.net.ExtendedSocketOptions
NestHost: jdk.net.ExtendedSocketOptions
InnerClasses:
jdk.net.ExtendedSocketOptions$1