public final class com.sun.webkit.SimpleSharedBufferInputStream extends java.io.InputStream
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.webkit.SimpleSharedBufferInputStream
super_class: java.io.InputStream
{
private final com.sun.webkit.SharedBuffer sharedBuffer;
descriptor: Lcom/sun/webkit/SharedBuffer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private long position;
descriptor: J
flags: (0x0002) ACC_PRIVATE
public void <init>(com.sun.webkit.SharedBuffer);
descriptor: (Lcom/sun/webkit/SharedBuffer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.io.InputStream.<init>:()V
1: aload 1
ifnonnull 3
2: new java.lang.NullPointerException
dup
ldc "sharedBuffer is null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: com.sun.webkit.SimpleSharedBufferInputStream com.sun.webkit.SharedBuffer
StackMap stack:
aload 0
aload 1
putfield com.sun.webkit.SimpleSharedBufferInputStream.sharedBuffer:Lcom/sun/webkit/SharedBuffer;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/webkit/SimpleSharedBufferInputStream;
0 5 1 sharedBuffer Lcom/sun/webkit/SharedBuffer;
MethodParameters:
Name Flags
sharedBuffer
public int read();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=1
start local 0 0: iconst_1
newarray 8
astore 1
start local 1 1: aload 0
getfield com.sun.webkit.SimpleSharedBufferInputStream.sharedBuffer:Lcom/sun/webkit/SharedBuffer;
aload 0
getfield com.sun.webkit.SimpleSharedBufferInputStream.position:J
aload 1
iconst_0
iconst_1
invokevirtual com.sun.webkit.SharedBuffer.getSomeData:(J[BII)I
istore 2
start local 2 2: iload 2
ifeq 5
3: aload 0
dup
getfield com.sun.webkit.SimpleSharedBufferInputStream.position:J
lconst_1
ladd
putfield com.sun.webkit.SimpleSharedBufferInputStream.position:J
4: aload 1
iconst_0
baload
sipush 255
iand
ireturn
5: StackMap locals: byte[] int
StackMap stack:
iconst_m1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/webkit/SimpleSharedBufferInputStream;
1 6 1 buffer [B
2 6 2 length I
public int read(byte[], int, int);
descriptor: ([BII)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, 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
ldc "b is null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
iload 2
ifge 4
3: new java.lang.IndexOutOfBoundsException
dup
ldc "off is negative"
invokespecial java.lang.IndexOutOfBoundsException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
iload 3
ifge 6
5: new java.lang.IndexOutOfBoundsException
dup
ldc "len is negative"
invokespecial java.lang.IndexOutOfBoundsException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
iload 3
aload 1
arraylength
iload 2
isub
if_icmple 10
7: new java.lang.IndexOutOfBoundsException
dup
8: ldc "len is greater than b.length - off"
9: invokespecial java.lang.IndexOutOfBoundsException.<init>:(Ljava/lang/String;)V
athrow
10: StackMap locals:
StackMap stack:
iload 3
ifne 12
11: iconst_0
ireturn
12: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.webkit.SimpleSharedBufferInputStream.sharedBuffer:Lcom/sun/webkit/SharedBuffer;
aload 0
getfield com.sun.webkit.SimpleSharedBufferInputStream.position:J
aload 1
iload 2
iload 3
invokevirtual com.sun.webkit.SharedBuffer.getSomeData:(J[BII)I
istore 4
start local 4 13: iload 4
ifeq 16
14: aload 0
dup
getfield com.sun.webkit.SimpleSharedBufferInputStream.position:J
iload 4
i2l
ladd
putfield com.sun.webkit.SimpleSharedBufferInputStream.position:J
15: iload 4
ireturn
16: StackMap locals: int
StackMap stack:
iconst_m1
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lcom/sun/webkit/SimpleSharedBufferInputStream;
0 17 1 b [B
0 17 2 off I
0 17 3 len I
13 17 4 length I
MethodParameters:
Name Flags
b
off
len
public long skip(long);
descriptor: (J)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.webkit.SimpleSharedBufferInputStream.sharedBuffer:Lcom/sun/webkit/SharedBuffer;
invokevirtual com.sun.webkit.SharedBuffer.size:()J
aload 0
getfield com.sun.webkit.SimpleSharedBufferInputStream.position:J
lsub
lstore 3
start local 3 1: lload 1
lload 3
lcmp
ifge 5
2: lload 1
lconst_0
lcmp
ifge 3
lconst_0
goto 4
StackMap locals: long
StackMap stack:
3: lload 1
StackMap locals:
StackMap stack: long
4: lstore 3
5: StackMap locals:
StackMap stack:
aload 0
dup
getfield com.sun.webkit.SimpleSharedBufferInputStream.position:J
lload 3
ladd
putfield com.sun.webkit.SimpleSharedBufferInputStream.position:J
6: lload 3
lreturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/webkit/SimpleSharedBufferInputStream;
0 7 1 n J
1 7 3 k J
MethodParameters:
Name Flags
n
public int available();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.webkit.SimpleSharedBufferInputStream.sharedBuffer:Lcom/sun/webkit/SharedBuffer;
invokevirtual com.sun.webkit.SharedBuffer.size:()J
aload 0
getfield com.sun.webkit.SimpleSharedBufferInputStream.position:J
lsub
1: ldc 2147483647
2: invokestatic java.lang.Math.min:(JJ)J
l2i
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/webkit/SimpleSharedBufferInputStream;
}
SourceFile: "SimpleSharedBufferInputStream.java"