class sun.security.ssl.AppOutputStream extends java.io.OutputStream
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.security.ssl.AppOutputStream
super_class: java.io.OutputStream
{
private sun.security.ssl.SSLSocketImpl c;
descriptor: Lsun/security/ssl/SSLSocketImpl;
flags: (0x0002) ACC_PRIVATE
sun.security.ssl.OutputRecord r;
descriptor: Lsun/security/ssl/OutputRecord;
flags: (0x0000)
private final byte[] oneByte;
descriptor: [B
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(sun.security.ssl.SSLSocketImpl);
descriptor: (Lsun/security/ssl/SSLSocketImpl;)V
flags: (0x0000)
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.io.OutputStream.<init>:()V
1: aload 0
iconst_1
newarray 8
putfield sun.security.ssl.AppOutputStream.oneByte:[B
2: aload 0
new sun.security.ssl.OutputRecord
dup
bipush 23
invokespecial sun.security.ssl.OutputRecord.<init>:(B)V
putfield sun.security.ssl.AppOutputStream.r:Lsun/security/ssl/OutputRecord;
3: aload 0
aload 1
putfield sun.security.ssl.AppOutputStream.c:Lsun/security/ssl/SSLSocketImpl;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/security/ssl/AppOutputStream;
0 5 1 conn Lsun/security/ssl/SSLSocketImpl;
MethodParameters:
Name Flags
conn
public synchronized void write(byte[], int, int);
descriptor: ([BII)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=4, 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: return
6: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.ssl.AppOutputStream.c:Lsun/security/ssl/SSLSocketImpl;
invokevirtual sun.security.ssl.SSLSocketImpl.checkWrite:()V
7: iconst_1
istore 4
start local 4 8: StackMap locals: int
StackMap stack:
iconst_0
istore 5
start local 5 9: iload 4
ifeq 14
aload 0
getfield sun.security.ssl.AppOutputStream.c:Lsun/security/ssl/SSLSocketImpl;
invokevirtual sun.security.ssl.SSLSocketImpl.needToSplitPayload:()Z
ifeq 14
10: iconst_1
aload 0
getfield sun.security.ssl.AppOutputStream.r:Lsun/security/ssl/OutputRecord;
invokevirtual sun.security.ssl.OutputRecord.availableDataBytes:()I
invokestatic java.lang.Math.min:(II)I
istore 6
start local 6 11: iload 3
iconst_1
if_icmpeq 15
iload 6
iconst_1
if_icmpne 15
12: iconst_1
istore 5
13: goto 15
end local 6 14: StackMap locals: int
StackMap stack:
iload 3
aload 0
getfield sun.security.ssl.AppOutputStream.r:Lsun/security/ssl/OutputRecord;
invokevirtual sun.security.ssl.OutputRecord.availableDataBytes:()I
invokestatic java.lang.Math.min:(II)I
istore 6
start local 6 15: StackMap locals: int
StackMap stack:
iload 4
ifeq 17
iload 6
ifeq 17
16: iconst_0
istore 4
17: StackMap locals:
StackMap stack:
iload 6
ifle 21
18: aload 0
getfield sun.security.ssl.AppOutputStream.r:Lsun/security/ssl/OutputRecord;
aload 1
iload 2
iload 6
invokevirtual sun.security.ssl.OutputRecord.write:([BII)V
19: iload 2
iload 6
iadd
istore 2
20: iload 3
iload 6
isub
istore 3
21: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.ssl.AppOutputStream.c:Lsun/security/ssl/SSLSocketImpl;
aload 0
getfield sun.security.ssl.AppOutputStream.r:Lsun/security/ssl/OutputRecord;
iload 5
invokevirtual sun.security.ssl.SSLSocketImpl.writeRecord:(Lsun/security/ssl/OutputRecord;Z)V
22: aload 0
getfield sun.security.ssl.AppOutputStream.c:Lsun/security/ssl/SSLSocketImpl;
invokevirtual sun.security.ssl.SSLSocketImpl.checkWrite:()V
end local 6 end local 5 23: iload 3
24: ifgt 8
25: goto 28
StackMap locals: sun.security.ssl.AppOutputStream byte[] int int int
StackMap stack: java.lang.Exception
26: astore 5
start local 5 27: aload 0
getfield sun.security.ssl.AppOutputStream.c:Lsun/security/ssl/SSLSocketImpl;
aload 5
invokevirtual sun.security.ssl.SSLSocketImpl.handleException:(Ljava/lang/Exception;)V
end local 5 28: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 this Lsun/security/ssl/AppOutputStream;
0 29 1 b [B
0 29 2 off I
0 29 3 len I
8 29 4 isFirstRecordOfThePayload Z
9 23 5 holdRecord Z
11 14 6 howmuch I
15 23 6 howmuch I
27 28 5 e Ljava/lang/Exception;
Exception table:
from to target type
8 25 26 Class java.lang.Exception
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
off
len
public synchronized void write(int);
descriptor: (I)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.security.ssl.AppOutputStream.oneByte:[B
iconst_0
iload 1
i2b
bastore
1: aload 0
aload 0
getfield sun.security.ssl.AppOutputStream.oneByte:[B
iconst_0
iconst_1
invokevirtual sun.security.ssl.AppOutputStream.write:([BII)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/ssl/AppOutputStream;
0 3 1 i I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
i
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.AppOutputStream.c: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/AppOutputStream;
Exceptions:
throws java.io.IOException
}
SourceFile: "AppOutputStream.java"