class sun.net.httpserver.SSLStreams
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.net.httpserver.SSLStreams
super_class: java.lang.Object
{
javax.net.ssl.SSLContext sslctx;
descriptor: Ljavax/net/ssl/SSLContext;
flags: (0x0000)
java.nio.channels.SocketChannel chan;
descriptor: Ljava/nio/channels/SocketChannel;
flags: (0x0000)
sun.net.httpserver.TimeSource time;
descriptor: Lsun/net/httpserver/TimeSource;
flags: (0x0000)
sun.net.httpserver.ServerImpl server;
descriptor: Lsun/net/httpserver/ServerImpl;
flags: (0x0000)
javax.net.ssl.SSLEngine engine;
descriptor: Ljavax/net/ssl/SSLEngine;
flags: (0x0000)
sun.net.httpserver.SSLStreams$EngineWrapper wrapper;
descriptor: Lsun/net/httpserver/SSLStreams$EngineWrapper;
flags: (0x0000)
sun.net.httpserver.SSLStreams$OutputStream os;
descriptor: Lsun/net/httpserver/SSLStreams$OutputStream;
flags: (0x0000)
sun.net.httpserver.SSLStreams$InputStream is;
descriptor: Lsun/net/httpserver/SSLStreams$InputStream;
flags: (0x0000)
java.util.concurrent.locks.Lock handshaking;
descriptor: Ljava/util/concurrent/locks/Lock;
flags: (0x0000)
int app_buf_size;
descriptor: I
flags: (0x0000)
int packet_buf_size;
descriptor: I
flags: (0x0000)
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
private static volatile int[] $SWITCH_TABLE$javax$net$ssl$SSLEngineResult$HandshakeStatus;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lsun/net/httpserver/SSLStreams;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic sun.net.httpserver.SSLStreams.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(sun.net.httpserver.ServerImpl, javax.net.ssl.SSLContext, java.nio.channels.SocketChannel);
descriptor: (Lsun/net/httpserver/ServerImpl;Ljavax/net/ssl/SSLContext;Ljava/nio/channels/SocketChannel;)V
flags: (0x0000)
Code:
stack=6, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.concurrent.locks.ReentrantLock
dup
invokespecial java.util.concurrent.locks.ReentrantLock.<init>:()V
putfield sun.net.httpserver.SSLStreams.handshaking:Ljava/util/concurrent/locks/Lock;
2: aload 0
aload 1
putfield sun.net.httpserver.SSLStreams.server:Lsun/net/httpserver/ServerImpl;
3: aload 0
aload 1
putfield sun.net.httpserver.SSLStreams.time:Lsun/net/httpserver/TimeSource;
4: aload 0
aload 2
putfield sun.net.httpserver.SSLStreams.sslctx:Ljavax/net/ssl/SSLContext;
5: aload 0
aload 3
putfield sun.net.httpserver.SSLStreams.chan:Ljava/nio/channels/SocketChannel;
6: aload 3
invokevirtual java.nio.channels.SocketChannel.socket:()Ljava/net/Socket;
invokevirtual java.net.Socket.getRemoteSocketAddress:()Ljava/net/SocketAddress;
checkcast java.net.InetSocketAddress
7: astore 4
start local 4 8: aload 0
aload 2
aload 4
invokevirtual java.net.InetSocketAddress.getHostName:()Ljava/lang/String;
aload 4
invokevirtual java.net.InetSocketAddress.getPort:()I
invokevirtual javax.net.ssl.SSLContext.createSSLEngine:(Ljava/lang/String;I)Ljavax/net/ssl/SSLEngine;
putfield sun.net.httpserver.SSLStreams.engine:Ljavax/net/ssl/SSLEngine;
9: aload 0
getfield sun.net.httpserver.SSLStreams.engine:Ljavax/net/ssl/SSLEngine;
iconst_0
invokevirtual javax.net.ssl.SSLEngine.setUseClientMode:(Z)V
10: aload 1
invokevirtual sun.net.httpserver.ServerImpl.getHttpsConfigurator:()Lcom/sun/net/httpserver/HttpsConfigurator;
astore 5
start local 5 11: aload 0
aload 5
aload 4
invokevirtual sun.net.httpserver.SSLStreams.configureEngine:(Lcom/sun/net/httpserver/HttpsConfigurator;Ljava/net/InetSocketAddress;)V
12: aload 0
new sun.net.httpserver.SSLStreams$EngineWrapper
dup
aload 0
aload 3
aload 0
getfield sun.net.httpserver.SSLStreams.engine:Ljavax/net/ssl/SSLEngine;
invokespecial sun.net.httpserver.SSLStreams$EngineWrapper.<init>:(Lsun/net/httpserver/SSLStreams;Ljava/nio/channels/SocketChannel;Ljavax/net/ssl/SSLEngine;)V
putfield sun.net.httpserver.SSLStreams.wrapper:Lsun/net/httpserver/SSLStreams$EngineWrapper;
13: return
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 14 0 this Lsun/net/httpserver/SSLStreams;
0 14 1 server Lsun/net/httpserver/ServerImpl;
0 14 2 sslctx Ljavax/net/ssl/SSLContext;
0 14 3 chan Ljava/nio/channels/SocketChannel;
8 14 4 addr Ljava/net/InetSocketAddress;
11 14 5 cfg Lcom/sun/net/httpserver/HttpsConfigurator;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
server
sslctx
chan
private void configureEngine(com.sun.net.httpserver.HttpsConfigurator, java.net.InetSocketAddress);
descriptor: (Lcom/sun/net/httpserver/HttpsConfigurator;Ljava/net/InetSocketAddress;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnull 21
1: new sun.net.httpserver.SSLStreams$Parameters
dup
aload 0
aload 1
aload 2
invokespecial sun.net.httpserver.SSLStreams$Parameters.<init>:(Lsun/net/httpserver/SSLStreams;Lcom/sun/net/httpserver/HttpsConfigurator;Ljava/net/InetSocketAddress;)V
astore 3
start local 3 2: aload 1
aload 3
invokevirtual com.sun.net.httpserver.HttpsConfigurator.configure:(Lcom/sun/net/httpserver/HttpsParameters;)V
3: aload 3
invokevirtual sun.net.httpserver.SSLStreams$Parameters.getSSLParameters:()Ljavax/net/ssl/SSLParameters;
astore 4
start local 4 4: aload 4
ifnull 7
5: aload 0
getfield sun.net.httpserver.SSLStreams.engine:Ljavax/net/ssl/SSLEngine;
aload 4
invokevirtual javax.net.ssl.SSLEngine.setSSLParameters:(Ljavax/net/ssl/SSLParameters;)V
6: goto 21
7: StackMap locals: sun.net.httpserver.SSLStreams$Parameters javax.net.ssl.SSLParameters
StackMap stack:
aload 3
invokevirtual sun.net.httpserver.SSLStreams$Parameters.getCipherSuites:()[Ljava/lang/String;
ifnull 13
8: aload 0
getfield sun.net.httpserver.SSLStreams.engine:Ljavax/net/ssl/SSLEngine;
9: aload 3
invokevirtual sun.net.httpserver.SSLStreams$Parameters.getCipherSuites:()[Ljava/lang/String;
10: invokevirtual javax.net.ssl.SSLEngine.setEnabledCipherSuites:([Ljava/lang/String;)V
11: goto 13
StackMap locals:
StackMap stack: java.lang.IllegalArgumentException
12: pop
13: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.httpserver.SSLStreams.engine:Ljavax/net/ssl/SSLEngine;
aload 3
invokevirtual sun.net.httpserver.SSLStreams$Parameters.getNeedClientAuth:()Z
invokevirtual javax.net.ssl.SSLEngine.setNeedClientAuth:(Z)V
14: aload 0
getfield sun.net.httpserver.SSLStreams.engine:Ljavax/net/ssl/SSLEngine;
aload 3
invokevirtual sun.net.httpserver.SSLStreams$Parameters.getWantClientAuth:()Z
invokevirtual javax.net.ssl.SSLEngine.setWantClientAuth:(Z)V
15: aload 3
invokevirtual sun.net.httpserver.SSLStreams$Parameters.getProtocols:()[Ljava/lang/String;
ifnull 21
16: aload 0
getfield sun.net.httpserver.SSLStreams.engine:Ljavax/net/ssl/SSLEngine;
17: aload 3
invokevirtual sun.net.httpserver.SSLStreams$Parameters.getProtocols:()[Ljava/lang/String;
18: invokevirtual javax.net.ssl.SSLEngine.setEnabledProtocols:([Ljava/lang/String;)V
19: goto 21
StackMap locals:
StackMap stack: java.lang.IllegalArgumentException
20: pop
end local 4 end local 3 21: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lsun/net/httpserver/SSLStreams;
0 22 1 cfg Lcom/sun/net/httpserver/HttpsConfigurator;
0 22 2 addr Ljava/net/InetSocketAddress;
2 21 3 params Lsun/net/httpserver/SSLStreams$Parameters;
4 21 4 sslParams Ljavax/net/ssl/SSLParameters;
Exception table:
from to target type
8 11 12 Class java.lang.IllegalArgumentException
16 19 20 Class java.lang.IllegalArgumentException
MethodParameters:
Name Flags
cfg
addr
void close();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.net.httpserver.SSLStreams.wrapper:Lsun/net/httpserver/SSLStreams$EngineWrapper;
invokevirtual sun.net.httpserver.SSLStreams$EngineWrapper.close:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/net/httpserver/SSLStreams;
Exceptions:
throws java.io.IOException
sun.net.httpserver.SSLStreams$InputStream getInputStream();
descriptor: ()Lsun/net/httpserver/SSLStreams$InputStream;
flags: (0x0000)
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.net.httpserver.SSLStreams.is:Lsun/net/httpserver/SSLStreams$InputStream;
ifnonnull 2
1: aload 0
new sun.net.httpserver.SSLStreams$InputStream
dup
aload 0
invokespecial sun.net.httpserver.SSLStreams$InputStream.<init>:(Lsun/net/httpserver/SSLStreams;)V
putfield sun.net.httpserver.SSLStreams.is:Lsun/net/httpserver/SSLStreams$InputStream;
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.httpserver.SSLStreams.is:Lsun/net/httpserver/SSLStreams$InputStream;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/net/httpserver/SSLStreams;
Exceptions:
throws java.io.IOException
sun.net.httpserver.SSLStreams$OutputStream getOutputStream();
descriptor: ()Lsun/net/httpserver/SSLStreams$OutputStream;
flags: (0x0000)
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.net.httpserver.SSLStreams.os:Lsun/net/httpserver/SSLStreams$OutputStream;
ifnonnull 2
1: aload 0
new sun.net.httpserver.SSLStreams$OutputStream
dup
aload 0
invokespecial sun.net.httpserver.SSLStreams$OutputStream.<init>:(Lsun/net/httpserver/SSLStreams;)V
putfield sun.net.httpserver.SSLStreams.os:Lsun/net/httpserver/SSLStreams$OutputStream;
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.httpserver.SSLStreams.os:Lsun/net/httpserver/SSLStreams$OutputStream;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/net/httpserver/SSLStreams;
Exceptions:
throws java.io.IOException
javax.net.ssl.SSLEngine getSSLEngine();
descriptor: ()Ljavax/net/ssl/SSLEngine;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.net.httpserver.SSLStreams.engine:Ljavax/net/ssl/SSLEngine;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/net/httpserver/SSLStreams;
void beginHandshake();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.net.httpserver.SSLStreams.engine:Ljavax/net/ssl/SSLEngine;
invokevirtual javax.net.ssl.SSLEngine.beginHandshake:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/net/httpserver/SSLStreams;
Exceptions:
throws javax.net.ssl.SSLException
private java.nio.ByteBuffer allocate(sun.net.httpserver.SSLStreams$BufType);
descriptor: (Lsun/net/httpserver/SSLStreams$BufType;)Ljava/nio/ByteBuffer;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_m1
invokevirtual sun.net.httpserver.SSLStreams.allocate:(Lsun/net/httpserver/SSLStreams$BufType;I)Ljava/nio/ByteBuffer;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/net/httpserver/SSLStreams;
0 1 1 type Lsun/net/httpserver/SSLStreams$BufType;
MethodParameters:
Name Flags
type
private java.nio.ByteBuffer allocate(sun.net.httpserver.SSLStreams$BufType, int);
descriptor: (Lsun/net/httpserver/SSLStreams$BufType;I)Ljava/nio/ByteBuffer;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=6, args_size=3
start local 0 start local 1 start local 2 0: getstatic sun.net.httpserver.SSLStreams.$assertionsDisabled:Z
ifne 1
aload 0
getfield sun.net.httpserver.SSLStreams.engine:Ljavax/net/ssl/SSLEngine;
ifnonnull 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
dup
astore 3
monitorenter
2: aload 1
getstatic sun.net.httpserver.SSLStreams$BufType.PACKET:Lsun/net/httpserver/SSLStreams$BufType;
if_acmpne 10
3: aload 0
getfield sun.net.httpserver.SSLStreams.packet_buf_size:I
ifne 6
4: aload 0
getfield sun.net.httpserver.SSLStreams.engine:Ljavax/net/ssl/SSLEngine;
invokevirtual javax.net.ssl.SSLEngine.getSession:()Ljavax/net/ssl/SSLSession;
astore 5
start local 5 5: aload 0
aload 5
invokeinterface javax.net.ssl.SSLSession.getPacketBufferSize:()I
putfield sun.net.httpserver.SSLStreams.packet_buf_size:I
end local 5 6: StackMap locals: sun.net.httpserver.SSLStreams
StackMap stack:
iload 2
aload 0
getfield sun.net.httpserver.SSLStreams.packet_buf_size:I
if_icmple 8
7: aload 0
iload 2
putfield sun.net.httpserver.SSLStreams.packet_buf_size:I
8: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.httpserver.SSLStreams.packet_buf_size:I
istore 4
start local 4 9: goto 16
end local 4 10: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.httpserver.SSLStreams.app_buf_size:I
ifne 13
11: aload 0
getfield sun.net.httpserver.SSLStreams.engine:Ljavax/net/ssl/SSLEngine;
invokevirtual javax.net.ssl.SSLEngine.getSession:()Ljavax/net/ssl/SSLSession;
astore 5
start local 5 12: aload 0
aload 5
invokeinterface javax.net.ssl.SSLSession.getApplicationBufferSize:()I
putfield sun.net.httpserver.SSLStreams.app_buf_size:I
end local 5 13: StackMap locals:
StackMap stack:
iload 2
aload 0
getfield sun.net.httpserver.SSLStreams.app_buf_size:I
if_icmple 15
14: aload 0
iload 2
putfield sun.net.httpserver.SSLStreams.app_buf_size:I
15: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.httpserver.SSLStreams.app_buf_size:I
istore 4
start local 4 16: StackMap locals: int
StackMap stack:
iload 4
invokestatic java.nio.ByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
aload 3
monitorexit
17: areturn
end local 4 18: StackMap locals: sun.net.httpserver.SSLStreams sun.net.httpserver.SSLStreams$BufType int sun.net.httpserver.SSLStreams
StackMap stack: java.lang.Throwable
aload 3
monitorexit
19: athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lsun/net/httpserver/SSLStreams;
0 20 1 type Lsun/net/httpserver/SSLStreams$BufType;
0 20 2 len I
9 10 4 size I
16 18 4 size I
5 6 5 sess Ljavax/net/ssl/SSLSession;
12 13 5 sess Ljavax/net/ssl/SSLSession;
Exception table:
from to target type
2 17 18 any
18 19 18 any
MethodParameters:
Name Flags
type
len
private java.nio.ByteBuffer realloc(java.nio.ByteBuffer, boolean, sun.net.httpserver.SSLStreams$BufType);
descriptor: (Ljava/nio/ByteBuffer;ZLsun/net/httpserver/SSLStreams$BufType;)Ljava/nio/ByteBuffer;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
dup
astore 4
monitorenter
1: iconst_2
aload 1
invokevirtual java.nio.ByteBuffer.capacity:()I
imul
istore 5
start local 5 2: aload 0
aload 3
iload 5
invokevirtual sun.net.httpserver.SSLStreams.allocate:(Lsun/net/httpserver/SSLStreams$BufType;I)Ljava/nio/ByteBuffer;
astore 6
start local 6 3: iload 2
ifeq 5
4: aload 1
invokevirtual java.nio.ByteBuffer.flip:()Ljava/nio/ByteBuffer;
pop
5: StackMap locals: sun.net.httpserver.SSLStreams int java.nio.ByteBuffer
StackMap stack:
aload 6
aload 1
invokevirtual java.nio.ByteBuffer.put:(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
pop
6: aload 6
astore 1
end local 6 end local 5 7: aload 4
monitorexit
8: goto 11
StackMap locals: sun.net.httpserver.SSLStreams java.nio.ByteBuffer int sun.net.httpserver.SSLStreams$BufType sun.net.httpserver.SSLStreams
StackMap stack: java.lang.Throwable
9: aload 4
monitorexit
10: athrow
11: StackMap locals:
StackMap stack:
aload 1
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lsun/net/httpserver/SSLStreams;
0 12 1 b Ljava/nio/ByteBuffer;
0 12 2 flip Z
0 12 3 type Lsun/net/httpserver/SSLStreams$BufType;
2 7 5 nsize I
3 7 6 n Ljava/nio/ByteBuffer;
Exception table:
from to target type
1 8 9 any
9 10 9 any
MethodParameters:
Name Flags
b
flip
type
public sun.net.httpserver.SSLStreams$WrapperResult sendData(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)Lsun/net/httpserver/SSLStreams$WrapperResult;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: goto 11
2: StackMap locals: sun.net.httpserver.SSLStreams$WrapperResult
StackMap stack:
aload 0
getfield sun.net.httpserver.SSLStreams.wrapper:Lsun/net/httpserver/SSLStreams$EngineWrapper;
aload 1
invokevirtual sun.net.httpserver.SSLStreams$EngineWrapper.wrapAndSend:(Ljava/nio/ByteBuffer;)Lsun/net/httpserver/SSLStreams$WrapperResult;
astore 2
3: aload 2
getfield sun.net.httpserver.SSLStreams$WrapperResult.result:Ljavax/net/ssl/SSLEngineResult;
invokevirtual javax.net.ssl.SSLEngineResult.getStatus:()Ljavax/net/ssl/SSLEngineResult$Status;
astore 3
start local 3 4: aload 3
getstatic javax.net.ssl.SSLEngineResult$Status.CLOSED:Ljavax/net/ssl/SSLEngineResult$Status;
if_acmpne 7
5: aload 0
invokevirtual sun.net.httpserver.SSLStreams.doClosure:()V
6: aload 2
areturn
7: StackMap locals: javax.net.ssl.SSLEngineResult$Status
StackMap stack:
aload 2
getfield sun.net.httpserver.SSLStreams$WrapperResult.result:Ljavax/net/ssl/SSLEngineResult;
invokevirtual javax.net.ssl.SSLEngineResult.getHandshakeStatus:()Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;
astore 4
start local 4 8: aload 4
getstatic javax.net.ssl.SSLEngineResult$HandshakeStatus.FINISHED:Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;
if_acmpeq 11
9: aload 4
getstatic javax.net.ssl.SSLEngineResult$HandshakeStatus.NOT_HANDSHAKING:Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;
if_acmpeq 11
10: aload 0
aload 4
invokevirtual sun.net.httpserver.SSLStreams.doHandshake:(Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;)V
end local 4 end local 3 11: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
ifgt 2
12: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lsun/net/httpserver/SSLStreams;
0 13 1 src Ljava/nio/ByteBuffer;
1 13 2 r Lsun/net/httpserver/SSLStreams$WrapperResult;
4 11 3 status Ljavax/net/ssl/SSLEngineResult$Status;
8 11 4 hs_status Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
src
public sun.net.httpserver.SSLStreams$WrapperResult recvData(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)Lsun/net/httpserver/SSLStreams$WrapperResult;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: getstatic sun.net.httpserver.SSLStreams.$assertionsDisabled:Z
ifne 14
aload 1
invokevirtual java.nio.ByteBuffer.position:()I
ifeq 14
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals: sun.net.httpserver.SSLStreams$WrapperResult
StackMap stack:
aload 0
getfield sun.net.httpserver.SSLStreams.wrapper:Lsun/net/httpserver/SSLStreams$EngineWrapper;
aload 1
invokevirtual sun.net.httpserver.SSLStreams$EngineWrapper.recvAndUnwrap:(Ljava/nio/ByteBuffer;)Lsun/net/httpserver/SSLStreams$WrapperResult;
astore 2
3: aload 2
getfield sun.net.httpserver.SSLStreams$WrapperResult.buf:Ljava/nio/ByteBuffer;
aload 1
if_acmpeq 4
aload 2
getfield sun.net.httpserver.SSLStreams$WrapperResult.buf:Ljava/nio/ByteBuffer;
goto 5
StackMap locals:
StackMap stack:
4: aload 1
StackMap locals:
StackMap stack: java.nio.ByteBuffer
5: astore 1
6: aload 2
getfield sun.net.httpserver.SSLStreams$WrapperResult.result:Ljavax/net/ssl/SSLEngineResult;
invokevirtual javax.net.ssl.SSLEngineResult.getStatus:()Ljavax/net/ssl/SSLEngineResult$Status;
astore 3
start local 3 7: aload 3
getstatic javax.net.ssl.SSLEngineResult$Status.CLOSED:Ljavax/net/ssl/SSLEngineResult$Status;
if_acmpne 10
8: aload 0
invokevirtual sun.net.httpserver.SSLStreams.doClosure:()V
9: aload 2
areturn
10: StackMap locals: javax.net.ssl.SSLEngineResult$Status
StackMap stack:
aload 2
getfield sun.net.httpserver.SSLStreams$WrapperResult.result:Ljavax/net/ssl/SSLEngineResult;
invokevirtual javax.net.ssl.SSLEngineResult.getHandshakeStatus:()Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;
astore 4
start local 4 11: aload 4
getstatic javax.net.ssl.SSLEngineResult$HandshakeStatus.FINISHED:Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;
if_acmpeq 14
12: aload 4
getstatic javax.net.ssl.SSLEngineResult$HandshakeStatus.NOT_HANDSHAKING:Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;
if_acmpeq 14
13: aload 0
aload 4
invokevirtual sun.net.httpserver.SSLStreams.doHandshake:(Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;)V
end local 4 end local 3 14: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.nio.ByteBuffer.position:()I
ifeq 2
15: aload 1
invokevirtual java.nio.ByteBuffer.flip:()Ljava/nio/ByteBuffer;
pop
16: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lsun/net/httpserver/SSLStreams;
0 17 1 dst Ljava/nio/ByteBuffer;
1 17 2 r Lsun/net/httpserver/SSLStreams$WrapperResult;
7 14 3 status Ljavax/net/ssl/SSLEngineResult$Status;
11 14 4 hs_status Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
dst
void doClosure();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=6, args_size=1
start local 0 0: aload 0
getfield sun.net.httpserver.SSLStreams.handshaking:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.lock:()V
1: aload 0
getstatic sun.net.httpserver.SSLStreams$BufType.APPLICATION:Lsun/net/httpserver/SSLStreams$BufType;
invokevirtual sun.net.httpserver.SSLStreams.allocate:(Lsun/net/httpserver/SSLStreams$BufType;)Ljava/nio/ByteBuffer;
astore 1
start local 1 2: StackMap locals: java.nio.ByteBuffer
StackMap stack:
aload 1
invokevirtual java.nio.ByteBuffer.clear:()Ljava/nio/ByteBuffer;
pop
3: aload 1
invokevirtual java.nio.ByteBuffer.flip:()Ljava/nio/ByteBuffer;
pop
4: aload 0
getfield sun.net.httpserver.SSLStreams.wrapper:Lsun/net/httpserver/SSLStreams$EngineWrapper;
aload 1
iconst_1
invokevirtual sun.net.httpserver.SSLStreams$EngineWrapper.wrapAndSendX:(Ljava/nio/ByteBuffer;Z)Lsun/net/httpserver/SSLStreams$WrapperResult;
astore 2
start local 2 5: aload 2
getfield sun.net.httpserver.SSLStreams$WrapperResult.result:Ljavax/net/ssl/SSLEngineResult;
invokevirtual javax.net.ssl.SSLEngineResult.getHandshakeStatus:()Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;
astore 4
start local 4 6: aload 2
getfield sun.net.httpserver.SSLStreams$WrapperResult.result:Ljavax/net/ssl/SSLEngineResult;
invokevirtual javax.net.ssl.SSLEngineResult.getStatus:()Ljavax/net/ssl/SSLEngineResult$Status;
astore 3
start local 3 7: aload 3
getstatic javax.net.ssl.SSLEngineResult$Status.CLOSED:Ljavax/net/ssl/SSLEngineResult$Status;
if_acmpeq 13
8: aload 3
getstatic javax.net.ssl.SSLEngineResult$Status.OK:Ljavax/net/ssl/SSLEngineResult$Status;
if_acmpne 2
aload 4
getstatic javax.net.ssl.SSLEngineResult$HandshakeStatus.NOT_HANDSHAKING:Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;
if_acmpne 2
end local 4 end local 3 end local 2 end local 1 9: goto 13
StackMap locals: sun.net.httpserver.SSLStreams
StackMap stack: java.lang.Throwable
10: astore 5
11: aload 0
getfield sun.net.httpserver.SSLStreams.handshaking:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
12: aload 5
athrow
13: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.httpserver.SSLStreams.handshaking:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
14: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lsun/net/httpserver/SSLStreams;
2 9 1 tmp Ljava/nio/ByteBuffer;
5 9 2 r Lsun/net/httpserver/SSLStreams$WrapperResult;
7 9 3 st Ljavax/net/ssl/SSLEngineResult$Status;
6 9 4 hs Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;
Exception table:
from to target type
0 10 10 any
Exceptions:
throws java.io.IOException
void doHandshake(javax.net.ssl.SSLEngineResult$HandshakeStatus);
descriptor: (Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;)V
flags: (0x0000)
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.net.httpserver.SSLStreams.handshaking:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.lock:()V
1: aload 0
getstatic sun.net.httpserver.SSLStreams$BufType.APPLICATION:Lsun/net/httpserver/SSLStreams$BufType;
invokevirtual sun.net.httpserver.SSLStreams.allocate:(Lsun/net/httpserver/SSLStreams$BufType;)Ljava/nio/ByteBuffer;
astore 2
start local 2 2: goto 20
3: StackMap locals: java.nio.ByteBuffer
StackMap stack:
aconst_null
astore 3
start local 3 4: invokestatic sun.net.httpserver.SSLStreams.$SWITCH_TABLE$javax$net$ssl$SSLEngineResult$HandshakeStatus:()[I
aload 1
invokevirtual javax.net.ssl.SSLEngineResult$HandshakeStatus.ordinal:()I
iaload
tableswitch { // 3 - 5
3: 5
4: 9
5: 13
default: 18
}
5: StackMap locals: sun.net.httpserver.SSLStreams$WrapperResult
StackMap stack:
goto 7
start local 4 6: StackMap locals: java.lang.Runnable
StackMap stack:
aload 4
invokeinterface java.lang.Runnable.run:()V
end local 4 7: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.httpserver.SSLStreams.engine:Ljavax/net/ssl/SSLEngine;
invokevirtual javax.net.ssl.SSLEngine.getDelegatedTask:()Ljava/lang/Runnable;
dup
astore 4
start local 4 8: ifnonnull 6
end local 4 9: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.nio.ByteBuffer.clear:()Ljava/nio/ByteBuffer;
pop
10: aload 2
invokevirtual java.nio.ByteBuffer.flip:()Ljava/nio/ByteBuffer;
pop
11: aload 0
getfield sun.net.httpserver.SSLStreams.wrapper:Lsun/net/httpserver/SSLStreams$EngineWrapper;
aload 2
invokevirtual sun.net.httpserver.SSLStreams$EngineWrapper.wrapAndSend:(Ljava/nio/ByteBuffer;)Lsun/net/httpserver/SSLStreams$WrapperResult;
astore 3
12: goto 18
13: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.nio.ByteBuffer.clear:()Ljava/nio/ByteBuffer;
pop
14: aload 0
getfield sun.net.httpserver.SSLStreams.wrapper:Lsun/net/httpserver/SSLStreams$EngineWrapper;
aload 2
invokevirtual sun.net.httpserver.SSLStreams$EngineWrapper.recvAndUnwrap:(Ljava/nio/ByteBuffer;)Lsun/net/httpserver/SSLStreams$WrapperResult;
astore 3
15: aload 3
getfield sun.net.httpserver.SSLStreams$WrapperResult.buf:Ljava/nio/ByteBuffer;
aload 2
if_acmpeq 17
16: aload 3
getfield sun.net.httpserver.SSLStreams$WrapperResult.buf:Ljava/nio/ByteBuffer;
astore 2
17: StackMap locals:
StackMap stack:
getstatic sun.net.httpserver.SSLStreams.$assertionsDisabled:Z
ifne 18
aload 2
invokevirtual java.nio.ByteBuffer.position:()I
ifeq 18
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
18: StackMap locals:
StackMap stack:
aload 3
19: getfield sun.net.httpserver.SSLStreams$WrapperResult.result:Ljavax/net/ssl/SSLEngineResult;
invokevirtual javax.net.ssl.SSLEngineResult.getHandshakeStatus:()Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;
astore 1
end local 3 20: StackMap locals:
StackMap stack:
aload 1
getstatic javax.net.ssl.SSLEngineResult$HandshakeStatus.FINISHED:Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;
if_acmpeq 26
21: aload 1
getstatic javax.net.ssl.SSLEngineResult$HandshakeStatus.NOT_HANDSHAKING:Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;
if_acmpne 3
end local 2 22: goto 26
StackMap locals: sun.net.httpserver.SSLStreams javax.net.ssl.SSLEngineResult$HandshakeStatus
StackMap stack: java.lang.Throwable
23: astore 5
24: aload 0
getfield sun.net.httpserver.SSLStreams.handshaking:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
25: aload 5
athrow
26: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.httpserver.SSLStreams.handshaking:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
27: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Lsun/net/httpserver/SSLStreams;
0 28 1 hs_status Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;
2 22 2 tmp Ljava/nio/ByteBuffer;
4 20 3 r Lsun/net/httpserver/SSLStreams$WrapperResult;
6 7 4 task Ljava/lang/Runnable;
8 9 4 task Ljava/lang/Runnable;
Exception table:
from to target type
0 23 23 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
hs_status
static int[] $SWITCH_TABLE$javax$net$ssl$SSLEngineResult$HandshakeStatus();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic sun.net.httpserver.SSLStreams.$SWITCH_TABLE$javax$net$ssl$SSLEngineResult$HandshakeStatus:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic javax.net.ssl.SSLEngineResult$HandshakeStatus.values:()[Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;
arraylength
newarray 10
astore 0
2: aload 0
getstatic javax.net.ssl.SSLEngineResult$HandshakeStatus.FINISHED:Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;
invokevirtual javax.net.ssl.SSLEngineResult$HandshakeStatus.ordinal:()I
iconst_2
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic javax.net.ssl.SSLEngineResult$HandshakeStatus.NEED_TASK:Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;
invokevirtual javax.net.ssl.SSLEngineResult$HandshakeStatus.ordinal:()I
iconst_3
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic javax.net.ssl.SSLEngineResult$HandshakeStatus.NEED_UNWRAP:Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;
invokevirtual javax.net.ssl.SSLEngineResult$HandshakeStatus.ordinal:()I
iconst_5
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic javax.net.ssl.SSLEngineResult$HandshakeStatus.NEED_UNWRAP_AGAIN:Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;
invokevirtual javax.net.ssl.SSLEngineResult$HandshakeStatus.ordinal:()I
bipush 6
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
getstatic javax.net.ssl.SSLEngineResult$HandshakeStatus.NEED_WRAP:Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;
invokevirtual javax.net.ssl.SSLEngineResult$HandshakeStatus.ordinal:()I
iconst_4
iastore
15: goto 17
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
16: pop
StackMap locals:
StackMap stack:
17: aload 0
getstatic javax.net.ssl.SSLEngineResult$HandshakeStatus.NOT_HANDSHAKING:Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;
invokevirtual javax.net.ssl.SSLEngineResult$HandshakeStatus.ordinal:()I
iconst_1
iastore
18: goto 20
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
19: pop
StackMap locals:
StackMap stack:
20: aload 0
dup
putstatic sun.net.httpserver.SSLStreams.$SWITCH_TABLE$javax$net$ssl$SSLEngineResult$HandshakeStatus:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
11 12 13 Class java.lang.NoSuchFieldError
14 15 16 Class java.lang.NoSuchFieldError
17 18 19 Class java.lang.NoSuchFieldError
}
SourceFile: "SSLStreams.java"
NestMembers:
sun.net.httpserver.SSLStreams$BufType sun.net.httpserver.SSLStreams$EngineWrapper sun.net.httpserver.SSLStreams$InputStream sun.net.httpserver.SSLStreams$OutputStream sun.net.httpserver.SSLStreams$Parameters sun.net.httpserver.SSLStreams$WrapperResult
InnerClasses:
public final HandshakeStatus = javax.net.ssl.SSLEngineResult$HandshakeStatus of javax.net.ssl.SSLEngineResult
public final Status = javax.net.ssl.SSLEngineResult$Status of javax.net.ssl.SSLEngineResult
final BufType = sun.net.httpserver.SSLStreams$BufType of sun.net.httpserver.SSLStreams
EngineWrapper = sun.net.httpserver.SSLStreams$EngineWrapper of sun.net.httpserver.SSLStreams
InputStream = sun.net.httpserver.SSLStreams$InputStream of sun.net.httpserver.SSLStreams
OutputStream = sun.net.httpserver.SSLStreams$OutputStream of sun.net.httpserver.SSLStreams
Parameters = sun.net.httpserver.SSLStreams$Parameters of sun.net.httpserver.SSLStreams
WrapperResult = sun.net.httpserver.SSLStreams$WrapperResult of sun.net.httpserver.SSLStreams