public class sun.net.ExtendedOptionsImpl
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.net.ExtendedOptionsImpl
super_class: java.lang.Object
{
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new sun.net.ExtendedOptionsImpl$1
dup
invokespecial sun.net.ExtendedOptionsImpl$1.<init>:()V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
pop
1: invokestatic sun.net.ExtendedOptionsImpl.init:()V
2: return
LocalVariableTable:
Start End Slot Name Signature
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
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/net/ExtendedOptionsImpl;
public static void checkSetOptionPermission(java.net.SocketOption<?>);
descriptor: (Ljava/net/SocketOption;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: return
3: StackMap locals: java.lang.SecurityManager
StackMap stack:
new java.lang.StringBuilder
dup
ldc "setOption."
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
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;
astore 2
start local 2 4: aload 1
new jdk.net.NetworkPermission
dup
aload 2
invokespecial jdk.net.NetworkPermission.<init>:(Ljava/lang/String;)V
invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 option Ljava/net/SocketOption<*>;
1 6 1 sm Ljava/lang/SecurityManager;
4 6 2 check Ljava/lang/String;
Signature: (Ljava/net/SocketOption<*>;)V
MethodParameters:
Name Flags
option
public static void checkGetOptionPermission(java.net.SocketOption<?>);
descriptor: (Ljava/net/SocketOption;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: return
3: StackMap locals: java.lang.SecurityManager
StackMap stack:
new java.lang.StringBuilder
dup
ldc "getOption."
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
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;
astore 2
start local 2 4: aload 1
new jdk.net.NetworkPermission
dup
aload 2
invokespecial jdk.net.NetworkPermission.<init>:(Ljava/lang/String;)V
invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 option Ljava/net/SocketOption<*>;
1 6 1 sm Ljava/lang/SecurityManager;
4 6 2 check Ljava/lang/String;
Signature: (Ljava/net/SocketOption<*>;)V
MethodParameters:
Name Flags
option
public static void checkValueType(, java.lang.Class<?>);
descriptor: (Ljava/lang/Object;Ljava/lang/Class;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifne 5
1: new java.lang.StringBuilder
dup
ldc "Found: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " Expected: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
2: aload 1
invokevirtual java.lang.Class.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
3: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
start local 2 4: new java.lang.IllegalArgumentException
dup
aload 2
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 2 5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 value Ljava/lang/Object;
0 6 1 type Ljava/lang/Class<*>;
4 5 2 s Ljava/lang/String;
Signature: (Ljava/lang/Object;Ljava/lang/Class<*>;)V
MethodParameters:
Name Flags
value
type
private static native void init();
descriptor: ()V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
public static native void setFlowOption(java.io.FileDescriptor, jdk.net.SocketFlow);
descriptor: (Ljava/io/FileDescriptor;Ljdk/net/SocketFlow;)V
flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
fd
f
public static native void getFlowOption(java.io.FileDescriptor, jdk.net.SocketFlow);
descriptor: (Ljava/io/FileDescriptor;Ljdk/net/SocketFlow;)V
flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
fd
f
public static native boolean flowSupported();
descriptor: ()Z
flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
}
SourceFile: "ExtendedOptionsImpl.java"
NestMembers:
sun.net.ExtendedOptionsImpl$1
InnerClasses:
sun.net.ExtendedOptionsImpl$1