final class sun.security.ssl.AppInputStream extends java.io.InputStream
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.security.ssl.AppInputStream
super_class: java.io.InputStream
{
private static final int READ_BUFFER_SIZE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 4096
private static final byte[] SKIP_ARRAY;
descriptor: [B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final sun.security.ssl.SSLSocketImpl socket;
descriptor: Lsun/security/ssl/SSLSocketImpl;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.nio.ByteBuffer buffer;
descriptor: Ljava/nio/ByteBuffer;
flags: (0x0002) ACC_PRIVATE
private boolean appDataIsAvailable;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private final byte[] oneByte;
descriptor: [B
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: sipush 256
newarray 8
putstatic sun.security.ssl.AppInputStream.SKIP_ARRAY:[B
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(sun.security.ssl.SSLSocketImpl);
descriptor: (Lsun/security/ssl/SSLSocketImpl;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.io.InputStream.<init>:()V
1: aload 0
iconst_1
newarray 8
putfield sun.security.ssl.AppInputStream.oneByte:[B
2: aload 0
sipush 4096
invokestatic java.nio.ByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
putfield sun.security.ssl.AppInputStream.buffer:Ljava/nio/ByteBuffer;
3: aload 0
aload 1
putfield sun.security.ssl.AppInputStream.socket:Lsun/security/ssl/SSLSocketImpl;
4: aload 0
iconst_0
putfield sun.security.ssl.AppInputStream.appDataIsAvailable:Z
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/security/ssl/AppInputStream;
0 6 1 conn Lsun/security/ssl/SSLSocketImpl;
MethodParameters:
Name Flags
conn
public int available();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.ssl.AppInputStream.appDataIsAvailable:Z
ifeq 1
aload 0
getfield sun.security.ssl.AppInputStream.socket:Lsun/security/ssl/SSLSocketImpl;
invokevirtual sun.security.ssl.SSLSocketImpl.checkEOF:()Z
ifeq 2
1: StackMap locals:
StackMap stack:
iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.ssl.AppInputStream.buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.remaining:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/ssl/AppInputStream;
Exceptions:
throws java.io.IOException
public synchronized int read();
descriptor: ()I
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
aload 0
getfield sun.security.ssl.AppInputStream.oneByte:[B
iconst_0
iconst_1
invokevirtual sun.security.ssl.AppInputStream.read:([BII)I
istore 1
start local 1 1: iload 1
ifgt 3
2: iconst_m1
ireturn
3: StackMap locals: int
StackMap stack:
aload 0
getfield sun.security.ssl.AppInputStream.oneByte:[B
iconst_0
baload
sipush 255
iand
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/security/ssl/AppInputStream;
1 4 1 n I
Exceptions:
throws java.io.IOException
public synchronized int read(byte[], int, int);
descriptor: ([BII)I
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=5, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
ifnonnull 2
1: new java.lang.NullPointerException
dup
invokespecial java.lang.NullPointerException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
iload 2
iflt 3
iload 3
iflt 3
iload 3
aload 1
arraylength
iload 2
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:
iload 3
ifne 6
5: iconst_0
ireturn
6: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.ssl.AppInputStream.socket:Lsun/security/ssl/SSLSocketImpl;
invokevirtual sun.security.ssl.SSLSocketImpl.checkEOF:()Z
ifeq 8
7: iconst_m1
ireturn
8: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.security.ssl.AppInputStream.available:()I
istore 4
start local 4 9: iload 4
ifle 13
10: iload 4
iload 3
invokestatic java.lang.Math.min:(II)I
istore 5
start local 5 11: aload 0
getfield sun.security.ssl.AppInputStream.buffer:Ljava/nio/ByteBuffer;
aload 1
iload 2
iload 5
invokevirtual java.nio.ByteBuffer.get:([BII)Ljava/nio/ByteBuffer;
pop
12: iload 5
ireturn
end local 5 13: StackMap locals: int
StackMap stack:
aload 0
iconst_0
putfield sun.security.ssl.AppInputStream.appDataIsAvailable:Z
14: iconst_0
istore 5
start local 5 15: goto 32
16: StackMap locals: int
StackMap stack:
aload 0
getfield sun.security.ssl.AppInputStream.buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.clear:()Ljava/nio/ByteBuffer;
pop
17: aload 0
getfield sun.security.ssl.AppInputStream.socket:Lsun/security/ssl/SSLSocketImpl;
invokevirtual sun.security.ssl.SSLSocketImpl.bytesInCompletePacket:()I
istore 6
start local 6 18: iload 6
ifge 20
19: iconst_m1
ireturn
20: StackMap locals: int
StackMap stack:
iload 6
ldc 33093
if_icmple 24
21: new javax.net.ssl.SSLProtocolException
dup
22: new java.lang.StringBuilder
dup
ldc "Illegal packet size: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 6
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
23: invokespecial javax.net.ssl.SSLProtocolException.<init>:(Ljava/lang/String;)V
athrow
24: StackMap locals:
StackMap stack:
iload 6
aload 0
getfield sun.security.ssl.AppInputStream.buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.remaining:()I
if_icmple 26
25: aload 0
iload 6
invokestatic java.nio.ByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
putfield sun.security.ssl.AppInputStream.buffer:Ljava/nio/ByteBuffer;
26: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.ssl.AppInputStream.socket:Lsun/security/ssl/SSLSocketImpl;
aload 0
getfield sun.security.ssl.AppInputStream.buffer:Ljava/nio/ByteBuffer;
invokevirtual sun.security.ssl.SSLSocketImpl.readRecord:(Ljava/nio/ByteBuffer;)I
istore 5
27: iload 5
ifge 29
28: iconst_m1
ireturn
29: StackMap locals:
StackMap stack:
iload 5
ifle 32
30: aload 0
iconst_1
putfield sun.security.ssl.AppInputStream.appDataIsAvailable:Z
31: goto 33
end local 6 32: StackMap locals:
StackMap stack:
iload 5
ifeq 16
33: StackMap locals:
StackMap stack:
iload 3
iload 5
invokestatic java.lang.Math.min:(II)I
istore 6
start local 6 34: aload 0
getfield sun.security.ssl.AppInputStream.buffer:Ljava/nio/ByteBuffer;
aload 1
iload 2
iload 6
invokevirtual java.nio.ByteBuffer.get:([BII)Ljava/nio/ByteBuffer;
pop
35: iload 6
36: ireturn
end local 6 37: StackMap locals:
StackMap stack: java.lang.Exception
astore 6
start local 6 38: aload 0
getfield sun.security.ssl.AppInputStream.socket:Lsun/security/ssl/SSLSocketImpl;
aload 6
invokevirtual sun.security.ssl.SSLSocketImpl.handleException:(Ljava/lang/Exception;)V
39: iconst_m1
ireturn
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 40 0 this Lsun/security/ssl/AppInputStream;
0 40 1 b [B
0 40 2 off I
0 40 3 len I
9 40 4 remains I
11 13 5 howmany I
15 40 5 volume I
18 32 6 packetLen I
34 37 6 howmany I
38 40 6 e Ljava/lang/Exception;
Exception table:
from to target type
15 19 37 Class java.lang.Exception
20 28 37 Class java.lang.Exception
29 36 37 Class java.lang.Exception
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
off
len
public synchronized long skip(long);
descriptor: (J)J
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=4, locals=7, args_size=2
start local 0 start local 1 0: lconst_0
lstore 3
start local 3 1: goto 8
2: StackMap locals: long
StackMap stack:
lload 1
getstatic sun.security.ssl.AppInputStream.SKIP_ARRAY:[B
arraylength
i2l
invokestatic java.lang.Math.min:(JJ)J
l2i
istore 5
start local 5 3: aload 0
getstatic sun.security.ssl.AppInputStream.SKIP_ARRAY:[B
iconst_0
iload 5
invokevirtual sun.security.ssl.AppInputStream.read:([BII)I
istore 6
start local 6 4: iload 6
ifgt 6
5: goto 9
6: StackMap locals: int int
StackMap stack:
lload 1
iload 6
i2l
lsub
lstore 1
7: lload 3
iload 6
i2l
ladd
lstore 3
end local 6 end local 5 8: StackMap locals:
StackMap stack:
lload 1
lconst_0
lcmp
ifgt 2
9: StackMap locals:
StackMap stack:
lload 3
lreturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/security/ssl/AppInputStream;
0 10 1 n J
1 10 3 skipped J
3 8 5 len I
4 8 6 r I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
n
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.ssl.AppInputStream.socket:Lsun/security/ssl/SSLSocketImpl;
invokevirtual sun.security.ssl.SSLSocketImpl.close:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/ssl/AppInputStream;
Exceptions:
throws java.io.IOException
}
SourceFile: "AppInputStream.java"