public class sun.tools.common.PrintStreamPrinter
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.tools.common.PrintStreamPrinter
super_class: java.lang.Object
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/common/PrintStreamPrinter;
public static long drainUTF8(java.io.InputStream, java.io.PrintStream);
descriptor: (Ljava/io/InputStream;Ljava/io/PrintStream;)J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=10, args_size=2
start local 0 start local 1 0: lconst_0
lstore 2
start local 2 1: aconst_null
astore 4
aconst_null
astore 5
2: new java.io.BufferedInputStream
dup
aload 0
invokespecial java.io.BufferedInputStream.<init>:(Ljava/io/InputStream;)V
astore 6
start local 6 3: new java.io.InputStreamReader
dup
aload 6
ldc "UTF-8"
invokespecial java.io.InputStreamReader.<init>:(Ljava/io/InputStream;Ljava/lang/String;)V
astore 7
start local 7 4: sipush 256
newarray 5
astore 8
start local 8 5: StackMap locals: java.io.InputStream java.io.PrintStream long java.lang.Throwable java.lang.Throwable java.io.BufferedInputStream java.io.InputStreamReader char[]
StackMap stack:
aload 7
aload 8
invokevirtual java.io.InputStreamReader.read:([C)I
istore 9
start local 9 6: iload 9
ifle 11
7: lload 2
iload 9
i2l
ladd
lstore 2
8: aload 1
iload 9
aload 8
arraylength
if_icmpne 9
aload 8
goto 10
StackMap locals: java.io.InputStream java.io.PrintStream long java.lang.Throwable java.lang.Throwable java.io.BufferedInputStream java.io.InputStreamReader char[] int
StackMap stack: java.io.PrintStream
9: aload 8
iload 9
invokestatic java.util.Arrays.copyOf:([CI)[C
StackMap locals: java.io.InputStream java.io.PrintStream long java.lang.Throwable java.lang.Throwable java.io.BufferedInputStream java.io.InputStreamReader char[] int
StackMap stack: java.io.PrintStream char[]
10: invokevirtual java.io.PrintStream.print:([C)V
11: StackMap locals:
StackMap stack:
iload 9
12: ifgt 5
end local 9 end local 8 13: aload 7
ifnull 16
aload 7
invokevirtual java.io.InputStreamReader.close:()V
goto 16
StackMap locals: java.io.InputStream java.io.PrintStream long java.lang.Throwable java.lang.Throwable java.io.BufferedInputStream java.io.InputStreamReader
StackMap stack: java.lang.Throwable
14: astore 4
aload 7
ifnull 15
aload 7
invokevirtual java.io.InputStreamReader.close:()V
end local 7 StackMap locals:
StackMap stack:
15: aload 4
athrow
StackMap locals:
StackMap stack:
16: aload 6
ifnull 24
aload 6
invokevirtual java.io.BufferedInputStream.close:()V
goto 24
StackMap locals:
StackMap stack: java.lang.Throwable
17: astore 5
aload 4
ifnonnull 18
aload 5
astore 4
goto 19
StackMap locals:
StackMap stack:
18: aload 4
aload 5
if_acmpeq 19
aload 4
aload 5
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
19: aload 6
ifnull 20
aload 6
invokevirtual java.io.BufferedInputStream.close:()V
end local 6 StackMap locals:
StackMap stack:
20: aload 4
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
21: astore 5
aload 4
ifnonnull 22
aload 5
astore 4
goto 23
StackMap locals:
StackMap stack:
22: aload 4
aload 5
if_acmpeq 23
aload 4
aload 5
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
23: aload 4
athrow
24: StackMap locals:
StackMap stack:
lload 2
lreturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 is Ljava/io/InputStream;
0 25 1 ps Ljava/io/PrintStream;
1 25 2 result J
3 20 6 bis Ljava/io/BufferedInputStream;
4 15 7 isr Ljava/io/InputStreamReader;
5 13 8 c [C
6 13 9 n I
Exception table:
from to target type
4 13 14 any
3 16 17 any
2 21 21 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
is
ps
}
SourceFile: "PrintStreamPrinter.java"