public class sun.rmi.log.LogInputStream extends java.io.InputStream
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.rmi.log.LogInputStream
super_class: java.io.InputStream
{
private java.io.InputStream in;
descriptor: Ljava/io/InputStream;
flags: (0x0002) ACC_PRIVATE
private int length;
descriptor: I
flags: (0x0002) ACC_PRIVATE
public void <init>(java.io.InputStream, int);
descriptor: (Ljava/io/InputStream;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.io.InputStream.<init>:()V
1: aload 0
aload 1
putfield sun.rmi.log.LogInputStream.in:Ljava/io/InputStream;
2: aload 0
iload 2
putfield sun.rmi.log.LogInputStream.length:I
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/rmi/log/LogInputStream;
0 4 1 in Ljava/io/InputStream;
0 4 2 length I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
in
length
public int read();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.rmi.log.LogInputStream.length:I
ifne 2
1: iconst_m1
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.rmi.log.LogInputStream.in:Ljava/io/InputStream;
invokevirtual java.io.InputStream.read:()I
istore 1
start local 1 3: aload 0
iload 1
iconst_m1
if_icmpeq 4
aload 0
getfield sun.rmi.log.LogInputStream.length:I
iconst_1
isub
goto 5
StackMap locals: sun.rmi.log.LogInputStream int
StackMap stack: sun.rmi.log.LogInputStream
4: iconst_0
StackMap locals: sun.rmi.log.LogInputStream int
StackMap stack: sun.rmi.log.LogInputStream int
5: putfield sun.rmi.log.LogInputStream.length:I
6: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/rmi/log/LogInputStream;
3 7 1 c I
Exceptions:
throws java.io.IOException
public int read(byte[]);
descriptor: ([B)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
aload 1
arraylength
invokevirtual sun.rmi.log.LogInputStream.read:([BII)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/rmi/log/LogInputStream;
0 1 1 b [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
public int read(byte[], int, int);
descriptor: ([BII)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield sun.rmi.log.LogInputStream.length:I
ifne 2
1: iconst_m1
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.rmi.log.LogInputStream.length:I
iload 3
if_icmpge 3
aload 0
getfield sun.rmi.log.LogInputStream.length:I
goto 4
StackMap locals:
StackMap stack:
3: iload 3
StackMap locals:
StackMap stack: int
4: istore 3
5: aload 0
getfield sun.rmi.log.LogInputStream.in:Ljava/io/InputStream;
aload 1
iload 2
iload 3
invokevirtual java.io.InputStream.read:([BII)I
istore 4
start local 4 6: aload 0
iload 4
iconst_m1
if_icmpeq 7
aload 0
getfield sun.rmi.log.LogInputStream.length:I
iload 4
isub
goto 8
StackMap locals: sun.rmi.log.LogInputStream byte[] int int int
StackMap stack: sun.rmi.log.LogInputStream
7: iconst_0
StackMap locals: sun.rmi.log.LogInputStream byte[] int int int
StackMap stack: sun.rmi.log.LogInputStream int
8: putfield sun.rmi.log.LogInputStream.length:I
9: iload 4
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/rmi/log/LogInputStream;
0 10 1 b [B
0 10 2 off I
0 10 3 len I
6 10 4 n I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
off
len
public long skip(long);
descriptor: (J)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: lload 1
ldc 2147483647
lcmp
ifle 2
1: new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "Too many bytes to skip - "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
lload 1
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.rmi.log.LogInputStream.length:I
ifne 4
3: lconst_0
lreturn
4: StackMap locals:
StackMap stack:
aload 0
getfield sun.rmi.log.LogInputStream.length:I
i2l
lload 1
lcmp
ifge 5
aload 0
getfield sun.rmi.log.LogInputStream.length:I
i2l
goto 6
StackMap locals:
StackMap stack:
5: lload 1
StackMap locals:
StackMap stack: long
6: lstore 1
7: aload 0
getfield sun.rmi.log.LogInputStream.in:Ljava/io/InputStream;
lload 1
invokevirtual java.io.InputStream.skip:(J)J
lstore 1
8: aload 0
dup
getfield sun.rmi.log.LogInputStream.length:I
i2l
lload 1
lsub
l2i
putfield sun.rmi.log.LogInputStream.length:I
9: lload 1
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/rmi/log/LogInputStream;
0 10 1 n J
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
n
public int available();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.rmi.log.LogInputStream.in:Ljava/io/InputStream;
invokevirtual java.io.InputStream.available:()I
istore 1
start local 1 1: aload 0
getfield sun.rmi.log.LogInputStream.length:I
iload 1
if_icmpge 2
aload 0
getfield sun.rmi.log.LogInputStream.length:I
goto 3
StackMap locals: int
StackMap stack:
2: iload 1
StackMap locals:
StackMap stack: int
3: ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/rmi/log/LogInputStream;
1 4 1 avail I
Exceptions:
throws java.io.IOException
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
putfield sun.rmi.log.LogInputStream.length:I
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/rmi/log/LogInputStream;
protected void finalize();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.rmi.log.LogInputStream.close:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/rmi/log/LogInputStream;
Exceptions:
throws java.io.IOException
}
SourceFile: "LogInputStream.java"