class sun.nio.ch.Net
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.nio.ch.Net
super_class: java.lang.Object
{
static final java.net.ProtocolFamily UNSPEC;
descriptor: Ljava/net/ProtocolFamily;
flags: (0x0018) ACC_STATIC, ACC_FINAL
private static boolean revealLocalAddress;
descriptor: Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static volatile boolean propRevealLocalAddress;
descriptor: Z
flags: (0x004a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE
private static final boolean exclusiveBind;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final boolean fastLoopback;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static volatile boolean checkedIPv6;
descriptor: Z
flags: (0x004a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE
private static volatile boolean isIPv6Available;
descriptor: Z
flags: (0x004a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE
public static final int SHUT_RD;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 0
public static final int SHUT_WR;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
public static final int SHUT_RDWR;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 2
public static final short POLLIN;
descriptor: S
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final short POLLOUT;
descriptor: S
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final short POLLERR;
descriptor: S
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final short POLLHUP;
descriptor: S
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final short POLLNVAL;
descriptor: S
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final short POLLCONN;
descriptor: S
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=2, args_size=0
0: new sun.nio.ch.Net$1
dup
invokespecial sun.nio.ch.Net$1.<init>:()V
putstatic sun.nio.ch.Net.UNSPEC:Ljava/net/ProtocolFamily;
1: iconst_0
putstatic sun.nio.ch.Net.checkedIPv6:Z
2: invokestatic sun.nio.ch.IOUtil.load:()V
3: invokestatic sun.nio.ch.Net.initIDs:()V
4: invokestatic sun.nio.ch.Net.pollinValue:()S
putstatic sun.nio.ch.Net.POLLIN:S
5: invokestatic sun.nio.ch.Net.polloutValue:()S
putstatic sun.nio.ch.Net.POLLOUT:S
6: invokestatic sun.nio.ch.Net.pollerrValue:()S
putstatic sun.nio.ch.Net.POLLERR:S
7: invokestatic sun.nio.ch.Net.pollhupValue:()S
putstatic sun.nio.ch.Net.POLLHUP:S
8: invokestatic sun.nio.ch.Net.pollnvalValue:()S
putstatic sun.nio.ch.Net.POLLNVAL:S
9: invokestatic sun.nio.ch.Net.pollconnValue:()S
putstatic sun.nio.ch.Net.POLLCONN:S
10: invokestatic sun.nio.ch.Net.isExclusiveBindAvailable:()I
istore 0
start local 0 11: iload 0
iflt 26
12: new sun.nio.ch.Net$2
dup
invokespecial sun.nio.ch.Net$2.<init>:()V
13: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.String
14: astore 1
start local 1 15: aload 1
ifnull 21
16: aload 1
invokevirtual java.lang.String.length:()I
ifne 18
17: iconst_1
goto 19
StackMap locals: int java.lang.String
StackMap stack:
18: aload 1
invokestatic java.lang.Boolean.parseBoolean:(Ljava/lang/String;)Z
19: StackMap locals:
StackMap stack: int
putstatic sun.nio.ch.Net.exclusiveBind:Z
20: goto 27
StackMap locals:
StackMap stack:
21: iload 0
iconst_1
if_icmpne 24
22: iconst_1
putstatic sun.nio.ch.Net.exclusiveBind:Z
23: goto 27
24: StackMap locals:
StackMap stack:
iconst_0
putstatic sun.nio.ch.Net.exclusiveBind:Z
end local 1 25: goto 27
26: StackMap locals:
StackMap stack:
iconst_0
putstatic sun.nio.ch.Net.exclusiveBind:Z
27: StackMap locals:
StackMap stack:
invokestatic sun.nio.ch.Net.isFastTcpLoopbackRequested:()Z
putstatic sun.nio.ch.Net.fastLoopback:Z
end local 0 28: return
LocalVariableTable:
Start End Slot Name Signature
11 28 0 availLevel I
15 25 1 exclBindProp Ljava/lang/String;
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/Net;
static boolean isIPv6Available();
descriptor: ()Z
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic sun.nio.ch.Net.checkedIPv6:Z
ifne 3
1: invokestatic sun.nio.ch.Net.isIPv6Available0:()Z
putstatic sun.nio.ch.Net.isIPv6Available:Z
2: iconst_1
putstatic sun.nio.ch.Net.checkedIPv6:Z
3: StackMap locals:
StackMap stack:
getstatic sun.nio.ch.Net.isIPv6Available:Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
static boolean useExclusiveBind();
descriptor: ()Z
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic sun.nio.ch.Net.exclusiveBind:Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
static boolean canIPv6SocketJoinIPv4Group();
descriptor: ()Z
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic sun.nio.ch.Net.canIPv6SocketJoinIPv4Group0:()Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
static boolean canJoin6WithIPv4Group();
descriptor: ()Z
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic sun.nio.ch.Net.canJoin6WithIPv4Group0:()Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
static java.net.InetSocketAddress checkAddress(java.net.SocketAddress);
descriptor: (Ljava/net/SocketAddress;)Ljava/net/InetSocketAddress;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: new java.lang.NullPointerException
dup
invokespecial java.lang.NullPointerException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
instanceof java.net.InetSocketAddress
ifne 4
3: new java.nio.channels.UnsupportedAddressTypeException
dup
invokespecial java.nio.channels.UnsupportedAddressTypeException.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
aload 0
checkcast java.net.InetSocketAddress
astore 1
start local 1 5: aload 1
invokevirtual java.net.InetSocketAddress.isUnresolved:()Z
ifeq 7
6: new java.nio.channels.UnresolvedAddressException
dup
invokespecial java.nio.channels.UnresolvedAddressException.<init>:()V
athrow
7: StackMap locals: java.net.InetSocketAddress
StackMap stack:
aload 1
invokevirtual java.net.InetSocketAddress.getAddress:()Ljava/net/InetAddress;
astore 2
start local 2 8: aload 2
instanceof java.net.Inet4Address
ifne 10
aload 2
instanceof java.net.Inet6Address
ifne 10
9: new java.lang.IllegalArgumentException
dup
ldc "Invalid address type"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
10: StackMap locals: java.net.InetAddress
StackMap stack:
aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 sa Ljava/net/SocketAddress;
5 11 1 isa Ljava/net/InetSocketAddress;
8 11 2 addr Ljava/net/InetAddress;
MethodParameters:
Name Flags
sa
static java.net.InetSocketAddress asInetSocketAddress(java.net.SocketAddress);
descriptor: (Ljava/net/SocketAddress;)Ljava/net/InetSocketAddress;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
instanceof java.net.InetSocketAddress
ifne 2
1: new java.nio.channels.UnsupportedAddressTypeException
dup
invokespecial java.nio.channels.UnsupportedAddressTypeException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
checkcast java.net.InetSocketAddress
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 sa Ljava/net/SocketAddress;
MethodParameters:
Name Flags
sa
static void translateToSocketException(java.lang.Exception);
descriptor: (Ljava/lang/Exception;)V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
instanceof java.net.SocketException
ifeq 2
1: aload 0
checkcast java.net.SocketException
athrow
2: StackMap locals:
StackMap stack:
aload 0
astore 1
start local 1 3: aload 0
instanceof java.nio.channels.ClosedChannelException
ifeq 5
4: new java.net.SocketException
dup
ldc "Socket is closed"
invokespecial java.net.SocketException.<init>:(Ljava/lang/String;)V
astore 1
goto 15
5: StackMap locals: java.lang.Exception
StackMap stack:
aload 0
instanceof java.nio.channels.NotYetConnectedException
ifeq 7
6: new java.net.SocketException
dup
ldc "Socket is not connected"
invokespecial java.net.SocketException.<init>:(Ljava/lang/String;)V
astore 1
goto 15
7: StackMap locals:
StackMap stack:
aload 0
instanceof java.nio.channels.AlreadyBoundException
ifeq 9
8: new java.net.SocketException
dup
ldc "Already bound"
invokespecial java.net.SocketException.<init>:(Ljava/lang/String;)V
astore 1
goto 15
9: StackMap locals:
StackMap stack:
aload 0
instanceof java.nio.channels.NotYetBoundException
ifeq 11
10: new java.net.SocketException
dup
ldc "Socket is not bound yet"
invokespecial java.net.SocketException.<init>:(Ljava/lang/String;)V
astore 1
goto 15
11: StackMap locals:
StackMap stack:
aload 0
instanceof java.nio.channels.UnsupportedAddressTypeException
ifeq 13
12: new java.net.SocketException
dup
ldc "Unsupported address type"
invokespecial java.net.SocketException.<init>:(Ljava/lang/String;)V
astore 1
goto 15
13: StackMap locals:
StackMap stack:
aload 0
instanceof java.nio.channels.UnresolvedAddressException
ifeq 15
14: new java.net.SocketException
dup
ldc "Unresolved address"
invokespecial java.net.SocketException.<init>:(Ljava/lang/String;)V
astore 1
15: StackMap locals:
StackMap stack:
aload 1
aload 0
if_acmpeq 17
16: aload 1
aload 0
invokevirtual java.lang.Exception.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
pop
17: StackMap locals:
StackMap stack:
aload 1
instanceof java.net.SocketException
ifeq 19
18: aload 1
checkcast java.net.SocketException
athrow
19: StackMap locals:
StackMap stack:
aload 1
instanceof java.lang.RuntimeException
ifeq 21
20: aload 1
checkcast java.lang.RuntimeException
athrow
21: StackMap locals:
StackMap stack:
new java.lang.Error
dup
ldc "Untranslated exception"
aload 1
invokespecial java.lang.Error.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 x Ljava/lang/Exception;
3 22 1 nx Ljava/lang/Exception;
Exceptions:
throws java.net.SocketException
MethodParameters:
Name Flags
x
static void translateException(java.lang.Exception, boolean);
descriptor: (Ljava/lang/Exception;Z)V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
instanceof java.io.IOException
ifeq 2
1: aload 0
checkcast java.io.IOException
athrow
2: StackMap locals:
StackMap stack:
iload 1
ifeq 5
3: aload 0
instanceof java.nio.channels.UnresolvedAddressException
ifeq 5
4: new java.net.UnknownHostException
dup
invokespecial java.net.UnknownHostException.<init>:()V
athrow
5: StackMap locals:
StackMap stack:
aload 0
invokestatic sun.nio.ch.Net.translateToSocketException:(Ljava/lang/Exception;)V
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 x Ljava/lang/Exception;
0 7 1 unknownHostForUnresolved Z
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
x
unknownHostForUnresolved
static void translateException(java.lang.Exception);
descriptor: (Ljava/lang/Exception;)V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
invokestatic sun.nio.ch.Net.translateException:(Ljava/lang/Exception;Z)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 x Ljava/lang/Exception;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
x
static java.net.InetSocketAddress getRevealedLocalAddress(java.net.InetSocketAddress);
descriptor: (Ljava/net/InetSocketAddress;)Ljava/net/InetSocketAddress;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 1
start local 1 1: aload 0
ifnull 2
aload 1
ifnonnull 3
2: StackMap locals: java.lang.SecurityManager
StackMap stack:
aload 0
areturn
3: StackMap locals:
StackMap stack:
invokestatic sun.nio.ch.Net.getRevealLocalAddress:()Z
ifne 8
4: aload 1
aload 0
invokevirtual java.net.InetSocketAddress.getAddress:()Ljava/net/InetAddress;
invokevirtual java.net.InetAddress.getHostAddress:()Ljava/lang/String;
iconst_m1
invokevirtual java.lang.SecurityManager.checkConnect:(Ljava/lang/String;I)V
5: goto 8
StackMap locals:
StackMap stack: java.lang.SecurityException
6: pop
7: aload 0
invokevirtual java.net.InetSocketAddress.getPort:()I
invokestatic sun.nio.ch.Net.getLoopbackAddress:(I)Ljava/net/InetSocketAddress;
astore 0
8: StackMap locals:
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 addr Ljava/net/InetSocketAddress;
1 9 1 sm Ljava/lang/SecurityManager;
Exception table:
from to target type
4 5 6 Class java.lang.SecurityException
MethodParameters:
Name Flags
addr
static java.lang.String getRevealedLocalAddressAsString(java.net.InetSocketAddress);
descriptor: (Ljava/net/InetSocketAddress;)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: invokestatic sun.nio.ch.Net.getRevealLocalAddress:()Z
ifne 2
invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
ifnull 2
1: aload 0
invokevirtual java.net.InetSocketAddress.getPort:()I
invokestatic sun.nio.ch.Net.getLoopbackAddress:(I)Ljava/net/InetSocketAddress;
astore 0
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.net.InetSocketAddress.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 addr Ljava/net/InetSocketAddress;
MethodParameters:
Name Flags
addr
private static boolean getRevealLocalAddress();
descriptor: ()Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: getstatic sun.nio.ch.Net.propRevealLocalAddress:Z
ifne 7
1: new sun.nio.ch.Net$3
dup
invokespecial sun.nio.ch.Net$3.<init>:()V
2: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedExceptionAction;)Ljava/lang/Object;
checkcast java.lang.String
3: invokestatic java.lang.Boolean.parseBoolean:(Ljava/lang/String;)Z
putstatic sun.nio.ch.Net.revealLocalAddress:Z
4: goto 6
StackMap locals:
StackMap stack: java.lang.Exception
5: pop
6: StackMap locals:
StackMap stack:
iconst_1
putstatic sun.nio.ch.Net.propRevealLocalAddress:Z
7: StackMap locals:
StackMap stack:
getstatic sun.nio.ch.Net.revealLocalAddress:Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
1 4 5 Class java.lang.Exception
private static java.net.InetSocketAddress getLoopbackAddress(int);
descriptor: (I)Ljava/net/InetSocketAddress;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new java.net.InetSocketAddress
dup
invokestatic java.net.InetAddress.getLoopbackAddress:()Ljava/net/InetAddress;
1: iload 0
2: invokespecial java.net.InetSocketAddress.<init>:(Ljava/net/InetAddress;I)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 port I
MethodParameters:
Name Flags
port
static java.net.Inet4Address anyInet4Address(java.net.NetworkInterface);
descriptor: (Ljava/net/NetworkInterface;)Ljava/net/Inet4Address;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new sun.nio.ch.Net$4
dup
aload 0
invokespecial sun.nio.ch.Net$4.<init>:(Ljava/net/NetworkInterface;)V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.net.Inet4Address
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 interf Ljava/net/NetworkInterface;
MethodParameters:
Name Flags
interf final
static int inet4AsInt(java.net.InetAddress);
descriptor: (Ljava/net/InetAddress;)I
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
instanceof java.net.Inet4Address
ifeq 7
1: aload 0
invokevirtual java.net.InetAddress.getAddress:()[B
astore 1
start local 1 2: aload 1
iconst_3
baload
sipush 255
iand
istore 2
start local 2 3: iload 2
aload 1
iconst_2
baload
bipush 8
ishl
ldc 65280
iand
ior
istore 2
4: iload 2
aload 1
iconst_1
baload
bipush 16
ishl
ldc 16711680
iand
ior
istore 2
5: iload 2
aload 1
iconst_0
baload
bipush 24
ishl
ldc -16777216
iand
ior
istore 2
6: iload 2
ireturn
end local 2 end local 1 7: StackMap locals:
StackMap stack:
new java.lang.AssertionError
dup
ldc "Should not reach here"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 ia Ljava/net/InetAddress;
2 7 1 addr [B
3 7 2 address I
MethodParameters:
Name Flags
ia
static java.net.InetAddress inet4FromInt(int);
descriptor: (I)Ljava/net/InetAddress;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: iconst_4
newarray 8
astore 1
start local 1 1: aload 1
iconst_0
iload 0
bipush 24
iushr
sipush 255
iand
i2b
bastore
2: aload 1
iconst_1
iload 0
bipush 16
iushr
sipush 255
iand
i2b
bastore
3: aload 1
iconst_2
iload 0
bipush 8
iushr
sipush 255
iand
i2b
bastore
4: aload 1
iconst_3
iload 0
sipush 255
iand
i2b
bastore
5: aload 1
invokestatic java.net.InetAddress.getByAddress:([B)Ljava/net/InetAddress;
6: areturn
7: StackMap locals: int byte[]
StackMap stack: java.net.UnknownHostException
pop
8: new java.lang.AssertionError
dup
ldc "Should not reach here"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 address I
1 9 1 addr [B
Exception table:
from to target type
5 6 7 Class java.net.UnknownHostException
MethodParameters:
Name Flags
address
static byte[] inet6AsByteArray(java.net.InetAddress);
descriptor: (Ljava/net/InetAddress;)[B
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
instanceof java.net.Inet6Address
ifeq 2
1: aload 0
invokevirtual java.net.InetAddress.getAddress:()[B
areturn
2: StackMap locals:
StackMap stack:
aload 0
instanceof java.net.Inet4Address
ifeq 12
3: aload 0
invokevirtual java.net.InetAddress.getAddress:()[B
astore 1
start local 1 4: bipush 16
newarray 8
astore 2
start local 2 5: aload 2
bipush 10
iconst_m1
bastore
6: aload 2
bipush 11
iconst_m1
bastore
7: aload 2
bipush 12
aload 1
iconst_0
baload
bastore
8: aload 2
bipush 13
aload 1
iconst_1
baload
bastore
9: aload 2
bipush 14
aload 1
iconst_2
baload
bastore
10: aload 2
bipush 15
aload 1
iconst_3
baload
bastore
11: aload 2
areturn
end local 2 end local 1 12: StackMap locals:
StackMap stack:
new java.lang.AssertionError
dup
ldc "Should not reach here"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 ia Ljava/net/InetAddress;
4 12 1 ip4address [B
5 12 2 address [B
MethodParameters:
Name Flags
ia
static void setSocketOption(java.io.FileDescriptor, java.net.ProtocolFamily, java.net.SocketOption<?>, );
descriptor: (Ljava/io/FileDescriptor;Ljava/net/ProtocolFamily;Ljava/net/SocketOption;Ljava/lang/Object;)V
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "Invalid option value"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.net.SocketOption.type:()Ljava/lang/Class;
astore 4
start local 4 3: aload 4
ldc Ljdk/net/SocketFlow;
if_acmpne 9
4: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 5
start local 5 5: aload 5
ifnull 7
6: aload 5
new jdk.net.NetworkPermission
dup
ldc "setOption.SO_FLOW_SLA"
invokespecial jdk.net.NetworkPermission.<init>:(Ljava/lang/String;)V
invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
7: StackMap locals: java.lang.Class java.lang.SecurityManager
StackMap stack:
aload 0
aload 3
checkcast jdk.net.SocketFlow
invokestatic sun.net.ExtendedOptionsImpl.setFlowOption:(Ljava/io/FileDescriptor;Ljdk/net/SocketFlow;)V
8: return
end local 5 9: StackMap locals:
StackMap stack:
aload 4
ldc Ljava/lang/Integer;
if_acmpeq 11
aload 4
ldc Ljava/lang/Boolean;
if_acmpeq 11
10: new java.lang.AssertionError
dup
ldc "Should not reach here"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
11: StackMap locals:
StackMap stack:
aload 2
getstatic java.net.StandardSocketOptions.SO_RCVBUF:Ljava/net/SocketOption;
if_acmpeq 13
12: aload 2
getstatic java.net.StandardSocketOptions.SO_SNDBUF:Ljava/net/SocketOption;
if_acmpne 16
13: StackMap locals:
StackMap stack:
aload 3
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
istore 5
start local 5 14: iload 5
ifge 16
15: new java.lang.IllegalArgumentException
dup
ldc "Invalid send/receive buffer size"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 5 16: StackMap locals:
StackMap stack:
aload 2
getstatic java.net.StandardSocketOptions.SO_LINGER:Ljava/net/SocketOption;
if_acmpne 22
17: aload 3
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
istore 5
start local 5 18: iload 5
ifge 20
19: iconst_m1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
astore 3
20: StackMap locals: int
StackMap stack:
iload 5
ldc 65535
if_icmple 22
21: ldc 65535
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
astore 3
end local 5 22: StackMap locals:
StackMap stack:
aload 2
getstatic java.net.StandardSocketOptions.IP_TOS:Ljava/net/SocketOption;
if_acmpne 26
23: aload 3
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
istore 5
start local 5 24: iload 5
iflt 25
iload 5
sipush 255
if_icmple 26
25: StackMap locals: int
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "Invalid IP_TOS value"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 5 26: StackMap locals:
StackMap stack:
aload 2
getstatic java.net.StandardSocketOptions.IP_MULTICAST_TTL:Ljava/net/SocketOption;
if_acmpne 30
27: aload 3
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
istore 5
start local 5 28: iload 5
iflt 29
iload 5
sipush 255
if_icmple 30
29: StackMap locals: int
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "Invalid TTL/hop value"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 5 30: StackMap locals:
StackMap stack:
aload 2
aload 1
invokestatic sun.nio.ch.SocketOptionRegistry.findOption:(Ljava/net/SocketOption;Ljava/net/ProtocolFamily;)Lsun/nio/ch/OptionKey;
astore 5
start local 5 31: aload 5
ifnonnull 33
32: new java.lang.AssertionError
dup
ldc "Option not found"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
33: StackMap locals: sun.nio.ch.OptionKey
StackMap stack:
aload 4
ldc Ljava/lang/Integer;
if_acmpne 36
34: aload 3
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
istore 6
start local 6 35: goto 40
end local 6 36: StackMap locals:
StackMap stack:
aload 3
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
istore 7
start local 7 37: iload 7
ifeq 38
iconst_1
goto 39
StackMap locals: java.io.FileDescriptor java.net.ProtocolFamily java.net.SocketOption java.lang.Object java.lang.Class sun.nio.ch.OptionKey top int
StackMap stack:
38: iconst_0
StackMap locals:
StackMap stack: int
39: istore 6
end local 7 start local 6 40: StackMap locals: java.io.FileDescriptor java.net.ProtocolFamily java.net.SocketOption java.lang.Object java.lang.Class sun.nio.ch.OptionKey int
StackMap stack:
aload 1
getstatic sun.nio.ch.Net.UNSPEC:Ljava/net/ProtocolFamily;
if_acmpne 41
iconst_1
goto 42
StackMap locals:
StackMap stack:
41: iconst_0
StackMap locals:
StackMap stack: int
42: istore 7
start local 7 43: aload 1
getstatic java.net.StandardProtocolFamily.INET6:Ljava/net/StandardProtocolFamily;
if_acmpne 44
iconst_1
goto 45
StackMap locals: int
StackMap stack:
44: iconst_0
StackMap locals:
StackMap stack: int
45: istore 8
start local 8 46: aload 0
iload 7
aload 5
invokevirtual sun.nio.ch.OptionKey.level:()I
aload 5
invokevirtual sun.nio.ch.OptionKey.name:()I
iload 6
iload 8
invokestatic sun.nio.ch.Net.setIntOption0:(Ljava/io/FileDescriptor;ZIIIZ)V
47: return
end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 48 0 fd Ljava/io/FileDescriptor;
0 48 1 family Ljava/net/ProtocolFamily;
0 48 2 name Ljava/net/SocketOption<*>;
0 48 3 value Ljava/lang/Object;
3 48 4 type Ljava/lang/Class<*>;
5 9 5 sm Ljava/lang/SecurityManager;
14 16 5 i I
18 22 5 i I
24 26 5 i I
28 30 5 i I
31 48 5 key Lsun/nio/ch/OptionKey;
35 36 6 arg I
40 48 6 arg I
37 40 7 b Z
43 48 7 mayNeedConversion Z
46 48 8 isIPv6 Z
Exceptions:
throws java.io.IOException
Signature: (Ljava/io/FileDescriptor;Ljava/net/ProtocolFamily;Ljava/net/SocketOption<*>;Ljava/lang/Object;)V
MethodParameters:
Name Flags
fd
family
name
value
static getSocketOption(java.io.FileDescriptor, java.net.ProtocolFamily, java.net.SocketOption<?>);
descriptor: (Ljava/io/FileDescriptor;Ljava/net/ProtocolFamily;Ljava/net/SocketOption;)Ljava/lang/Object;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokeinterface java.net.SocketOption.type:()Ljava/lang/Class;
astore 3
start local 3 1: aload 3
ldc Ljdk/net/SocketFlow;
if_acmpne 8
2: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 4
start local 4 3: aload 4
ifnull 5
4: aload 4
new jdk.net.NetworkPermission
dup
ldc "getOption.SO_FLOW_SLA"
invokespecial jdk.net.NetworkPermission.<init>:(Ljava/lang/String;)V
invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
5: StackMap locals: java.lang.Class java.lang.SecurityManager
StackMap stack:
invokestatic jdk.net.SocketFlow.create:()Ljdk/net/SocketFlow;
astore 5
start local 5 6: aload 0
aload 5
invokestatic sun.net.ExtendedOptionsImpl.getFlowOption:(Ljava/io/FileDescriptor;Ljdk/net/SocketFlow;)V
7: aload 5
areturn
end local 5 end local 4 8: StackMap locals:
StackMap stack:
aload 3
ldc Ljava/lang/Integer;
if_acmpeq 10
aload 3
ldc Ljava/lang/Boolean;
if_acmpeq 10
9: new java.lang.AssertionError
dup
ldc "Should not reach here"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
10: StackMap locals:
StackMap stack:
aload 2
aload 1
invokestatic sun.nio.ch.SocketOptionRegistry.findOption:(Ljava/net/SocketOption;Ljava/net/ProtocolFamily;)Lsun/nio/ch/OptionKey;
astore 4
start local 4 11: aload 4
ifnonnull 13
12: new java.lang.AssertionError
dup
ldc "Option not found"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
13: StackMap locals: sun.nio.ch.OptionKey
StackMap stack:
aload 1
getstatic sun.nio.ch.Net.UNSPEC:Ljava/net/ProtocolFamily;
if_acmpne 14
iconst_1
goto 15
StackMap locals:
StackMap stack:
14: iconst_0
StackMap locals:
StackMap stack: int
15: istore 5
start local 5 16: aload 0
iload 5
aload 4
invokevirtual sun.nio.ch.OptionKey.level:()I
aload 4
invokevirtual sun.nio.ch.OptionKey.name:()I
invokestatic sun.nio.ch.Net.getIntOption0:(Ljava/io/FileDescriptor;ZII)I
istore 6
start local 6 17: aload 3
ldc Ljava/lang/Integer;
if_acmpne 19
18: iload 6
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
areturn
19: StackMap locals: int int
StackMap stack:
iload 6
ifne 20
getstatic java.lang.Boolean.FALSE:Ljava/lang/Boolean;
goto 21
StackMap locals:
StackMap stack:
20: getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
StackMap locals:
StackMap stack: java.lang.Boolean
21: areturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 fd Ljava/io/FileDescriptor;
0 22 1 family Ljava/net/ProtocolFamily;
0 22 2 name Ljava/net/SocketOption<*>;
1 22 3 type Ljava/lang/Class<*>;
3 8 4 sm Ljava/lang/SecurityManager;
6 8 5 flow Ljdk/net/SocketFlow;
11 22 4 key Lsun/nio/ch/OptionKey;
16 22 5 mayNeedConversion Z
17 22 6 value I
Exceptions:
throws java.io.IOException
Signature: (Ljava/io/FileDescriptor;Ljava/net/ProtocolFamily;Ljava/net/SocketOption<*>;)Ljava/lang/Object;
MethodParameters:
Name Flags
fd
family
name
public static boolean isFastTcpLoopbackRequested();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=0
0: new sun.nio.ch.Net$5
dup
invokespecial sun.nio.ch.Net$5.<init>:()V
1: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.String
astore 0
start local 0 2: ldc ""
aload 0
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 5
3: iconst_1
istore 1
start local 1 4: goto 6
end local 1 5: StackMap locals: java.lang.String
StackMap stack:
aload 0
invokestatic java.lang.Boolean.parseBoolean:(Ljava/lang/String;)Z
istore 1
start local 1 6: StackMap locals: int
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
2 7 0 loopbackProp Ljava/lang/String;
4 5 1 enable Z
6 7 1 enable Z
private static native boolean isIPv6Available0();
descriptor: ()Z
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
private static native int isExclusiveBindAvailable();
descriptor: ()I
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
private static native boolean canIPv6SocketJoinIPv4Group0();
descriptor: ()Z
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
private static native boolean canJoin6WithIPv4Group0();
descriptor: ()Z
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
static java.io.FileDescriptor socket(boolean);
descriptor: (Z)Ljava/io/FileDescriptor;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic sun.nio.ch.Net.UNSPEC:Ljava/net/ProtocolFamily;
iload 0
invokestatic sun.nio.ch.Net.socket:(Ljava/net/ProtocolFamily;Z)Ljava/io/FileDescriptor;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 stream Z
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
stream
static java.io.FileDescriptor socket(java.net.ProtocolFamily, boolean);
descriptor: (Ljava/net/ProtocolFamily;Z)Ljava/io/FileDescriptor;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: invokestatic sun.nio.ch.Net.isIPv6Available:()Z
ifeq 3
1: aload 0
getstatic java.net.StandardProtocolFamily.INET:Ljava/net/StandardProtocolFamily;
if_acmpeq 3
2: iconst_1
goto 4
StackMap locals:
StackMap stack:
3: iconst_0
StackMap locals:
StackMap stack: int
4: istore 2
start local 2 5: iload 2
iload 1
iconst_0
getstatic sun.nio.ch.Net.fastLoopback:Z
invokestatic sun.nio.ch.Net.socket0:(ZZZZ)I
invokestatic sun.nio.ch.IOUtil.newFD:(I)Ljava/io/FileDescriptor;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 family Ljava/net/ProtocolFamily;
0 6 1 stream Z
5 6 2 preferIPv6 Z
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
family
stream
static java.io.FileDescriptor serverSocket(boolean);
descriptor: (Z)Ljava/io/FileDescriptor;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: invokestatic sun.nio.ch.Net.isIPv6Available:()Z
iload 0
iconst_1
getstatic sun.nio.ch.Net.fastLoopback:Z
invokestatic sun.nio.ch.Net.socket0:(ZZZZ)I
invokestatic sun.nio.ch.IOUtil.newFD:(I)Ljava/io/FileDescriptor;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 stream Z
MethodParameters:
Name Flags
stream
private static native int socket0(boolean, boolean, boolean, boolean);
descriptor: (ZZZZ)I
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
preferIPv6
stream
reuse
fastLoopback
static void bind(java.io.FileDescriptor, java.net.InetAddress, int);
descriptor: (Ljava/io/FileDescriptor;Ljava/net/InetAddress;I)V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic sun.nio.ch.Net.UNSPEC:Ljava/net/ProtocolFamily;
aload 0
aload 1
iload 2
invokestatic sun.nio.ch.Net.bind:(Ljava/net/ProtocolFamily;Ljava/io/FileDescriptor;Ljava/net/InetAddress;I)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 fd Ljava/io/FileDescriptor;
0 2 1 addr Ljava/net/InetAddress;
0 2 2 port I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
fd
addr
port
static void bind(java.net.ProtocolFamily, java.io.FileDescriptor, java.net.InetAddress, int);
descriptor: (Ljava/net/ProtocolFamily;Ljava/io/FileDescriptor;Ljava/net/InetAddress;I)V
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: invokestatic sun.nio.ch.Net.isIPv6Available:()Z
ifeq 3
1: aload 0
getstatic java.net.StandardProtocolFamily.INET:Ljava/net/StandardProtocolFamily;
if_acmpeq 3
2: iconst_1
goto 4
StackMap locals:
StackMap stack:
3: iconst_0
StackMap locals:
StackMap stack: int
4: istore 4
start local 4 5: aload 1
iload 4
getstatic sun.nio.ch.Net.exclusiveBind:Z
aload 2
iload 3
invokestatic sun.nio.ch.Net.bind0:(Ljava/io/FileDescriptor;ZZLjava/net/InetAddress;I)V
6: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 family Ljava/net/ProtocolFamily;
0 7 1 fd Ljava/io/FileDescriptor;
0 7 2 addr Ljava/net/InetAddress;
0 7 3 port I
5 7 4 preferIPv6 Z
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
family
fd
addr
port
private static native void bind0(java.io.FileDescriptor, boolean, boolean, java.net.InetAddress, int);
descriptor: (Ljava/io/FileDescriptor;ZZLjava/net/InetAddress;I)V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
fd
preferIPv6
useExclBind
addr
port
static native void listen(java.io.FileDescriptor, int);
descriptor: (Ljava/io/FileDescriptor;I)V
flags: (0x0108) ACC_STATIC, ACC_NATIVE
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
fd
backlog
static int connect(java.io.FileDescriptor, java.net.InetAddress, int);
descriptor: (Ljava/io/FileDescriptor;Ljava/net/InetAddress;I)I
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic sun.nio.ch.Net.UNSPEC:Ljava/net/ProtocolFamily;
aload 0
aload 1
iload 2
invokestatic sun.nio.ch.Net.connect:(Ljava/net/ProtocolFamily;Ljava/io/FileDescriptor;Ljava/net/InetAddress;I)I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 fd Ljava/io/FileDescriptor;
0 1 1 remote Ljava/net/InetAddress;
0 1 2 remotePort I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
fd
remote
remotePort
static int connect(java.net.ProtocolFamily, java.io.FileDescriptor, java.net.InetAddress, int);
descriptor: (Ljava/net/ProtocolFamily;Ljava/io/FileDescriptor;Ljava/net/InetAddress;I)I
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: invokestatic sun.nio.ch.Net.isIPv6Available:()Z
ifeq 3
1: aload 0
getstatic java.net.StandardProtocolFamily.INET:Ljava/net/StandardProtocolFamily;
if_acmpeq 3
2: iconst_1
goto 4
StackMap locals:
StackMap stack:
3: iconst_0
StackMap locals:
StackMap stack: int
4: istore 4
start local 4 5: iload 4
aload 1
aload 2
iload 3
invokestatic sun.nio.ch.Net.connect0:(ZLjava/io/FileDescriptor;Ljava/net/InetAddress;I)I
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 family Ljava/net/ProtocolFamily;
0 6 1 fd Ljava/io/FileDescriptor;
0 6 2 remote Ljava/net/InetAddress;
0 6 3 remotePort I
5 6 4 preferIPv6 Z
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
family
fd
remote
remotePort
private static native int connect0(boolean, java.io.FileDescriptor, java.net.InetAddress, int);
descriptor: (ZLjava/io/FileDescriptor;Ljava/net/InetAddress;I)I
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
preferIPv6
fd
remote
remotePort
static native void shutdown(java.io.FileDescriptor, int);
descriptor: (Ljava/io/FileDescriptor;I)V
flags: (0x0108) ACC_STATIC, ACC_NATIVE
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
fd
how
private static native int localPort(java.io.FileDescriptor);
descriptor: (Ljava/io/FileDescriptor;)I
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
fd
private static native java.net.InetAddress localInetAddress(java.io.FileDescriptor);
descriptor: (Ljava/io/FileDescriptor;)Ljava/net/InetAddress;
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
fd
static java.net.InetSocketAddress localAddress(java.io.FileDescriptor);
descriptor: (Ljava/io/FileDescriptor;)Ljava/net/InetSocketAddress;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new java.net.InetSocketAddress
dup
aload 0
invokestatic sun.nio.ch.Net.localInetAddress:(Ljava/io/FileDescriptor;)Ljava/net/InetAddress;
aload 0
invokestatic sun.nio.ch.Net.localPort:(Ljava/io/FileDescriptor;)I
invokespecial java.net.InetSocketAddress.<init>:(Ljava/net/InetAddress;I)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 fd Ljava/io/FileDescriptor;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
fd
private static native int remotePort(java.io.FileDescriptor);
descriptor: (Ljava/io/FileDescriptor;)I
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
fd
private static native java.net.InetAddress remoteInetAddress(java.io.FileDescriptor);
descriptor: (Ljava/io/FileDescriptor;)Ljava/net/InetAddress;
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
fd
static java.net.InetSocketAddress remoteAddress(java.io.FileDescriptor);
descriptor: (Ljava/io/FileDescriptor;)Ljava/net/InetSocketAddress;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new java.net.InetSocketAddress
dup
aload 0
invokestatic sun.nio.ch.Net.remoteInetAddress:(Ljava/io/FileDescriptor;)Ljava/net/InetAddress;
aload 0
invokestatic sun.nio.ch.Net.remotePort:(Ljava/io/FileDescriptor;)I
invokespecial java.net.InetSocketAddress.<init>:(Ljava/net/InetAddress;I)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 fd Ljava/io/FileDescriptor;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
fd
private static native int getIntOption0(java.io.FileDescriptor, boolean, int, int);
descriptor: (Ljava/io/FileDescriptor;ZII)I
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
fd
mayNeedConversion
level
opt
private static native void setIntOption0(java.io.FileDescriptor, boolean, int, int, int, boolean);
descriptor: (Ljava/io/FileDescriptor;ZIIIZ)V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
fd
mayNeedConversion
level
opt
arg
isIPv6
static native int poll(java.io.FileDescriptor, int, long);
descriptor: (Ljava/io/FileDescriptor;IJ)I
flags: (0x0108) ACC_STATIC, ACC_NATIVE
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
fd
events
timeout
static int join4(java.io.FileDescriptor, int, int, int);
descriptor: (Ljava/io/FileDescriptor;III)I
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iconst_1
aload 0
iload 1
iload 2
iload 3
invokestatic sun.nio.ch.Net.joinOrDrop4:(ZLjava/io/FileDescriptor;III)I
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 fd Ljava/io/FileDescriptor;
0 1 1 group I
0 1 2 interf I
0 1 3 source I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
fd
group
interf
source
static void drop4(java.io.FileDescriptor, int, int, int);
descriptor: (Ljava/io/FileDescriptor;III)V
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iconst_0
aload 0
iload 1
iload 2
iload 3
invokestatic sun.nio.ch.Net.joinOrDrop4:(ZLjava/io/FileDescriptor;III)I
pop
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 fd Ljava/io/FileDescriptor;
0 2 1 group I
0 2 2 interf I
0 2 3 source I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
fd
group
interf
source
private static native int joinOrDrop4(boolean, java.io.FileDescriptor, int, int, int);
descriptor: (ZLjava/io/FileDescriptor;III)I
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
join
fd
group
interf
source
static int block4(java.io.FileDescriptor, int, int, int);
descriptor: (Ljava/io/FileDescriptor;III)I
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iconst_1
aload 0
iload 1
iload 2
iload 3
invokestatic sun.nio.ch.Net.blockOrUnblock4:(ZLjava/io/FileDescriptor;III)I
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 fd Ljava/io/FileDescriptor;
0 1 1 group I
0 1 2 interf I
0 1 3 source I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
fd
group
interf
source
static void unblock4(java.io.FileDescriptor, int, int, int);
descriptor: (Ljava/io/FileDescriptor;III)V
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iconst_0
aload 0
iload 1
iload 2
iload 3
invokestatic sun.nio.ch.Net.blockOrUnblock4:(ZLjava/io/FileDescriptor;III)I
pop
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 fd Ljava/io/FileDescriptor;
0 2 1 group I
0 2 2 interf I
0 2 3 source I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
fd
group
interf
source
private static native int blockOrUnblock4(boolean, java.io.FileDescriptor, int, int, int);
descriptor: (ZLjava/io/FileDescriptor;III)I
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
block
fd
group
interf
source
static int join6(java.io.FileDescriptor, byte[], int, byte[]);
descriptor: (Ljava/io/FileDescriptor;[BI[B)I
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iconst_1
aload 0
aload 1
iload 2
aload 3
invokestatic sun.nio.ch.Net.joinOrDrop6:(ZLjava/io/FileDescriptor;[BI[B)I
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 fd Ljava/io/FileDescriptor;
0 1 1 group [B
0 1 2 index I
0 1 3 source [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
fd
group
index
source
static void drop6(java.io.FileDescriptor, byte[], int, byte[]);
descriptor: (Ljava/io/FileDescriptor;[BI[B)V
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iconst_0
aload 0
aload 1
iload 2
aload 3
invokestatic sun.nio.ch.Net.joinOrDrop6:(ZLjava/io/FileDescriptor;[BI[B)I
pop
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 fd Ljava/io/FileDescriptor;
0 2 1 group [B
0 2 2 index I
0 2 3 source [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
fd
group
index
source
private static native int joinOrDrop6(boolean, java.io.FileDescriptor, byte[], int, byte[]);
descriptor: (ZLjava/io/FileDescriptor;[BI[B)I
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
join
fd
group
index
source
static int block6(java.io.FileDescriptor, byte[], int, byte[]);
descriptor: (Ljava/io/FileDescriptor;[BI[B)I
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iconst_1
aload 0
aload 1
iload 2
aload 3
invokestatic sun.nio.ch.Net.blockOrUnblock6:(ZLjava/io/FileDescriptor;[BI[B)I
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 fd Ljava/io/FileDescriptor;
0 1 1 group [B
0 1 2 index I
0 1 3 source [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
fd
group
index
source
static void unblock6(java.io.FileDescriptor, byte[], int, byte[]);
descriptor: (Ljava/io/FileDescriptor;[BI[B)V
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iconst_0
aload 0
aload 1
iload 2
aload 3
invokestatic sun.nio.ch.Net.blockOrUnblock6:(ZLjava/io/FileDescriptor;[BI[B)I
pop
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 fd Ljava/io/FileDescriptor;
0 2 1 group [B
0 2 2 index I
0 2 3 source [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
fd
group
index
source
static native int blockOrUnblock6(boolean, java.io.FileDescriptor, byte[], int, byte[]);
descriptor: (ZLjava/io/FileDescriptor;[BI[B)I
flags: (0x0108) ACC_STATIC, ACC_NATIVE
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
block
fd
group
index
source
static native void setInterface4(java.io.FileDescriptor, int);
descriptor: (Ljava/io/FileDescriptor;I)V
flags: (0x0108) ACC_STATIC, ACC_NATIVE
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
fd
interf
static native int getInterface4(java.io.FileDescriptor);
descriptor: (Ljava/io/FileDescriptor;)I
flags: (0x0108) ACC_STATIC, ACC_NATIVE
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
fd
static native void setInterface6(java.io.FileDescriptor, int);
descriptor: (Ljava/io/FileDescriptor;I)V
flags: (0x0108) ACC_STATIC, ACC_NATIVE
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
fd
index
static native int getInterface6(java.io.FileDescriptor);
descriptor: (Ljava/io/FileDescriptor;)I
flags: (0x0108) ACC_STATIC, ACC_NATIVE
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
fd
private static native void initIDs();
descriptor: ()V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
static native short pollinValue();
descriptor: ()S
flags: (0x0108) ACC_STATIC, ACC_NATIVE
static native short polloutValue();
descriptor: ()S
flags: (0x0108) ACC_STATIC, ACC_NATIVE
static native short pollerrValue();
descriptor: ()S
flags: (0x0108) ACC_STATIC, ACC_NATIVE
static native short pollhupValue();
descriptor: ()S
flags: (0x0108) ACC_STATIC, ACC_NATIVE
static native short pollnvalValue();
descriptor: ()S
flags: (0x0108) ACC_STATIC, ACC_NATIVE
static native short pollconnValue();
descriptor: ()S
flags: (0x0108) ACC_STATIC, ACC_NATIVE
}
SourceFile: "Net.java"
NestMembers:
sun.nio.ch.Net$1 sun.nio.ch.Net$2 sun.nio.ch.Net$3 sun.nio.ch.Net$4 sun.nio.ch.Net$5
InnerClasses:
sun.nio.ch.Net$1
sun.nio.ch.Net$2
sun.nio.ch.Net$3
sun.nio.ch.Net$4
sun.nio.ch.Net$5