public class sun.nio.ch.Net
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, 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 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
private static volatile boolean checkedReusePort;
descriptor: Z
flags: (0x004a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE
private static volatile boolean isReusePortAvailable;
descriptor: Z
flags: (0x004a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE
static final sun.net.ext.ExtendedSocketOptions extendedOptions;
descriptor: Lsun/net/ext/ExtendedSocketOptions;
flags: (0x0018) ACC_STATIC, ACC_FINAL
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: invokestatic sun.net.ext.ExtendedSocketOptions.getInstance:()Lsun/net/ext/ExtendedSocketOptions;
2: putstatic sun.nio.ch.Net.extendedOptions:Lsun/net/ext/ExtendedSocketOptions;
3: invokestatic sun.nio.ch.IOUtil.load:()V
4: invokestatic sun.nio.ch.Net.initIDs:()V
5: invokestatic sun.nio.ch.Net.pollinValue:()S
putstatic sun.nio.ch.Net.POLLIN:S
6: invokestatic sun.nio.ch.Net.polloutValue:()S
putstatic sun.nio.ch.Net.POLLOUT:S
7: invokestatic sun.nio.ch.Net.pollerrValue:()S
putstatic sun.nio.ch.Net.POLLERR:S
8: invokestatic sun.nio.ch.Net.pollhupValue:()S
putstatic sun.nio.ch.Net.POLLHUP:S
9: invokestatic sun.nio.ch.Net.pollnvalValue:()S
putstatic sun.nio.ch.Net.POLLNVAL:S
10: invokestatic sun.nio.ch.Net.pollconnValue:()S
putstatic sun.nio.ch.Net.POLLCONN:S
11: invokestatic sun.nio.ch.Net.isExclusiveBindAvailable:()I
istore 0
start local 0 12: iload 0
iflt 26
13: ldc "sun.net.useExclusiveBind"
invokestatic sun.security.action.GetPropertyAction.privilegedGetProperty:(Ljava/lang/String;)Ljava/lang/String;
14: astore 1
start local 1 15: aload 1
ifnull 21
16: aload 1
invokevirtual java.lang.String.isEmpty:()Z
ifeq 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
12 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 isReusePortAvailable();
descriptor: ()Z
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic sun.nio.ch.Net.checkedReusePort:Z
ifne 3
1: invokestatic sun.nio.ch.Net.isReusePortAvailable0:()Z
putstatic sun.nio.ch.Net.isReusePortAvailable:Z
2: iconst_1
putstatic sun.nio.ch.Net.checkedReusePort:Z
3: StackMap locals:
StackMap stack:
getstatic sun.nio.ch.Net.isReusePortAvailable: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
public static java.net.InetSocketAddress checkAddress(java.net.SocketAddress);
descriptor: (Ljava/net/SocketAddress;)Ljava/net/InetSocketAddress;
flags: (0x0009) ACC_PUBLIC, 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 checkAddress(java.net.SocketAddress, java.net.ProtocolFamily);
descriptor: (Ljava/net/SocketAddress;Ljava/net/ProtocolFamily;)Ljava/net/InetSocketAddress;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokestatic sun.nio.ch.Net.checkAddress:(Ljava/net/SocketAddress;)Ljava/net/InetSocketAddress;
astore 2
start local 2 1: aload 1
getstatic java.net.StandardProtocolFamily.INET:Ljava/net/StandardProtocolFamily;
if_acmpne 5
2: aload 2
invokevirtual java.net.InetSocketAddress.getAddress:()Ljava/net/InetAddress;
astore 3
start local 3 3: aload 3
instanceof java.net.Inet4Address
ifne 5
4: new java.nio.channels.UnsupportedAddressTypeException
dup
invokespecial java.nio.channels.UnsupportedAddressTypeException.<init>:()V
athrow
end local 3 5: StackMap locals: java.net.InetSocketAddress
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 sa Ljava/net/SocketAddress;
0 6 1 family Ljava/net/ProtocolFamily;
1 6 2 isa Ljava/net/InetSocketAddress;
3 5 3 addr Ljava/net/InetAddress;
MethodParameters:
Name Flags
sa
family
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:
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
4: goto 7
StackMap locals:
StackMap stack: java.lang.SecurityException
5: pop
6: aload 0
invokevirtual java.net.InetSocketAddress.getPort:()I
invokestatic sun.nio.ch.Net.getLoopbackAddress:(I)Ljava/net/InetSocketAddress;
astore 0
7: StackMap locals:
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 addr Ljava/net/InetSocketAddress;
1 8 1 sm Ljava/lang/SecurityManager;
Exception table:
from to target type
3 4 5 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 java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
ifnonnull 1
aload 0
invokevirtual java.net.InetSocketAddress.toString:()Ljava/lang/String;
goto 2
1: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.net.InetSocketAddress.getPort:()I
invokestatic sun.nio.ch.Net.getLoopbackAddress:(I)Ljava/net/InetSocketAddress;
invokevirtual java.net.InetSocketAddress.toString:()Ljava/lang/String;
2: StackMap locals:
StackMap stack: java.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 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$2
dup
aload 0
invokespecial sun.nio.ch.Net$2.<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: getstatic sun.nio.ch.Net.extendedOptions:Lsun/net/ext/ExtendedSocketOptions;
aload 2
invokevirtual sun.net.ext.ExtendedSocketOptions.isOptionSupported:(Ljava/net/SocketOption;)Z
ifeq 6
4: getstatic sun.nio.ch.Net.extendedOptions:Lsun/net/ext/ExtendedSocketOptions;
aload 0
aload 2
aload 3
invokevirtual sun.net.ext.ExtendedSocketOptions.setOption:(Ljava/io/FileDescriptor;Ljava/net/SocketOption;Ljava/lang/Object;)V
5: return
6: StackMap locals: java.lang.Class
StackMap stack:
aload 4
ldc Ljava/lang/Integer;
if_acmpeq 8
aload 4
ldc Ljava/lang/Boolean;
if_acmpeq 8
7: new java.lang.AssertionError
dup
ldc "Should not reach here"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
8: StackMap locals:
StackMap stack:
aload 2
getstatic java.net.StandardSocketOptions.SO_RCVBUF:Ljava/net/SocketOption;
if_acmpeq 10
9: aload 2
getstatic java.net.StandardSocketOptions.SO_SNDBUF:Ljava/net/SocketOption;
if_acmpne 13
10: StackMap locals:
StackMap stack:
aload 3
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
istore 5
start local 5 11: iload 5
ifge 13
12: new java.lang.IllegalArgumentException
dup
ldc "Invalid send/receive buffer size"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 5 13: StackMap locals:
StackMap stack:
aload 2
getstatic java.net.StandardSocketOptions.SO_LINGER:Ljava/net/SocketOption;
if_acmpne 19
14: aload 3
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
istore 5
start local 5 15: iload 5
ifge 17
16: iconst_m1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
astore 3
17: StackMap locals: int
StackMap stack:
iload 5
ldc 65535
if_icmple 19
18: ldc 65535
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
astore 3
end local 5 19: StackMap locals:
StackMap stack:
aload 2
getstatic java.net.StandardSocketOptions.IP_TOS:Ljava/net/SocketOption;
if_acmpne 23
20: aload 3
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
istore 5
start local 5 21: iload 5
iflt 22
iload 5
sipush 255
if_icmple 23
22: 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 23: StackMap locals:
StackMap stack:
aload 2
getstatic java.net.StandardSocketOptions.IP_MULTICAST_TTL:Ljava/net/SocketOption;
if_acmpne 27
24: aload 3
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
istore 5
start local 5 25: iload 5
iflt 26
iload 5
sipush 255
if_icmple 27
26: 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 27: 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 28: aload 5
ifnonnull 30
29: new java.lang.AssertionError
dup
ldc "Option not found"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
30: StackMap locals: sun.nio.ch.OptionKey
StackMap stack:
aload 4
ldc Ljava/lang/Integer;
if_acmpne 33
31: aload 3
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
istore 6
start local 6 32: goto 37
end local 6 33: StackMap locals:
StackMap stack:
aload 3
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
istore 7
start local 7 34: iload 7
ifeq 35
iconst_1
goto 36
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:
35: iconst_0
StackMap locals:
StackMap stack: int
36: istore 6
end local 7 start local 6 37: 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 38
iconst_1
goto 39
StackMap locals:
StackMap stack:
38: iconst_0
StackMap locals:
StackMap stack: int
39: istore 7
start local 7 40: aload 1
getstatic java.net.StandardProtocolFamily.INET6:Ljava/net/StandardProtocolFamily;
if_acmpne 41
iconst_1
goto 42
StackMap locals: int
StackMap stack:
41: iconst_0
StackMap locals:
StackMap stack: int
42: istore 8
start local 8 43: 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
44: 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 45 0 fd Ljava/io/FileDescriptor;
0 45 1 family Ljava/net/ProtocolFamily;
0 45 2 name Ljava/net/SocketOption<*>;
0 45 3 value Ljava/lang/Object;
3 45 4 type Ljava/lang/Class<*>;
11 13 5 i I
15 19 5 i I
21 23 5 i I
25 27 5 i I
28 45 5 key Lsun/nio/ch/OptionKey;
32 33 6 arg I
37 45 6 arg I
34 37 7 b Z
40 45 7 mayNeedConversion Z
43 45 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: getstatic sun.nio.ch.Net.extendedOptions:Lsun/net/ext/ExtendedSocketOptions;
aload 2
invokevirtual sun.net.ext.ExtendedSocketOptions.isOptionSupported:(Ljava/net/SocketOption;)Z
ifeq 3
2: getstatic sun.nio.ch.Net.extendedOptions:Lsun/net/ext/ExtendedSocketOptions;
aload 0
aload 2
invokevirtual sun.net.ext.ExtendedSocketOptions.getOption:(Ljava/io/FileDescriptor;Ljava/net/SocketOption;)Ljava/lang/Object;
areturn
3: StackMap locals: java.lang.Class
StackMap stack:
aload 3
ldc Ljava/lang/Integer;
if_acmpeq 5
aload 3
ldc Ljava/lang/Boolean;
if_acmpeq 5
4: new java.lang.AssertionError
dup
ldc "Should not reach here"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
5: 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 6: aload 4
ifnonnull 8
7: new java.lang.AssertionError
dup
ldc "Option not found"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
8: StackMap locals: sun.nio.ch.OptionKey
StackMap stack:
aload 1
getstatic sun.nio.ch.Net.UNSPEC:Ljava/net/ProtocolFamily;
if_acmpne 9
iconst_1
goto 10
StackMap locals:
StackMap stack:
9: iconst_0
StackMap locals:
StackMap stack: int
10: istore 5
start local 5 11: 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 12: aload 3
ldc Ljava/lang/Integer;
if_acmpne 14
13: iload 6
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
areturn
14: StackMap locals: int int
StackMap stack:
iload 6
ifne 15
getstatic java.lang.Boolean.FALSE:Ljava/lang/Boolean;
goto 16
StackMap locals:
StackMap stack:
15: getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
StackMap locals:
StackMap stack: java.lang.Boolean
16: 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 17 0 fd Ljava/io/FileDescriptor;
0 17 1 family Ljava/net/ProtocolFamily;
0 17 2 name Ljava/net/SocketOption<*>;
1 17 3 type Ljava/lang/Class<*>;
6 17 4 key Lsun/nio/ch/OptionKey;
11 17 5 mayNeedConversion Z
12 17 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=1, args_size=0
0: ldc "jdk.net.useFastTcpLoopback"
ldc "false"
invokestatic sun.security.action.GetPropertyAction.privilegedGetProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
1: astore 0
start local 0 2: aload 0
invokevirtual java.lang.String.isEmpty:()Z
ifeq 3
iconst_1
goto 4
StackMap locals: java.lang.String
StackMap stack:
3: aload 0
invokestatic java.lang.Boolean.parseBoolean:(Ljava/lang/String;)Z
StackMap locals:
StackMap stack: int
4: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
2 5 0 loopbackProp Ljava/lang/String;
private static native boolean isIPv6Available0();
descriptor: ()Z
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
private static native boolean isReusePortAvailable0();
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
public static void bind(java.io.FileDescriptor, java.net.InetAddress, int);
descriptor: (Ljava/io/FileDescriptor;Ljava/net/InetAddress;I)V
flags: (0x0009) ACC_PUBLIC, 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
public static java.net.InetSocketAddress localAddress(java.io.FileDescriptor);
descriptor: (Ljava/io/FileDescriptor;)Ljava/net/InetSocketAddress;
flags: (0x0009) ACC_PUBLIC, 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
InnerClasses:
sun.nio.ch.Net$1
sun.nio.ch.Net$2