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 // sun.tools.common.PrintStreamPrinter this
         0: .line 38
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // sun.tools.common.PrintStreamPrinter this
      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 // java.io.InputStream is
        start local 1 // java.io.PrintStream ps
         0: .line 47
            lconst_0
            lstore 2 /* result */
        start local 2 // long result
         1: .line 49
            aconst_null
            astore 4
            aconst_null
            astore 5
         2: new java.io.BufferedInputStream
            dup
            aload 0 /* is */
            invokespecial java.io.BufferedInputStream.<init>:(Ljava/io/InputStream;)V
            astore 6 /* bis */
        start local 6 // java.io.BufferedInputStream bis
         3: .line 50
            new java.io.InputStreamReader
            dup
            aload 6 /* bis */
            ldc "UTF-8"
            invokespecial java.io.InputStreamReader.<init>:(Ljava/io/InputStream;Ljava/lang/String;)V
            astore 7 /* isr */
        start local 7 // java.io.InputStreamReader isr
         4: .line 51
            sipush 256
            newarray 5
            astore 8 /* c */
        start local 8 // char[] c
         5: .line 55
      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 /* isr */
            aload 8 /* c */
            invokevirtual java.io.InputStreamReader.read:([C)I
            istore 9 /* n */
        start local 9 // int n
         6: .line 57
            iload 9 /* n */
            ifle 11
         7: .line 58
            lload 2 /* result */
            iload 9 /* n */
            i2l
            ladd
            lstore 2 /* result */
         8: .line 59
            aload 1 /* ps */
            iload 9 /* n */
            aload 8 /* c */
            arraylength
            if_icmpne 9
            aload 8 /* c */
            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 /* c */
            iload 9 /* n */
            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: .line 61
      StackMap locals:
      StackMap stack:
            iload 9 /* n */
        12: .line 54
            ifgt 5
        end local 9 // int n
        end local 8 // char[] c
        13: .line 62
            aload 7 /* isr */
            ifnull 16
            aload 7 /* isr */
            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 /* isr */
            ifnull 15
            aload 7 /* isr */
            invokevirtual java.io.InputStreamReader.close:()V
        end local 7 // java.io.InputStreamReader isr
      StackMap locals:
      StackMap stack:
        15: aload 4
            athrow
      StackMap locals:
      StackMap stack:
        16: aload 6 /* bis */
            ifnull 24
            aload 6 /* bis */
            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 /* bis */
            ifnull 20
            aload 6 /* bis */
            invokevirtual java.io.BufferedInputStream.close:()V
        end local 6 // java.io.BufferedInputStream bis
      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: .line 64
      StackMap locals:
      StackMap stack:
            lload 2 /* result */
            lreturn
        end local 2 // long result
        end local 1 // java.io.PrintStream ps
        end local 0 // java.io.InputStream is
      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"