final class jdk.tools.jaotc.binformat.pecoff.PECoffContainer
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: jdk.tools.jaotc.binformat.pecoff.PECoffContainer
  super_class: java.lang.Object
{
  private final java.io.File outputFile;
    descriptor: Ljava/io/File;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private java.io.FileOutputStream outputStream;
    descriptor: Ljava/io/FileOutputStream;
    flags: (0x0002) ACC_PRIVATE

  private long fileOffset;
    descriptor: J
    flags: (0x0002) ACC_PRIVATE

  void <init>(java.lang.String);
    descriptor: (Ljava/lang/String;)V
    flags: (0x0000) 
    Code:
      stack=4, locals=2, args_size=2
        start local 0 // jdk.tools.jaotc.binformat.pecoff.PECoffContainer this
        start local 1 // java.lang.String fileName
         0: .line 35
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 37
            aload 0 /* this */
            new java.io.File
            dup
            aload 1 /* fileName */
            invokespecial java.io.File.<init>:(Ljava/lang/String;)V
            putfield jdk.tools.jaotc.binformat.pecoff.PECoffContainer.outputFile:Ljava/io/File;
         2: .line 38
            aload 0 /* this */
            getfield jdk.tools.jaotc.binformat.pecoff.PECoffContainer.outputFile:Ljava/io/File;
            invokevirtual java.io.File.exists:()Z
            ifeq 4
         3: .line 39
            aload 0 /* this */
            getfield jdk.tools.jaotc.binformat.pecoff.PECoffContainer.outputFile:Ljava/io/File;
            invokevirtual java.io.File.delete:()Z
            pop
         4: .line 43
      StackMap locals: jdk.tools.jaotc.binformat.pecoff.PECoffContainer java.lang.String
      StackMap stack:
            aload 0 /* this */
            new java.io.FileOutputStream
            dup
            aload 0 /* this */
            getfield jdk.tools.jaotc.binformat.pecoff.PECoffContainer.outputFile:Ljava/io/File;
            invokespecial java.io.FileOutputStream.<init>:(Ljava/io/File;)V
            putfield jdk.tools.jaotc.binformat.pecoff.PECoffContainer.outputStream:Ljava/io/FileOutputStream;
         5: .line 44
            goto 8
      StackMap locals:
      StackMap stack: java.lang.Exception
         6: pop
         7: .line 45
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            new java.lang.StringBuilder
            dup
            ldc "PECoffContainer: Can't create file "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 1 /* fileName */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
         8: .line 47
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            lconst_0
            putfield jdk.tools.jaotc.binformat.pecoff.PECoffContainer.fileOffset:J
         9: .line 48
            return
        end local 1 // java.lang.String fileName
        end local 0 // jdk.tools.jaotc.binformat.pecoff.PECoffContainer this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   10     0      this  Ljdk/tools/jaotc/binformat/pecoff/PECoffContainer;
            0   10     1  fileName  Ljava/lang/String;
      Exception table:
        from    to  target  type
           4     5       6  Class java.lang.Exception
    MethodParameters:
          Name  Flags
      fileName  

  void close();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.tools.jaotc.binformat.pecoff.PECoffContainer this
         0: .line 52
            aload 0 /* this */
            getfield jdk.tools.jaotc.binformat.pecoff.PECoffContainer.outputStream:Ljava/io/FileOutputStream;
            invokevirtual java.io.FileOutputStream.close:()V
         1: .line 53
            goto 4
      StackMap locals:
      StackMap stack: java.lang.Exception
         2: pop
         3: .line 54
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            ldc "PECoffContainer: close failed"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
         4: .line 56
      StackMap locals:
      StackMap stack:
            return
        end local 0 // jdk.tools.jaotc.binformat.pecoff.PECoffContainer this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Ljdk/tools/jaotc/binformat/pecoff/PECoffContainer;
      Exception table:
        from    to  target  type
           0     1       2  Class java.lang.Exception

  void writeBytes(byte[]);
    descriptor: ([B)V
    flags: (0x0000) 
    Code:
      stack=5, locals=2, args_size=2
        start local 0 // jdk.tools.jaotc.binformat.pecoff.PECoffContainer this
        start local 1 // byte[] bytes
         0: .line 59
            aload 1 /* bytes */
            ifnonnull 2
         1: .line 60
            return
         2: .line 63
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.tools.jaotc.binformat.pecoff.PECoffContainer.outputStream:Ljava/io/FileOutputStream;
            aload 1 /* bytes */
            invokevirtual java.io.FileOutputStream.write:([B)V
         3: .line 64
            goto 6
      StackMap locals:
      StackMap stack: java.lang.Exception
         4: pop
         5: .line 65
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            ldc "PECoffContainer: writeBytes failed"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
         6: .line 67
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            dup
            getfield jdk.tools.jaotc.binformat.pecoff.PECoffContainer.fileOffset:J
            aload 1 /* bytes */
            arraylength
            i2l
            ladd
            putfield jdk.tools.jaotc.binformat.pecoff.PECoffContainer.fileOffset:J
         7: .line 68
            return
        end local 1 // byte[] bytes
        end local 0 // jdk.tools.jaotc.binformat.pecoff.PECoffContainer this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    8     0   this  Ljdk/tools/jaotc/binformat/pecoff/PECoffContainer;
            0    8     1  bytes  [B
      Exception table:
        from    to  target  type
           2     3       4  Class java.lang.Exception
    MethodParameters:
       Name  Flags
      bytes  

  void writeBytes(byte[], int);
    descriptor: ([BI)V
    flags: (0x0000) 
    Code:
      stack=5, locals=3, args_size=3
        start local 0 // jdk.tools.jaotc.binformat.pecoff.PECoffContainer this
        start local 1 // byte[] bytes
        start local 2 // int alignment
         0: .line 72
            aload 1 /* bytes */
            ifnonnull 4
         1: .line 73
            return
         2: .line 78
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.tools.jaotc.binformat.pecoff.PECoffContainer.outputStream:Ljava/io/FileOutputStream;
            iconst_0
            invokevirtual java.io.FileOutputStream.write:(I)V
         3: .line 79
            aload 0 /* this */
            dup
            getfield jdk.tools.jaotc.binformat.pecoff.PECoffContainer.fileOffset:J
            lconst_1
            ladd
            putfield jdk.tools.jaotc.binformat.pecoff.PECoffContainer.fileOffset:J
         4: .line 77
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.tools.jaotc.binformat.pecoff.PECoffContainer.fileOffset:J
            iload 2 /* alignment */
            iconst_1
            isub
            i2l
            land
            lconst_0
            lcmp
            ifne 2
         5: .line 81
            aload 0 /* this */
            getfield jdk.tools.jaotc.binformat.pecoff.PECoffContainer.outputStream:Ljava/io/FileOutputStream;
            aload 1 /* bytes */
            invokevirtual java.io.FileOutputStream.write:([B)V
         6: .line 82
            goto 9
      StackMap locals:
      StackMap stack: java.lang.Exception
         7: pop
         8: .line 83
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            ldc "PECoffContainer: writeBytes failed"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
         9: .line 85
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            dup
            getfield jdk.tools.jaotc.binformat.pecoff.PECoffContainer.fileOffset:J
            aload 1 /* bytes */
            arraylength
            i2l
            ladd
            putfield jdk.tools.jaotc.binformat.pecoff.PECoffContainer.fileOffset:J
        10: .line 86
            return
        end local 2 // int alignment
        end local 1 // byte[] bytes
        end local 0 // jdk.tools.jaotc.binformat.pecoff.PECoffContainer this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0   11     0       this  Ljdk/tools/jaotc/binformat/pecoff/PECoffContainer;
            0   11     1      bytes  [B
            0   11     2  alignment  I
      Exception table:
        from    to  target  type
           2     6       7  Class java.lang.Exception
    MethodParameters:
           Name  Flags
      bytes      
      alignment  
}
SourceFile: "PECoffContainer.java"