public class sun.nio.ch.DefaultSelectorProvider
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.nio.ch.DefaultSelectorProvider
super_class: java.lang.Object
{
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/nio/ch/DefaultSelectorProvider;
private static java.nio.channels.spi.SelectorProvider createProvider(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/nio/channels/spi/SelectorProvider;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
astore 1
start local 1 1: goto 4
end local 1 StackMap locals:
StackMap stack: java.lang.ClassNotFoundException
2: astore 2
start local 2 3: new java.lang.AssertionError
dup
aload 2
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
end local 2 start local 1 4: StackMap locals: java.lang.Class
StackMap stack:
aload 1
invokevirtual java.lang.Class.newInstance:()Ljava/lang/Object;
checkcast java.nio.channels.spi.SelectorProvider
5: areturn
6: StackMap locals:
StackMap stack: java.lang.ReflectiveOperationException
astore 2
start local 2 7: new java.lang.AssertionError
dup
aload 2
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 cn Ljava/lang/String;
1 2 1 c Ljava/lang/Class<Ljava/nio/channels/spi/SelectorProvider;>;
4 8 1 c Ljava/lang/Class<Ljava/nio/channels/spi/SelectorProvider;>;
3 4 2 x Ljava/lang/ClassNotFoundException;
7 8 2 x Ljava/lang/ReflectiveOperationException;
Exception table:
from to target type
0 1 2 Class java.lang.ClassNotFoundException
4 5 6 Class java.lang.IllegalAccessException
4 5 6 Class java.lang.InstantiationException
MethodParameters:
Name Flags
cn
public static java.nio.channels.spi.SelectorProvider create();
descriptor: ()Ljava/nio/channels/spi/SelectorProvider;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=0
0: new sun.security.action.GetPropertyAction
dup
ldc "os.name"
invokespecial sun.security.action.GetPropertyAction.<init>:(Ljava/lang/String;)V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.String
1: astore 0
start local 0 2: aload 0
ldc "SunOS"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
3: ldc "sun.nio.ch.DevPollSelectorProvider"
invokestatic sun.nio.ch.DefaultSelectorProvider.createProvider:(Ljava/lang/String;)Ljava/nio/channels/spi/SelectorProvider;
areturn
4: StackMap locals: java.lang.String
StackMap stack:
aload 0
ldc "Linux"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
5: ldc "sun.nio.ch.EPollSelectorProvider"
invokestatic sun.nio.ch.DefaultSelectorProvider.createProvider:(Ljava/lang/String;)Ljava/nio/channels/spi/SelectorProvider;
areturn
6: StackMap locals:
StackMap stack:
new sun.nio.ch.PollSelectorProvider
dup
invokespecial sun.nio.ch.PollSelectorProvider.<init>:()V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
2 7 0 osname Ljava/lang/String;
}
SourceFile: "DefaultSelectorProvider.java"