abstract class sun.nio.ch.AsynchronousSocketChannelImpl extends java.nio.channels.AsynchronousSocketChannel implements sun.nio.ch.Cancellable, sun.nio.ch.Groupable
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: sun.nio.ch.AsynchronousSocketChannelImpl
super_class: java.nio.channels.AsynchronousSocketChannel
{
protected final java.io.FileDescriptor fd;
descriptor: Ljava/io/FileDescriptor;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final java.lang.Object stateLock;
descriptor: Ljava/lang/Object;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected volatile java.net.InetSocketAddress localAddress;
descriptor: Ljava/net/InetSocketAddress;
flags: (0x0044) ACC_PROTECTED, ACC_VOLATILE
protected volatile java.net.InetSocketAddress remoteAddress;
descriptor: Ljava/net/InetSocketAddress;
flags: (0x0044) ACC_PROTECTED, ACC_VOLATILE
static final int ST_UNINITIALIZED;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: -1
static final int ST_UNCONNECTED;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 0
static final int ST_PENDING;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 1
static final int ST_CONNECTED;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 2
protected volatile int state;
descriptor: I
flags: (0x0044) ACC_PROTECTED, ACC_VOLATILE
private final java.lang.Object readLock;
descriptor: Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean reading;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean readShutdown;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean readKilled;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private final java.lang.Object writeLock;
descriptor: Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean writing;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean writeShutdown;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean writeKilled;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private final java.util.concurrent.locks.ReadWriteLock closeLock;
descriptor: Ljava/util/concurrent/locks/ReadWriteLock;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private volatile boolean open;
descriptor: Z
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private boolean isReuseAddress;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
void <init>(sun.nio.ch.AsynchronousChannelGroupImpl);
descriptor: (Lsun/nio/ch/AsynchronousChannelGroupImpl;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual sun.nio.ch.AsynchronousChannelGroupImpl.provider:()Ljava/nio/channels/spi/AsynchronousChannelProvider;
invokespecial java.nio.channels.AsynchronousSocketChannel.<init>:(Ljava/nio/channels/spi/AsynchronousChannelProvider;)V
1: aload 0
new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putfield sun.nio.ch.AsynchronousSocketChannelImpl.stateLock:Ljava/lang/Object;
2: aload 0
aconst_null
putfield sun.nio.ch.AsynchronousSocketChannelImpl.localAddress:Ljava/net/InetSocketAddress;
3: aload 0
aconst_null
putfield sun.nio.ch.AsynchronousSocketChannelImpl.remoteAddress:Ljava/net/InetSocketAddress;
4: aload 0
iconst_m1
putfield sun.nio.ch.AsynchronousSocketChannelImpl.state:I
5: aload 0
new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putfield sun.nio.ch.AsynchronousSocketChannelImpl.readLock:Ljava/lang/Object;
6: aload 0
new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putfield sun.nio.ch.AsynchronousSocketChannelImpl.writeLock:Ljava/lang/Object;
7: aload 0
new java.util.concurrent.locks.ReentrantReadWriteLock
dup
invokespecial java.util.concurrent.locks.ReentrantReadWriteLock.<init>:()V
putfield sun.nio.ch.AsynchronousSocketChannelImpl.closeLock:Ljava/util/concurrent/locks/ReadWriteLock;
8: aload 0
iconst_1
putfield sun.nio.ch.AsynchronousSocketChannelImpl.open:Z
9: aload 0
iconst_1
invokestatic sun.nio.ch.Net.socket:(Z)Ljava/io/FileDescriptor;
putfield sun.nio.ch.AsynchronousSocketChannelImpl.fd:Ljava/io/FileDescriptor;
10: aload 0
iconst_0
putfield sun.nio.ch.AsynchronousSocketChannelImpl.state:I
11: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lsun/nio/ch/AsynchronousSocketChannelImpl;
0 12 1 group Lsun/nio/ch/AsynchronousChannelGroupImpl;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
group
void <init>(sun.nio.ch.AsynchronousChannelGroupImpl, java.io.FileDescriptor, java.net.InetSocketAddress);
descriptor: (Lsun/nio/ch/AsynchronousChannelGroupImpl;Ljava/io/FileDescriptor;Ljava/net/InetSocketAddress;)V
flags: (0x0000)
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
invokevirtual sun.nio.ch.AsynchronousChannelGroupImpl.provider:()Ljava/nio/channels/spi/AsynchronousChannelProvider;
invokespecial java.nio.channels.AsynchronousSocketChannel.<init>:(Ljava/nio/channels/spi/AsynchronousChannelProvider;)V
1: aload 0
new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putfield sun.nio.ch.AsynchronousSocketChannelImpl.stateLock:Ljava/lang/Object;
2: aload 0
aconst_null
putfield sun.nio.ch.AsynchronousSocketChannelImpl.localAddress:Ljava/net/InetSocketAddress;
3: aload 0
aconst_null
putfield sun.nio.ch.AsynchronousSocketChannelImpl.remoteAddress:Ljava/net/InetSocketAddress;
4: aload 0
iconst_m1
putfield sun.nio.ch.AsynchronousSocketChannelImpl.state:I
5: aload 0
new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putfield sun.nio.ch.AsynchronousSocketChannelImpl.readLock:Ljava/lang/Object;
6: aload 0
new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putfield sun.nio.ch.AsynchronousSocketChannelImpl.writeLock:Ljava/lang/Object;
7: aload 0
new java.util.concurrent.locks.ReentrantReadWriteLock
dup
invokespecial java.util.concurrent.locks.ReentrantReadWriteLock.<init>:()V
putfield sun.nio.ch.AsynchronousSocketChannelImpl.closeLock:Ljava/util/concurrent/locks/ReadWriteLock;
8: aload 0
iconst_1
putfield sun.nio.ch.AsynchronousSocketChannelImpl.open:Z
9: aload 0
aload 2
putfield sun.nio.ch.AsynchronousSocketChannelImpl.fd:Ljava/io/FileDescriptor;
10: aload 0
iconst_2
putfield sun.nio.ch.AsynchronousSocketChannelImpl.state:I
11: aload 0
aload 2
invokestatic sun.nio.ch.Net.localAddress:(Ljava/io/FileDescriptor;)Ljava/net/InetSocketAddress;
putfield sun.nio.ch.AsynchronousSocketChannelImpl.localAddress:Ljava/net/InetSocketAddress;
12: aload 0
aload 3
putfield sun.nio.ch.AsynchronousSocketChannelImpl.remoteAddress:Ljava/net/InetSocketAddress;
13: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lsun/nio/ch/AsynchronousSocketChannelImpl;
0 14 1 group Lsun/nio/ch/AsynchronousChannelGroupImpl;
0 14 2 fd Ljava/io/FileDescriptor;
0 14 3 remote Ljava/net/InetSocketAddress;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
group
fd
remote
public final boolean isOpen();
descriptor: ()Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.nio.ch.AsynchronousSocketChannelImpl.open:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/nio/ch/AsynchronousSocketChannelImpl;
final void begin();
descriptor: ()V
flags: (0x0010) ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.nio.ch.AsynchronousSocketChannelImpl.closeLock:Ljava/util/concurrent/locks/ReadWriteLock;
invokeinterface java.util.concurrent.locks.ReadWriteLock.readLock:()Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.lock:()V
1: aload 0
invokevirtual sun.nio.ch.AsynchronousSocketChannelImpl.isOpen:()Z
ifne 3
2: new java.nio.channels.ClosedChannelException
dup
invokespecial java.nio.channels.ClosedChannelException.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/nio/ch/AsynchronousSocketChannelImpl;
Exceptions:
throws java.io.IOException
final void end();
descriptor: ()V
flags: (0x0010) ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.nio.ch.AsynchronousSocketChannelImpl.closeLock:Ljava/util/concurrent/locks/ReadWriteLock;
invokeinterface java.util.concurrent.locks.ReadWriteLock.readLock:()Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/nio/ch/AsynchronousSocketChannelImpl;
abstract void implClose();
descriptor: ()V
flags: (0x0400) ACC_ABSTRACT
Exceptions:
throws java.io.IOException
public final void close();
descriptor: ()V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.nio.ch.AsynchronousSocketChannelImpl.closeLock:Ljava/util/concurrent/locks/ReadWriteLock;
invokeinterface java.util.concurrent.locks.ReadWriteLock.writeLock:()Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.lock:()V
1: aload 0
getfield sun.nio.ch.AsynchronousSocketChannelImpl.open:Z
ifne 4
2: aload 0
getfield sun.nio.ch.AsynchronousSocketChannelImpl.closeLock:Ljava/util/concurrent/locks/ReadWriteLock;
invokeinterface java.util.concurrent.locks.ReadWriteLock.writeLock:()Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
3: return
4: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield sun.nio.ch.AsynchronousSocketChannelImpl.open:Z
5: goto 9
StackMap locals:
StackMap stack: java.lang.Throwable
6: astore 1
7: aload 0
getfield sun.nio.ch.AsynchronousSocketChannelImpl.closeLock:Ljava/util/concurrent/locks/ReadWriteLock;
invokeinterface java.util.concurrent.locks.ReadWriteLock.writeLock:()Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
8: aload 1
athrow
9: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.ch.AsynchronousSocketChannelImpl.closeLock:Ljava/util/concurrent/locks/ReadWriteLock;
invokeinterface java.util.concurrent.locks.ReadWriteLock.writeLock:()Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
10: aload 0
invokevirtual sun.nio.ch.AsynchronousSocketChannelImpl.implClose:()V
11: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lsun/nio/ch/AsynchronousSocketChannelImpl;
Exception table:
from to target type
1 2 6 any
4 6 6 any
Exceptions:
throws java.io.IOException
final void enableReading(boolean);
descriptor: (Z)V
flags: (0x0010) ACC_FINAL
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.nio.ch.AsynchronousSocketChannelImpl.readLock:Ljava/lang/Object;
dup
astore 2
monitorenter
1: aload 0
iconst_0
putfield sun.nio.ch.AsynchronousSocketChannelImpl.reading:Z
2: iload 1
ifeq 4
3: aload 0
iconst_1
putfield sun.nio.ch.AsynchronousSocketChannelImpl.readKilled:Z
4: StackMap locals: java.lang.Object
StackMap stack:
aload 2
monitorexit
5: goto 8
StackMap locals:
StackMap stack: java.lang.Throwable
6: aload 2
monitorexit
7: athrow
8: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/nio/ch/AsynchronousSocketChannelImpl;
0 9 1 killed Z
Exception table:
from to target type
1 5 6 any
6 7 6 any
MethodParameters:
Name Flags
killed
final void enableReading();
descriptor: ()V
flags: (0x0010) ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
invokevirtual sun.nio.ch.AsynchronousSocketChannelImpl.enableReading:(Z)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/nio/ch/AsynchronousSocketChannelImpl;
final void enableWriting(boolean);
descriptor: (Z)V
flags: (0x0010) ACC_FINAL
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.nio.ch.AsynchronousSocketChannelImpl.writeLock:Ljava/lang/Object;
dup
astore 2
monitorenter
1: aload 0
iconst_0
putfield sun.nio.ch.AsynchronousSocketChannelImpl.writing:Z
2: iload 1
ifeq 4
3: aload 0
iconst_1
putfield sun.nio.ch.AsynchronousSocketChannelImpl.writeKilled:Z
4: StackMap locals: java.lang.Object
StackMap stack:
aload 2
monitorexit
5: goto 8
StackMap locals:
StackMap stack: java.lang.Throwable
6: aload 2
monitorexit
7: athrow
8: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/nio/ch/AsynchronousSocketChannelImpl;
0 9 1 killed Z
Exception table:
from to target type
1 5 6 any
6 7 6 any
MethodParameters:
Name Flags
killed
final void enableWriting();
descriptor: ()V
flags: (0x0010) ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
invokevirtual sun.nio.ch.AsynchronousSocketChannelImpl.enableWriting:(Z)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/nio/ch/AsynchronousSocketChannelImpl;
final void killReading();
descriptor: ()V
flags: (0x0010) ACC_FINAL
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.nio.ch.AsynchronousSocketChannelImpl.readLock:Ljava/lang/Object;
dup
astore 1
monitorenter
1: aload 0
iconst_1
putfield sun.nio.ch.AsynchronousSocketChannelImpl.readKilled:Z
2: aload 1
monitorexit
3: goto 6
StackMap locals: sun.nio.ch.AsynchronousSocketChannelImpl java.lang.Object
StackMap stack: java.lang.Throwable
4: aload 1
monitorexit
5: athrow
6: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/nio/ch/AsynchronousSocketChannelImpl;
Exception table:
from to target type
1 3 4 any
4 5 4 any
final void killWriting();
descriptor: ()V
flags: (0x0010) ACC_FINAL
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.nio.ch.AsynchronousSocketChannelImpl.writeLock:Ljava/lang/Object;
dup
astore 1
monitorenter
1: aload 0
iconst_1
putfield sun.nio.ch.AsynchronousSocketChannelImpl.writeKilled:Z
2: aload 1
monitorexit
3: goto 6
StackMap locals: sun.nio.ch.AsynchronousSocketChannelImpl java.lang.Object
StackMap stack: java.lang.Throwable
4: aload 1
monitorexit
5: athrow
6: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/nio/ch/AsynchronousSocketChannelImpl;
Exception table:
from to target type
1 3 4 any
4 5 4 any
final void killConnect();
descriptor: ()V
flags: (0x0010) ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.nio.ch.AsynchronousSocketChannelImpl.killReading:()V
1: aload 0
invokevirtual sun.nio.ch.AsynchronousSocketChannelImpl.killWriting:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/nio/ch/AsynchronousSocketChannelImpl;
abstract <A> java.util.concurrent.Future<java.lang.Void> implConnect(java.net.SocketAddress, A, java.nio.channels.CompletionHandler<java.lang.Void, ? super A>);
descriptor: (Ljava/net/SocketAddress;Ljava/lang/Object;Ljava/nio/channels/CompletionHandler;)Ljava/util/concurrent/Future;
flags: (0x0400) ACC_ABSTRACT
Signature: <A:Ljava/lang/Object;>(Ljava/net/SocketAddress;TA;Ljava/nio/channels/CompletionHandler<Ljava/lang/Void;-TA;>;)Ljava/util/concurrent/Future<Ljava/lang/Void;>;
MethodParameters:
Name Flags
remote
attachment
handler
public final java.util.concurrent.Future<java.lang.Void> connect(java.net.SocketAddress);
descriptor: (Ljava/net/SocketAddress;)Ljava/util/concurrent/Future;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aconst_null
aconst_null
invokevirtual sun.nio.ch.AsynchronousSocketChannelImpl.implConnect:(Ljava/net/SocketAddress;Ljava/lang/Object;Ljava/nio/channels/CompletionHandler;)Ljava/util/concurrent/Future;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/nio/ch/AsynchronousSocketChannelImpl;
0 1 1 remote Ljava/net/SocketAddress;
Signature: (Ljava/net/SocketAddress;)Ljava/util/concurrent/Future<Ljava/lang/Void;>;
MethodParameters:
Name Flags
remote
public final <A> void connect(java.net.SocketAddress, A, java.nio.channels.CompletionHandler<java.lang.Void, ? super A>);
descriptor: (Ljava/net/SocketAddress;Ljava/lang/Object;Ljava/nio/channels/CompletionHandler;)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
ifnonnull 2
1: new java.lang.NullPointerException
dup
ldc "'handler' is null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
aload 3
invokevirtual sun.nio.ch.AsynchronousSocketChannelImpl.implConnect:(Ljava/net/SocketAddress;Ljava/lang/Object;Ljava/nio/channels/CompletionHandler;)Ljava/util/concurrent/Future;
pop
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/nio/ch/AsynchronousSocketChannelImpl;
0 4 1 remote Ljava/net/SocketAddress;
0 4 2 attachment TA;
0 4 3 handler Ljava/nio/channels/CompletionHandler<Ljava/lang/Void;-TA;>;
Signature: <A:Ljava/lang/Object;>(Ljava/net/SocketAddress;TA;Ljava/nio/channels/CompletionHandler<Ljava/lang/Void;-TA;>;)V
MethodParameters:
Name Flags
remote
attachment
handler
abstract <V extends java.lang.Number, A> java.util.concurrent.Future<V> implRead(boolean, java.nio.ByteBuffer, java.nio.ByteBuffer[], long, java.util.concurrent.TimeUnit, A, java.nio.channels.CompletionHandler<V, ? super A>);
descriptor: (ZLjava/nio/ByteBuffer;[Ljava/nio/ByteBuffer;JLjava/util/concurrent/TimeUnit;Ljava/lang/Object;Ljava/nio/channels/CompletionHandler;)Ljava/util/concurrent/Future;
flags: (0x0400) ACC_ABSTRACT
Signature: <V:Ljava/lang/Number;A:Ljava/lang/Object;>(ZLjava/nio/ByteBuffer;[Ljava/nio/ByteBuffer;JLjava/util/concurrent/TimeUnit;TA;Ljava/nio/channels/CompletionHandler<TV;-TA;>;)Ljava/util/concurrent/Future<TV;>;
MethodParameters:
Name Flags
isScatteringRead
dst
dsts
timeout
unit
attachment
handler
private <V extends java.lang.Number, A> java.util.concurrent.Future<V> read(boolean, java.nio.ByteBuffer, java.nio.ByteBuffer[], long, java.util.concurrent.TimeUnit, A, java.nio.channels.CompletionHandler<V, ? super A>);
descriptor: (ZLjava/nio/ByteBuffer;[Ljava/nio/ByteBuffer;JLjava/util/concurrent/TimeUnit;Ljava/lang/Object;Ljava/nio/channels/CompletionHandler;)Ljava/util/concurrent/Future;
flags: (0x0002) ACC_PRIVATE
Code:
stack=9, locals=12, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 6 start local 7 start local 8 0: aload 0
invokevirtual sun.nio.ch.AsynchronousSocketChannelImpl.isOpen:()Z
ifne 6
1: new java.nio.channels.ClosedChannelException
dup
invokespecial java.nio.channels.ClosedChannelException.<init>:()V
astore 9
start local 9 2: aload 8
ifnonnull 4
3: aload 9
invokestatic sun.nio.ch.CompletedFuture.withFailure:(Ljava/lang/Throwable;)Lsun/nio/ch/CompletedFuture;
areturn
4: StackMap locals: java.lang.Throwable
StackMap stack:
aload 0
aload 8
aload 7
aconst_null
aload 9
invokestatic sun.nio.ch.Invoker.invoke:(Ljava/nio/channels/AsynchronousChannel;Ljava/nio/channels/CompletionHandler;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Throwable;)V
5: aconst_null
areturn
end local 9 6: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.ch.AsynchronousSocketChannelImpl.remoteAddress:Ljava/net/InetSocketAddress;
ifnonnull 8
7: new java.nio.channels.NotYetConnectedException
dup
invokespecial java.nio.channels.NotYetConnectedException.<init>:()V
athrow
8: StackMap locals:
StackMap stack:
iload 1
ifne 9
aload 2
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ifne 9
iconst_0
goto 10
StackMap locals:
StackMap stack:
9: iconst_1
StackMap locals:
StackMap stack: int
10: istore 9
start local 9 11: iconst_0
istore 10
start local 10 12: aload 0
getfield sun.nio.ch.AsynchronousSocketChannelImpl.readLock:Ljava/lang/Object;
dup
astore 11
monitorenter
13: aload 0
getfield sun.nio.ch.AsynchronousSocketChannelImpl.readKilled:Z
ifeq 15
14: new java.lang.IllegalStateException
dup
ldc "Reading not allowed due to timeout or cancellation"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
15: StackMap locals: int int java.lang.Object
StackMap stack:
aload 0
getfield sun.nio.ch.AsynchronousSocketChannelImpl.reading:Z
ifeq 17
16: new java.nio.channels.ReadPendingException
dup
invokespecial java.nio.channels.ReadPendingException.<init>:()V
athrow
17: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.ch.AsynchronousSocketChannelImpl.readShutdown:Z
ifeq 20
18: iconst_1
istore 10
19: goto 22
20: StackMap locals:
StackMap stack:
iload 9
ifeq 22
21: aload 0
iconst_1
putfield sun.nio.ch.AsynchronousSocketChannelImpl.reading:Z
22: StackMap locals:
StackMap stack:
aload 11
monitorexit
23: goto 26
StackMap locals:
StackMap stack: java.lang.Throwable
24: aload 11
monitorexit
25: athrow
26: StackMap locals:
StackMap stack:
iload 10
ifne 27
iload 9
ifne 39
27: StackMap locals:
StackMap stack:
iload 1
ifeq 32
28: iload 10
ifeq 29
ldc -1
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
goto 30
StackMap locals:
StackMap stack:
29: lconst_0
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
StackMap locals:
StackMap stack: java.lang.Long
30: astore 11
start local 11 31: goto 35
end local 11 32: StackMap locals:
StackMap stack:
iload 10
ifeq 33
iconst_m1
goto 34
StackMap locals:
StackMap stack:
33: iconst_0
StackMap locals:
StackMap stack: int
34: invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
astore 11
start local 11 35: StackMap locals: java.lang.Number
StackMap stack:
aload 8
ifnonnull 37
36: aload 11
invokestatic sun.nio.ch.CompletedFuture.withResult:(Ljava/lang/Object;)Lsun/nio/ch/CompletedFuture;
areturn
37: StackMap locals:
StackMap stack:
aload 0
aload 8
aload 7
aload 11
aconst_null
invokestatic sun.nio.ch.Invoker.invoke:(Ljava/nio/channels/AsynchronousChannel;Ljava/nio/channels/CompletionHandler;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Throwable;)V
38: aconst_null
areturn
end local 11 39: StackMap locals:
StackMap stack:
aload 0
iload 1
aload 2
aload 3
lload 4
aload 6
aload 7
aload 8
invokevirtual sun.nio.ch.AsynchronousSocketChannelImpl.implRead:(ZLjava/nio/ByteBuffer;[Ljava/nio/ByteBuffer;JLjava/util/concurrent/TimeUnit;Ljava/lang/Object;Ljava/nio/channels/CompletionHandler;)Ljava/util/concurrent/Future;
areturn
end local 10 end local 9 end local 8 end local 7 end local 6 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 40 0 this Lsun/nio/ch/AsynchronousSocketChannelImpl;
0 40 1 isScatteringRead Z
0 40 2 dst Ljava/nio/ByteBuffer;
0 40 3 dsts [Ljava/nio/ByteBuffer;
0 40 4 timeout J
0 40 6 unit Ljava/util/concurrent/TimeUnit;
0 40 7 att TA;
0 40 8 handler Ljava/nio/channels/CompletionHandler<TV;-TA;>;
2 6 9 e Ljava/lang/Throwable;
11 40 9 hasSpaceToRead Z
12 40 10 shutdown Z
31 32 11 result Ljava/lang/Number;
35 39 11 result Ljava/lang/Number;
Exception table:
from to target type
13 23 24 any
24 25 24 any
Signature: <V:Ljava/lang/Number;A:Ljava/lang/Object;>(ZLjava/nio/ByteBuffer;[Ljava/nio/ByteBuffer;JLjava/util/concurrent/TimeUnit;TA;Ljava/nio/channels/CompletionHandler<TV;-TA;>;)Ljava/util/concurrent/Future<TV;>;
MethodParameters:
Name Flags
isScatteringRead
dst
dsts
timeout
unit
att
handler
public final java.util.concurrent.Future<java.lang.Integer> read(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)Ljava/util/concurrent/Future;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=9, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.nio.ByteBuffer.isReadOnly:()Z
ifeq 2
1: new java.lang.IllegalArgumentException
dup
ldc "Read-only buffer"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
iconst_0
aload 1
aconst_null
lconst_0
getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
aconst_null
aconst_null
invokevirtual sun.nio.ch.AsynchronousSocketChannelImpl.read:(ZLjava/nio/ByteBuffer;[Ljava/nio/ByteBuffer;JLjava/util/concurrent/TimeUnit;Ljava/lang/Object;Ljava/nio/channels/CompletionHandler;)Ljava/util/concurrent/Future;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/nio/ch/AsynchronousSocketChannelImpl;
0 3 1 dst Ljava/nio/ByteBuffer;
Signature: (Ljava/nio/ByteBuffer;)Ljava/util/concurrent/Future<Ljava/lang/Integer;>;
MethodParameters:
Name Flags
dst
public final <A> void read(java.nio.ByteBuffer, long, java.util.concurrent.TimeUnit, A, java.nio.channels.CompletionHandler<java.lang.Integer, ? super A>);
descriptor: (Ljava/nio/ByteBuffer;JLjava/util/concurrent/TimeUnit;Ljava/lang/Object;Ljava/nio/channels/CompletionHandler;)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=9, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 4 start local 5 start local 6 0: aload 6
ifnonnull 2
1: new java.lang.NullPointerException
dup
ldc "'handler' is null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.nio.ByteBuffer.isReadOnly:()Z
ifeq 4
3: new java.lang.IllegalArgumentException
dup
ldc "Read-only buffer"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
iconst_0
aload 1
aconst_null
lload 2
aload 4
aload 5
aload 6
invokevirtual sun.nio.ch.AsynchronousSocketChannelImpl.read:(ZLjava/nio/ByteBuffer;[Ljava/nio/ByteBuffer;JLjava/util/concurrent/TimeUnit;Ljava/lang/Object;Ljava/nio/channels/CompletionHandler;)Ljava/util/concurrent/Future;
pop
5: return
end local 6 end local 5 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/nio/ch/AsynchronousSocketChannelImpl;
0 6 1 dst Ljava/nio/ByteBuffer;
0 6 2 timeout J
0 6 4 unit Ljava/util/concurrent/TimeUnit;
0 6 5 attachment TA;
0 6 6 handler Ljava/nio/channels/CompletionHandler<Ljava/lang/Integer;-TA;>;
Signature: <A:Ljava/lang/Object;>(Ljava/nio/ByteBuffer;JLjava/util/concurrent/TimeUnit;TA;Ljava/nio/channels/CompletionHandler<Ljava/lang/Integer;-TA;>;)V
MethodParameters:
Name Flags
dst
timeout
unit
attachment
handler
public final <A> void read(java.nio.ByteBuffer[], int, int, long, java.util.concurrent.TimeUnit, A, java.nio.channels.CompletionHandler<java.lang.Long, ? super A>);
descriptor: ([Ljava/nio/ByteBuffer;IIJLjava/util/concurrent/TimeUnit;Ljava/lang/Object;Ljava/nio/channels/CompletionHandler;)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=9, locals=11, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 6 start local 7 start local 8 0: aload 8
ifnonnull 2
1: new java.lang.NullPointerException
dup
ldc "'handler' is null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
iload 2
iflt 3
iload 3
iflt 3
iload 2
aload 1
arraylength
iload 3
isub
if_icmple 4
3: StackMap locals:
StackMap stack:
new java.lang.IndexOutOfBoundsException
dup
invokespecial java.lang.IndexOutOfBoundsException.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
aload 1
iload 2
iload 3
invokestatic sun.nio.ch.Util.subsequence:([Ljava/nio/ByteBuffer;II)[Ljava/nio/ByteBuffer;
astore 9
start local 9 5: iconst_0
istore 10
start local 10 6: goto 10
7: StackMap locals: java.nio.ByteBuffer[] int
StackMap stack:
aload 9
iload 10
aaload
invokevirtual java.nio.ByteBuffer.isReadOnly:()Z
ifeq 9
8: new java.lang.IllegalArgumentException
dup
ldc "Read-only buffer"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals:
StackMap stack:
iinc 10 1
StackMap locals:
StackMap stack:
10: iload 10
aload 9
arraylength
if_icmplt 7
end local 10 11: aload 0
iconst_1
aconst_null
aload 9
lload 4
aload 6
aload 7
aload 8
invokevirtual sun.nio.ch.AsynchronousSocketChannelImpl.read:(ZLjava/nio/ByteBuffer;[Ljava/nio/ByteBuffer;JLjava/util/concurrent/TimeUnit;Ljava/lang/Object;Ljava/nio/channels/CompletionHandler;)Ljava/util/concurrent/Future;
pop
12: return
end local 9 end local 8 end local 7 end local 6 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lsun/nio/ch/AsynchronousSocketChannelImpl;
0 13 1 dsts [Ljava/nio/ByteBuffer;
0 13 2 offset I
0 13 3 length I
0 13 4 timeout J
0 13 6 unit Ljava/util/concurrent/TimeUnit;
0 13 7 attachment TA;
0 13 8 handler Ljava/nio/channels/CompletionHandler<Ljava/lang/Long;-TA;>;
5 13 9 bufs [Ljava/nio/ByteBuffer;
6 11 10 i I
Signature: <A:Ljava/lang/Object;>([Ljava/nio/ByteBuffer;IIJLjava/util/concurrent/TimeUnit;TA;Ljava/nio/channels/CompletionHandler<Ljava/lang/Long;-TA;>;)V
MethodParameters:
Name Flags
dsts
offset
length
timeout
unit
attachment
handler
abstract <V extends java.lang.Number, A> java.util.concurrent.Future<V> implWrite(boolean, java.nio.ByteBuffer, java.nio.ByteBuffer[], long, java.util.concurrent.TimeUnit, A, java.nio.channels.CompletionHandler<V, ? super A>);
descriptor: (ZLjava/nio/ByteBuffer;[Ljava/nio/ByteBuffer;JLjava/util/concurrent/TimeUnit;Ljava/lang/Object;Ljava/nio/channels/CompletionHandler;)Ljava/util/concurrent/Future;
flags: (0x0400) ACC_ABSTRACT
Signature: <V:Ljava/lang/Number;A:Ljava/lang/Object;>(ZLjava/nio/ByteBuffer;[Ljava/nio/ByteBuffer;JLjava/util/concurrent/TimeUnit;TA;Ljava/nio/channels/CompletionHandler<TV;-TA;>;)Ljava/util/concurrent/Future<TV;>;
MethodParameters:
Name Flags
isGatheringWrite
src
srcs
timeout
unit
attachment
handler
private <V extends java.lang.Number, A> java.util.concurrent.Future<V> write(boolean, java.nio.ByteBuffer, java.nio.ByteBuffer[], long, java.util.concurrent.TimeUnit, A, java.nio.channels.CompletionHandler<V, ? super A>);
descriptor: (ZLjava/nio/ByteBuffer;[Ljava/nio/ByteBuffer;JLjava/util/concurrent/TimeUnit;Ljava/lang/Object;Ljava/nio/channels/CompletionHandler;)Ljava/util/concurrent/Future;
flags: (0x0002) ACC_PRIVATE
Code:
stack=9, locals=12, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 6 start local 7 start local 8 0: iload 1
ifne 1
aload 2
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ifne 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: istore 9
start local 9 3: iconst_0
istore 10
start local 10 4: aload 0
invokevirtual sun.nio.ch.AsynchronousSocketChannelImpl.isOpen:()Z
ifeq 21
5: aload 0
getfield sun.nio.ch.AsynchronousSocketChannelImpl.remoteAddress:Ljava/net/InetSocketAddress;
ifnonnull 7
6: new java.nio.channels.NotYetConnectedException
dup
invokespecial java.nio.channels.NotYetConnectedException.<init>:()V
athrow
7: StackMap locals: int int
StackMap stack:
aload 0
getfield sun.nio.ch.AsynchronousSocketChannelImpl.writeLock:Ljava/lang/Object;
dup
astore 11
monitorenter
8: aload 0
getfield sun.nio.ch.AsynchronousSocketChannelImpl.writeKilled:Z
ifeq 10
9: new java.lang.IllegalStateException
dup
ldc "Writing not allowed due to timeout or cancellation"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
10: StackMap locals: java.lang.Object
StackMap stack:
aload 0
getfield sun.nio.ch.AsynchronousSocketChannelImpl.writing:Z
ifeq 12
11: new java.nio.channels.WritePendingException
dup
invokespecial java.nio.channels.WritePendingException.<init>:()V
athrow
12: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.ch.AsynchronousSocketChannelImpl.writeShutdown:Z
ifeq 15
13: iconst_1
istore 10
14: goto 17
15: StackMap locals:
StackMap stack:
iload 9
ifeq 17
16: aload 0
iconst_1
putfield sun.nio.ch.AsynchronousSocketChannelImpl.writing:Z
17: StackMap locals:
StackMap stack:
aload 11
monitorexit
18: goto 22
StackMap locals:
StackMap stack: java.lang.Throwable
19: aload 11
monitorexit
20: athrow
21: StackMap locals:
StackMap stack:
iconst_1
istore 10
22: StackMap locals:
StackMap stack:
iload 10
ifeq 28
23: new java.nio.channels.ClosedChannelException
dup
invokespecial java.nio.channels.ClosedChannelException.<init>:()V
astore 11
start local 11 24: aload 8
ifnonnull 26
25: aload 11
invokestatic sun.nio.ch.CompletedFuture.withFailure:(Ljava/lang/Throwable;)Lsun/nio/ch/CompletedFuture;
areturn
26: StackMap locals: java.lang.Throwable
StackMap stack:
aload 0
aload 8
aload 7
aconst_null
aload 11
invokestatic sun.nio.ch.Invoker.invoke:(Ljava/nio/channels/AsynchronousChannel;Ljava/nio/channels/CompletionHandler;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Throwable;)V
27: aconst_null
areturn
end local 11 28: StackMap locals:
StackMap stack:
iload 9
ifne 36
29: iload 1
ifeq 30
lconst_0
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
goto 31
StackMap locals:
StackMap stack:
30: iconst_0
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
StackMap locals:
StackMap stack: java.lang.Number
31: astore 11
start local 11 32: aload 8
ifnonnull 34
33: aload 11
invokestatic sun.nio.ch.CompletedFuture.withResult:(Ljava/lang/Object;)Lsun/nio/ch/CompletedFuture;
areturn
34: StackMap locals: java.lang.Number
StackMap stack:
aload 0
aload 8
aload 7
aload 11
aconst_null
invokestatic sun.nio.ch.Invoker.invoke:(Ljava/nio/channels/AsynchronousChannel;Ljava/nio/channels/CompletionHandler;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Throwable;)V
35: aconst_null
areturn
end local 11 36: StackMap locals:
StackMap stack:
aload 0
iload 1
aload 2
aload 3
lload 4
aload 6
aload 7
aload 8
invokevirtual sun.nio.ch.AsynchronousSocketChannelImpl.implWrite:(ZLjava/nio/ByteBuffer;[Ljava/nio/ByteBuffer;JLjava/util/concurrent/TimeUnit;Ljava/lang/Object;Ljava/nio/channels/CompletionHandler;)Ljava/util/concurrent/Future;
areturn
end local 10 end local 9 end local 8 end local 7 end local 6 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 37 0 this Lsun/nio/ch/AsynchronousSocketChannelImpl;
0 37 1 isGatheringWrite Z
0 37 2 src Ljava/nio/ByteBuffer;
0 37 3 srcs [Ljava/nio/ByteBuffer;
0 37 4 timeout J
0 37 6 unit Ljava/util/concurrent/TimeUnit;
0 37 7 att TA;
0 37 8 handler Ljava/nio/channels/CompletionHandler<TV;-TA;>;
3 37 9 hasDataToWrite Z
4 37 10 closed Z
24 28 11 e Ljava/lang/Throwable;
32 36 11 result Ljava/lang/Number;
Exception table:
from to target type
8 18 19 any
19 20 19 any
Signature: <V:Ljava/lang/Number;A:Ljava/lang/Object;>(ZLjava/nio/ByteBuffer;[Ljava/nio/ByteBuffer;JLjava/util/concurrent/TimeUnit;TA;Ljava/nio/channels/CompletionHandler<TV;-TA;>;)Ljava/util/concurrent/Future<TV;>;
MethodParameters:
Name Flags
isGatheringWrite
src
srcs
timeout
unit
att
handler
public final java.util.concurrent.Future<java.lang.Integer> write(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)Ljava/util/concurrent/Future;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=9, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_0
aload 1
aconst_null
lconst_0
getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
aconst_null
aconst_null
invokevirtual sun.nio.ch.AsynchronousSocketChannelImpl.write:(ZLjava/nio/ByteBuffer;[Ljava/nio/ByteBuffer;JLjava/util/concurrent/TimeUnit;Ljava/lang/Object;Ljava/nio/channels/CompletionHandler;)Ljava/util/concurrent/Future;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/nio/ch/AsynchronousSocketChannelImpl;
0 1 1 src Ljava/nio/ByteBuffer;
Signature: (Ljava/nio/ByteBuffer;)Ljava/util/concurrent/Future<Ljava/lang/Integer;>;
MethodParameters:
Name Flags
src
public final <A> void write(java.nio.ByteBuffer, long, java.util.concurrent.TimeUnit, A, java.nio.channels.CompletionHandler<java.lang.Integer, ? super A>);
descriptor: (Ljava/nio/ByteBuffer;JLjava/util/concurrent/TimeUnit;Ljava/lang/Object;Ljava/nio/channels/CompletionHandler;)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=9, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 4 start local 5 start local 6 0: aload 6
ifnonnull 2
1: new java.lang.NullPointerException
dup
ldc "'handler' is null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
iconst_0
aload 1
aconst_null
lload 2
aload 4
aload 5
aload 6
invokevirtual sun.nio.ch.AsynchronousSocketChannelImpl.write:(ZLjava/nio/ByteBuffer;[Ljava/nio/ByteBuffer;JLjava/util/concurrent/TimeUnit;Ljava/lang/Object;Ljava/nio/channels/CompletionHandler;)Ljava/util/concurrent/Future;
pop
3: return
end local 6 end local 5 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/nio/ch/AsynchronousSocketChannelImpl;
0 4 1 src Ljava/nio/ByteBuffer;
0 4 2 timeout J
0 4 4 unit Ljava/util/concurrent/TimeUnit;
0 4 5 attachment TA;
0 4 6 handler Ljava/nio/channels/CompletionHandler<Ljava/lang/Integer;-TA;>;
Signature: <A:Ljava/lang/Object;>(Ljava/nio/ByteBuffer;JLjava/util/concurrent/TimeUnit;TA;Ljava/nio/channels/CompletionHandler<Ljava/lang/Integer;-TA;>;)V
MethodParameters:
Name Flags
src
timeout
unit
attachment
handler
public final <A> void write(java.nio.ByteBuffer[], int, int, long, java.util.concurrent.TimeUnit, A, java.nio.channels.CompletionHandler<java.lang.Long, ? super A>);
descriptor: ([Ljava/nio/ByteBuffer;IIJLjava/util/concurrent/TimeUnit;Ljava/lang/Object;Ljava/nio/channels/CompletionHandler;)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=9, locals=9, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 6 start local 7 start local 8 0: aload 8
ifnonnull 2
1: new java.lang.NullPointerException
dup
ldc "'handler' is null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
iload 2
iflt 3
iload 3
iflt 3
iload 2
aload 1
arraylength
iload 3
isub
if_icmple 4
3: StackMap locals:
StackMap stack:
new java.lang.IndexOutOfBoundsException
dup
invokespecial java.lang.IndexOutOfBoundsException.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
aload 1
iload 2
iload 3
invokestatic sun.nio.ch.Util.subsequence:([Ljava/nio/ByteBuffer;II)[Ljava/nio/ByteBuffer;
astore 1
5: aload 0
iconst_1
aconst_null
aload 1
lload 4
aload 6
aload 7
aload 8
invokevirtual sun.nio.ch.AsynchronousSocketChannelImpl.write:(ZLjava/nio/ByteBuffer;[Ljava/nio/ByteBuffer;JLjava/util/concurrent/TimeUnit;Ljava/lang/Object;Ljava/nio/channels/CompletionHandler;)Ljava/util/concurrent/Future;
pop
6: return
end local 8 end local 7 end local 6 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/nio/ch/AsynchronousSocketChannelImpl;
0 7 1 srcs [Ljava/nio/ByteBuffer;
0 7 2 offset I
0 7 3 length I
0 7 4 timeout J
0 7 6 unit Ljava/util/concurrent/TimeUnit;
0 7 7 attachment TA;
0 7 8 handler Ljava/nio/channels/CompletionHandler<Ljava/lang/Long;-TA;>;
Signature: <A:Ljava/lang/Object;>([Ljava/nio/ByteBuffer;IIJLjava/util/concurrent/TimeUnit;TA;Ljava/nio/channels/CompletionHandler<Ljava/lang/Long;-TA;>;)V
MethodParameters:
Name Flags
srcs
offset
length
timeout
unit
attachment
handler
public final java.nio.channels.AsynchronousSocketChannel bind(java.net.SocketAddress);
descriptor: (Ljava/net/SocketAddress;)Ljava/nio/channels/AsynchronousSocketChannel;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.nio.ch.AsynchronousSocketChannelImpl.begin:()V
1: aload 0
getfield sun.nio.ch.AsynchronousSocketChannelImpl.stateLock:Ljava/lang/Object;
dup
astore 2
monitorenter
2: aload 0
getfield sun.nio.ch.AsynchronousSocketChannelImpl.state:I
iconst_1
if_icmpne 4
3: new java.nio.channels.ConnectionPendingException
dup
invokespecial java.nio.channels.ConnectionPendingException.<init>:()V
athrow
4: StackMap locals: java.lang.Object
StackMap stack:
aload 0
getfield sun.nio.ch.AsynchronousSocketChannelImpl.localAddress:Ljava/net/InetSocketAddress;
ifnull 6
5: new java.nio.channels.AlreadyBoundException
dup
invokespecial java.nio.channels.AlreadyBoundException.<init>:()V
athrow
6: StackMap locals:
StackMap stack:
aload 1
ifnonnull 8
7: new java.net.InetSocketAddress
dup
iconst_0
invokespecial java.net.InetSocketAddress.<init>:(I)V
goto 9
StackMap locals:
StackMap stack:
8: aload 1
invokestatic sun.nio.ch.Net.checkAddress:(Ljava/net/SocketAddress;)Ljava/net/InetSocketAddress;
9: StackMap locals:
StackMap stack: java.net.InetSocketAddress
astore 3
start local 3 10: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 4
start local 4 11: aload 4
ifnull 13
12: aload 4
aload 3
invokevirtual java.net.InetSocketAddress.getPort:()I
invokevirtual java.lang.SecurityManager.checkListen:(I)V
13: StackMap locals: java.net.InetSocketAddress java.lang.SecurityManager
StackMap stack:
aload 0
getfield sun.nio.ch.AsynchronousSocketChannelImpl.fd:Ljava/io/FileDescriptor;
aload 3
invokevirtual java.net.InetSocketAddress.getAddress:()Ljava/net/InetAddress;
aload 3
invokevirtual java.net.InetSocketAddress.getPort:()I
invokestatic sun.net.NetHooks.beforeTcpBind:(Ljava/io/FileDescriptor;Ljava/net/InetAddress;I)V
14: aload 0
getfield sun.nio.ch.AsynchronousSocketChannelImpl.fd:Ljava/io/FileDescriptor;
aload 3
invokevirtual java.net.InetSocketAddress.getAddress:()Ljava/net/InetAddress;
aload 3
invokevirtual java.net.InetSocketAddress.getPort:()I
invokestatic sun.nio.ch.Net.bind:(Ljava/io/FileDescriptor;Ljava/net/InetAddress;I)V
15: aload 0
aload 0
getfield sun.nio.ch.AsynchronousSocketChannelImpl.fd:Ljava/io/FileDescriptor;
invokestatic sun.nio.ch.Net.localAddress:(Ljava/io/FileDescriptor;)Ljava/net/InetSocketAddress;
putfield sun.nio.ch.AsynchronousSocketChannelImpl.localAddress:Ljava/net/InetSocketAddress;
end local 4 end local 3 16: aload 2
monitorexit
17: goto 23
StackMap locals: sun.nio.ch.AsynchronousSocketChannelImpl java.net.SocketAddress java.lang.Object
StackMap stack: java.lang.Throwable
18: aload 2
monitorexit
19: athrow
20: StackMap locals: sun.nio.ch.AsynchronousSocketChannelImpl java.net.SocketAddress
StackMap stack: java.lang.Throwable
astore 5
21: aload 0
invokevirtual sun.nio.ch.AsynchronousSocketChannelImpl.end:()V
22: aload 5
athrow
23: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.nio.ch.AsynchronousSocketChannelImpl.end:()V
24: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lsun/nio/ch/AsynchronousSocketChannelImpl;
0 25 1 local Ljava/net/SocketAddress;
10 16 3 isa Ljava/net/InetSocketAddress;
11 16 4 sm Ljava/lang/SecurityManager;
Exception table:
from to target type
2 17 18 any
18 19 18 any
0 20 20 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
local
public final java.net.SocketAddress getLocalAddress();
descriptor: ()Ljava/net/SocketAddress;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.nio.ch.AsynchronousSocketChannelImpl.isOpen:()Z
ifne 2
1: new java.nio.channels.ClosedChannelException
dup
invokespecial java.nio.channels.ClosedChannelException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.ch.AsynchronousSocketChannelImpl.localAddress:Ljava/net/InetSocketAddress;
invokestatic sun.nio.ch.Net.getRevealedLocalAddress:(Ljava/net/InetSocketAddress;)Ljava/net/InetSocketAddress;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/nio/ch/AsynchronousSocketChannelImpl;
Exceptions:
throws java.io.IOException
public final <T> java.nio.channels.AsynchronousSocketChannel setOption(java.net.SocketOption<T>, T);
descriptor: (Ljava/net/SocketOption;Ljava/lang/Object;)Ljava/nio/channels/AsynchronousSocketChannel;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnonnull 2
1: new java.lang.NullPointerException
dup
invokespecial java.lang.NullPointerException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.nio.ch.AsynchronousSocketChannelImpl.supportedOptions:()Ljava/util/Set;
aload 1
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 4
3: new java.lang.UnsupportedOperationException
dup
new java.lang.StringBuilder
dup
ldc "'"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "' not supported"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.nio.ch.AsynchronousSocketChannelImpl.begin:()V
5: aload 0
getfield sun.nio.ch.AsynchronousSocketChannelImpl.writeShutdown:Z
ifeq 7
6: new java.io.IOException
dup
ldc "Connection has been shutdown for writing"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
aload 1
getstatic java.net.StandardSocketOptions.SO_REUSEADDR:Ljava/net/SocketOption;
if_acmpne 11
8: invokestatic sun.nio.ch.Net.useExclusiveBind:()Z
ifeq 11
9: aload 0
aload 2
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
putfield sun.nio.ch.AsynchronousSocketChannelImpl.isReuseAddress:Z
10: goto 12
11: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.ch.AsynchronousSocketChannelImpl.fd:Ljava/io/FileDescriptor;
getstatic sun.nio.ch.Net.UNSPEC:Ljava/net/ProtocolFamily;
aload 1
aload 2
invokestatic sun.nio.ch.Net.setSocketOption:(Ljava/io/FileDescriptor;Ljava/net/ProtocolFamily;Ljava/net/SocketOption;Ljava/lang/Object;)V
12: StackMap locals:
StackMap stack:
aload 0
astore 4
13: aload 0
invokevirtual sun.nio.ch.AsynchronousSocketChannelImpl.end:()V
14: aload 4
areturn
15: StackMap locals:
StackMap stack: java.lang.Throwable
astore 3
16: aload 0
invokevirtual sun.nio.ch.AsynchronousSocketChannelImpl.end:()V
17: aload 3
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lsun/nio/ch/AsynchronousSocketChannelImpl;
0 18 1 name Ljava/net/SocketOption<TT;>;
0 18 2 value TT;
Exception table:
from to target type
4 13 15 any
Exceptions:
throws java.io.IOException
Signature: <T:Ljava/lang/Object;>(Ljava/net/SocketOption<TT;>;TT;)Ljava/nio/channels/AsynchronousSocketChannel;
MethodParameters:
Name Flags
name
value
public final <T> T getOption(java.net.SocketOption<T>);
descriptor: (Ljava/net/SocketOption;)Ljava/lang/Object;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.NullPointerException
dup
invokespecial java.lang.NullPointerException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.nio.ch.AsynchronousSocketChannelImpl.supportedOptions:()Ljava/util/Set;
aload 1
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 4
3: new java.lang.UnsupportedOperationException
dup
new java.lang.StringBuilder
dup
ldc "'"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "' not supported"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.nio.ch.AsynchronousSocketChannelImpl.begin:()V
5: aload 1
getstatic java.net.StandardSocketOptions.SO_REUSEADDR:Ljava/net/SocketOption;
if_acmpne 10
6: invokestatic sun.nio.ch.Net.useExclusiveBind:()Z
ifeq 10
7: aload 0
getfield sun.nio.ch.AsynchronousSocketChannelImpl.isReuseAddress:Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
astore 3
8: aload 0
invokevirtual sun.nio.ch.AsynchronousSocketChannelImpl.end:()V
9: aload 3
areturn
10: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.ch.AsynchronousSocketChannelImpl.fd:Ljava/io/FileDescriptor;
getstatic sun.nio.ch.Net.UNSPEC:Ljava/net/ProtocolFamily;
aload 1
invokestatic sun.nio.ch.Net.getSocketOption:(Ljava/io/FileDescriptor;Ljava/net/ProtocolFamily;Ljava/net/SocketOption;)Ljava/lang/Object;
astore 3
11: aload 0
invokevirtual sun.nio.ch.AsynchronousSocketChannelImpl.end:()V
12: aload 3
areturn
13: StackMap locals:
StackMap stack: java.lang.Throwable
astore 2
14: aload 0
invokevirtual sun.nio.ch.AsynchronousSocketChannelImpl.end:()V
15: aload 2
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lsun/nio/ch/AsynchronousSocketChannelImpl;
0 16 1 name Ljava/net/SocketOption<TT;>;
Exception table:
from to target type
4 8 13 any
10 11 13 any
Exceptions:
throws java.io.IOException
Signature: <T:Ljava/lang/Object;>(Ljava/net/SocketOption<TT;>;)TT;
MethodParameters:
Name Flags
name
public final java.util.Set<java.net.SocketOption<?>> supportedOptions();
descriptor: ()Ljava/util/Set;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic sun.nio.ch.AsynchronousSocketChannelImpl$DefaultOptionsHolder.defaultOptions:Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/nio/ch/AsynchronousSocketChannelImpl;
Signature: ()Ljava/util/Set<Ljava/net/SocketOption<*>;>;
public final java.net.SocketAddress getRemoteAddress();
descriptor: ()Ljava/net/SocketAddress;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.nio.ch.AsynchronousSocketChannelImpl.isOpen:()Z
ifne 2
1: new java.nio.channels.ClosedChannelException
dup
invokespecial java.nio.channels.ClosedChannelException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.ch.AsynchronousSocketChannelImpl.remoteAddress:Ljava/net/InetSocketAddress;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/nio/ch/AsynchronousSocketChannelImpl;
Exceptions:
throws java.io.IOException
public final java.nio.channels.AsynchronousSocketChannel shutdownInput();
descriptor: ()Ljava/nio/channels/AsynchronousSocketChannel;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual sun.nio.ch.AsynchronousSocketChannelImpl.begin:()V
1: aload 0
getfield sun.nio.ch.AsynchronousSocketChannelImpl.remoteAddress:Ljava/net/InetSocketAddress;
ifnonnull 3
2: new java.nio.channels.NotYetConnectedException
dup
invokespecial java.nio.channels.NotYetConnectedException.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.ch.AsynchronousSocketChannelImpl.readLock:Ljava/lang/Object;
dup
astore 1
monitorenter
4: aload 0
getfield sun.nio.ch.AsynchronousSocketChannelImpl.readShutdown:Z
ifne 7
5: aload 0
getfield sun.nio.ch.AsynchronousSocketChannelImpl.fd:Ljava/io/FileDescriptor;
iconst_0
invokestatic sun.nio.ch.Net.shutdown:(Ljava/io/FileDescriptor;I)V
6: aload 0
iconst_1
putfield sun.nio.ch.AsynchronousSocketChannelImpl.readShutdown:Z
7: StackMap locals: java.lang.Object
StackMap stack:
aload 1
monitorexit
8: goto 14
StackMap locals:
StackMap stack: java.lang.Throwable
9: aload 1
monitorexit
10: athrow
11: StackMap locals: sun.nio.ch.AsynchronousSocketChannelImpl
StackMap stack: java.lang.Throwable
astore 2
12: aload 0
invokevirtual sun.nio.ch.AsynchronousSocketChannelImpl.end:()V
13: aload 2
athrow
14: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.nio.ch.AsynchronousSocketChannelImpl.end:()V
15: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lsun/nio/ch/AsynchronousSocketChannelImpl;
Exception table:
from to target type
4 8 9 any
9 10 9 any
0 11 11 any
Exceptions:
throws java.io.IOException
public final java.nio.channels.AsynchronousSocketChannel shutdownOutput();
descriptor: ()Ljava/nio/channels/AsynchronousSocketChannel;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual sun.nio.ch.AsynchronousSocketChannelImpl.begin:()V
1: aload 0
getfield sun.nio.ch.AsynchronousSocketChannelImpl.remoteAddress:Ljava/net/InetSocketAddress;
ifnonnull 3
2: new java.nio.channels.NotYetConnectedException
dup
invokespecial java.nio.channels.NotYetConnectedException.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.ch.AsynchronousSocketChannelImpl.writeLock:Ljava/lang/Object;
dup
astore 1
monitorenter
4: aload 0
getfield sun.nio.ch.AsynchronousSocketChannelImpl.writeShutdown:Z
ifne 7
5: aload 0
getfield sun.nio.ch.AsynchronousSocketChannelImpl.fd:Ljava/io/FileDescriptor;
iconst_1
invokestatic sun.nio.ch.Net.shutdown:(Ljava/io/FileDescriptor;I)V
6: aload 0
iconst_1
putfield sun.nio.ch.AsynchronousSocketChannelImpl.writeShutdown:Z
7: StackMap locals: java.lang.Object
StackMap stack:
aload 1
monitorexit
8: goto 14
StackMap locals:
StackMap stack: java.lang.Throwable
9: aload 1
monitorexit
10: athrow
11: StackMap locals: sun.nio.ch.AsynchronousSocketChannelImpl
StackMap stack: java.lang.Throwable
astore 2
12: aload 0
invokevirtual sun.nio.ch.AsynchronousSocketChannelImpl.end:()V
13: aload 2
athrow
14: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.nio.ch.AsynchronousSocketChannelImpl.end:()V
15: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lsun/nio/ch/AsynchronousSocketChannelImpl;
Exception table:
from to target type
4 8 9 any
9 10 9 any
0 11 11 any
Exceptions:
throws java.io.IOException
public final java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=3, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 1: aload 1
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: aload 1
bipush 91
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
3: aload 0
getfield sun.nio.ch.AsynchronousSocketChannelImpl.stateLock:Ljava/lang/Object;
dup
astore 2
monitorenter
4: aload 0
invokevirtual sun.nio.ch.AsynchronousSocketChannelImpl.isOpen:()Z
ifne 7
5: aload 1
ldc "closed"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
6: goto 25
7: StackMap locals: java.lang.StringBuilder java.lang.Object
StackMap stack:
aload 0
getfield sun.nio.ch.AsynchronousSocketChannelImpl.state:I
tableswitch { // 0 - 2
0: 8
1: 10
2: 12
default: 17
}
8: StackMap locals:
StackMap stack:
aload 1
ldc "unconnected"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
9: goto 17
10: StackMap locals:
StackMap stack:
aload 1
ldc "connection-pending"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
11: goto 17
12: StackMap locals:
StackMap stack:
aload 1
ldc "connected"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
13: aload 0
getfield sun.nio.ch.AsynchronousSocketChannelImpl.readShutdown:Z
ifeq 15
14: aload 1
ldc " ishut"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
15: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.ch.AsynchronousSocketChannelImpl.writeShutdown:Z
ifeq 17
16: aload 1
ldc " oshut"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
17: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.ch.AsynchronousSocketChannelImpl.localAddress:Ljava/net/InetSocketAddress;
ifnull 22
18: aload 1
ldc " local="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
19: aload 1
20: aload 0
getfield sun.nio.ch.AsynchronousSocketChannelImpl.localAddress:Ljava/net/InetSocketAddress;
invokestatic sun.nio.ch.Net.getRevealedLocalAddressAsString:(Ljava/net/InetSocketAddress;)Ljava/lang/String;
21: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
22: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.ch.AsynchronousSocketChannelImpl.remoteAddress:Ljava/net/InetSocketAddress;
ifnull 25
23: aload 1
ldc " remote="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
24: aload 1
aload 0
getfield sun.nio.ch.AsynchronousSocketChannelImpl.remoteAddress:Ljava/net/InetSocketAddress;
invokevirtual java.net.InetSocketAddress.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
25: StackMap locals:
StackMap stack:
aload 2
monitorexit
26: goto 29
StackMap locals:
StackMap stack: java.lang.Throwable
27: aload 2
monitorexit
28: athrow
29: StackMap locals:
StackMap stack:
aload 1
bipush 93
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
30: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 31 0 this Lsun/nio/ch/AsynchronousSocketChannelImpl;
1 31 1 sb Ljava/lang/StringBuilder;
Exception table:
from to target type
4 26 27 any
27 28 27 any
public java.nio.channels.NetworkChannel bind(java.net.SocketAddress);
descriptor: (Ljava/net/SocketAddress;)Ljava/nio/channels/NetworkChannel;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual sun.nio.ch.AsynchronousSocketChannelImpl.bind:(Ljava/net/SocketAddress;)Ljava/nio/channels/AsynchronousSocketChannel;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.io.IOException
public java.nio.channels.NetworkChannel setOption(java.net.SocketOption, java.lang.Object);
descriptor: (Ljava/net/SocketOption;Ljava/lang/Object;)Ljava/nio/channels/NetworkChannel;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
checkcast java.net.SocketOption
aload 2
checkcast java.lang.Object
invokevirtual sun.nio.ch.AsynchronousSocketChannelImpl.setOption:(Ljava/net/SocketOption;Ljava/lang/Object;)Ljava/nio/channels/AsynchronousSocketChannel;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.io.IOException
}
SourceFile: "AsynchronousSocketChannelImpl.java"
NestMembers:
sun.nio.ch.AsynchronousSocketChannelImpl$DefaultOptionsHolder
InnerClasses:
private DefaultOptionsHolder = sun.nio.ch.AsynchronousSocketChannelImpl$DefaultOptionsHolder of sun.nio.ch.AsynchronousSocketChannelImpl