public abstract class java.nio.channels.spi.SelectorProvider
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: java.nio.channels.spi.SelectorProvider
super_class: java.lang.Object
{
private static final java.lang.Object lock;
descriptor: Ljava/lang/Object;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static java.nio.channels.spi.SelectorProvider provider;
descriptor: Ljava/nio/channels/spi/SelectorProvider;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putstatic java.nio.channels.spi.SelectorProvider.lock:Ljava/lang/Object;
1: aconst_null
putstatic java.nio.channels.spi.SelectorProvider.provider:Ljava/nio/channels/spi/SelectorProvider;
return
LocalVariableTable:
Start End Slot Name Signature
private static java.lang.Void checkPermission();
descriptor: ()Ljava/lang/Void;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=1, args_size=0
0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 0
start local 0 1: aload 0
ifnull 3
2: aload 0
new java.lang.RuntimePermission
dup
ldc "selectorProvider"
invokespecial java.lang.RuntimePermission.<init>:(Ljava/lang/String;)V
invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
3: StackMap locals: java.lang.SecurityManager
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 4 0 sm Ljava/lang/SecurityManager;
private void <init>(java.lang.Void);
descriptor: (Ljava/lang/Void;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/nio/channels/spi/SelectorProvider;
0 1 1 ignore Ljava/lang/Void;
MethodParameters:
Name Flags
ignore
protected void <init>();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokestatic java.nio.channels.spi.SelectorProvider.checkPermission:()Ljava/lang/Void;
invokespecial java.nio.channels.spi.SelectorProvider.<init>:(Ljava/lang/Void;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/nio/channels/spi/SelectorProvider;
private static boolean loadProviderFromProperty();
descriptor: ()Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=2, args_size=0
0: ldc "java.nio.channels.spi.SelectorProvider"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 0
start local 0 1: aload 0
ifnonnull 3
2: iconst_0
ireturn
3: StackMap locals: java.lang.String
StackMap stack:
aload 0
iconst_1
4: invokestatic java.lang.ClassLoader.getSystemClassLoader:()Ljava/lang/ClassLoader;
5: invokestatic java.lang.Class.forName:(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;
6: invokevirtual java.lang.Class.newInstance:()Ljava/lang/Object;
7: astore 1
start local 1 8: aload 1
checkcast java.nio.channels.spi.SelectorProvider
putstatic java.nio.channels.spi.SelectorProvider.provider:Ljava/nio/channels/spi/SelectorProvider;
9: iconst_1
ireturn
end local 1 10: StackMap locals:
StackMap stack: java.lang.ClassNotFoundException
astore 1
start local 1 11: new java.util.ServiceConfigurationError
dup
aconst_null
aload 1
invokespecial java.util.ServiceConfigurationError.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 1 12: StackMap locals:
StackMap stack: java.lang.IllegalAccessException
astore 1
start local 1 13: new java.util.ServiceConfigurationError
dup
aconst_null
aload 1
invokespecial java.util.ServiceConfigurationError.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 1 14: StackMap locals:
StackMap stack: java.lang.InstantiationException
astore 1
start local 1 15: new java.util.ServiceConfigurationError
dup
aconst_null
aload 1
invokespecial java.util.ServiceConfigurationError.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 1 16: StackMap locals:
StackMap stack: java.lang.SecurityException
astore 1
start local 1 17: new java.util.ServiceConfigurationError
dup
aconst_null
aload 1
invokespecial java.util.ServiceConfigurationError.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
1 18 0 cn Ljava/lang/String;
8 10 1 tmp Ljava/lang/Object;
11 12 1 x Ljava/lang/ClassNotFoundException;
13 14 1 x Ljava/lang/IllegalAccessException;
15 16 1 x Ljava/lang/InstantiationException;
17 18 1 x Ljava/lang/SecurityException;
Exception table:
from to target type
3 9 10 Class java.lang.ClassNotFoundException
3 9 12 Class java.lang.IllegalAccessException
3 9 14 Class java.lang.InstantiationException
3 9 16 Class java.lang.SecurityException
private static boolean loadProviderAsService();
descriptor: ()Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=3, args_size=0
0: ldc Ljava/nio/channels/spi/SelectorProvider;
1: invokestatic java.lang.ClassLoader.getSystemClassLoader:()Ljava/lang/ClassLoader;
2: invokestatic java.util.ServiceLoader.load:(Ljava/lang/Class;Ljava/lang/ClassLoader;)Ljava/util/ServiceLoader;
3: astore 0
start local 0 4: aload 0
invokevirtual java.util.ServiceLoader.iterator:()Ljava/util/Iterator;
astore 1
start local 1 5: StackMap locals: java.util.ServiceLoader java.util.Iterator
StackMap stack:
aload 1
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
6: iconst_0
ireturn
7: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.nio.channels.spi.SelectorProvider
putstatic java.nio.channels.spi.SelectorProvider.provider:Ljava/nio/channels/spi/SelectorProvider;
8: iconst_1
ireturn
9: StackMap locals:
StackMap stack: java.util.ServiceConfigurationError
astore 2
start local 2 10: aload 2
invokevirtual java.util.ServiceConfigurationError.getCause:()Ljava/lang/Throwable;
instanceof java.lang.SecurityException
ifeq 12
11: goto 5
12: StackMap locals: java.util.ServiceConfigurationError
StackMap stack:
aload 2
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
4 13 0 sl Ljava/util/ServiceLoader<Ljava/nio/channels/spi/SelectorProvider;>;
5 13 1 i Ljava/util/Iterator<Ljava/nio/channels/spi/SelectorProvider;>;
10 13 2 sce Ljava/util/ServiceConfigurationError;
Exception table:
from to target type
5 6 9 Class java.util.ServiceConfigurationError
7 8 9 Class java.util.ServiceConfigurationError
public static java.nio.channels.spi.SelectorProvider provider();
descriptor: ()Ljava/nio/channels/spi/SelectorProvider;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=0
0: getstatic java.nio.channels.spi.SelectorProvider.lock:Ljava/lang/Object;
dup
astore 0
monitorenter
1: getstatic java.nio.channels.spi.SelectorProvider.provider:Ljava/nio/channels/spi/SelectorProvider;
ifnull 4
2: getstatic java.nio.channels.spi.SelectorProvider.provider:Ljava/nio/channels/spi/SelectorProvider;
aload 0
monitorexit
3: areturn
4: StackMap locals: java.lang.Object
StackMap stack:
new java.nio.channels.spi.SelectorProvider$1
dup
invokespecial java.nio.channels.spi.SelectorProvider$1.<init>:()V
5: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.nio.channels.spi.SelectorProvider
aload 0
monitorexit
6: areturn
7: StackMap locals:
StackMap stack: java.lang.Throwable
aload 0
monitorexit
8: athrow
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
1 3 7 any
4 6 7 any
7 8 7 any
public abstract java.nio.channels.DatagramChannel openDatagramChannel();
descriptor: ()Ljava/nio/channels/DatagramChannel;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
public abstract java.nio.channels.DatagramChannel openDatagramChannel(java.net.ProtocolFamily);
descriptor: (Ljava/net/ProtocolFamily;)Ljava/nio/channels/DatagramChannel;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
family
public abstract java.nio.channels.Pipe openPipe();
descriptor: ()Ljava/nio/channels/Pipe;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
public abstract java.nio.channels.spi.AbstractSelector openSelector();
descriptor: ()Ljava/nio/channels/spi/AbstractSelector;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
public abstract java.nio.channels.ServerSocketChannel openServerSocketChannel();
descriptor: ()Ljava/nio/channels/ServerSocketChannel;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
public abstract java.nio.channels.SocketChannel openSocketChannel();
descriptor: ()Ljava/nio/channels/SocketChannel;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
public java.nio.channels.Channel inheritedChannel();
descriptor: ()Ljava/nio/channels/Channel;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/nio/channels/spi/SelectorProvider;
Exceptions:
throws java.io.IOException
}
SourceFile: "SelectorProvider.java"
NestMembers:
java.nio.channels.spi.SelectorProvider$1
InnerClasses:
java.nio.channels.spi.SelectorProvider$1