public class jdk.incubator.jpackage.main.Main
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: jdk.incubator.jpackage.main.Main
  super_class: java.lang.Object
{
  private static final java.util.ResourceBundle I18N;
    descriptor: Ljava/util/ResourceBundle;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 39
            ldc "jdk.incubator.jpackage.internal.resources.MainResources"
         1: .line 38
            invokestatic java.util.ResourceBundle.getBundle:(Ljava/lang/String;)Ljava/util/ResourceBundle;
            putstatic jdk.incubator.jpackage.main.Main.I18N:Ljava/util/ResourceBundle;
         2: .line 39
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.incubator.jpackage.main.Main this
         0: .line 36
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // jdk.incubator.jpackage.main.Main this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/incubator/jpackage/main/Main;

  public static void main(java.lang.String[]);
    descriptor: ([Ljava/lang/String;)V
    flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // java.lang.String[] args
         0: .line 49
            aconst_null
            invokestatic jdk.incubator.jpackage.internal.Log.setLogger:(Ljdk/incubator/jpackage/internal/Log$Logger;)V
         1: .line 51
            new jdk.incubator.jpackage.main.Main
            dup
            invokespecial jdk.incubator.jpackage.main.Main.<init>:()V
            aload 0 /* args */
            invokevirtual jdk.incubator.jpackage.main.Main.execute:([Ljava/lang/String;)I
            istore 1 /* status */
        start local 1 // int status
         2: .line 52
            iload 1 /* status */
            invokestatic java.lang.System.exit:(I)V
         3: .line 53
            return
        end local 1 // int status
        end local 0 // java.lang.String[] args
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    4     0    args  [Ljava/lang/String;
            2    4     1  status  I
    Exceptions:
      throws java.lang.Exception
    MethodParameters:
      Name  Flags
      args  

  public int execute(java.io.PrintWriter, java.io.PrintWriter, java.lang.String[]);
    descriptor: (Ljava/io/PrintWriter;Ljava/io/PrintWriter;[Ljava/lang/String;)I
    flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
    Code:
      stack=3, locals=5, args_size=4
        start local 0 // jdk.incubator.jpackage.main.Main this
        start local 1 // java.io.PrintWriter out
        start local 2 // java.io.PrintWriter err
        start local 3 // java.lang.String[] args
         0: .line 65
            new jdk.incubator.jpackage.internal.Log$Logger
            dup
            invokespecial jdk.incubator.jpackage.internal.Log$Logger.<init>:()V
            astore 4 /* logger */
        start local 4 // jdk.incubator.jpackage.internal.Log$Logger logger
         1: .line 66
            aload 4 /* logger */
            aload 1 /* out */
            aload 2 /* err */
            invokevirtual jdk.incubator.jpackage.internal.Log$Logger.setPrintWriter:(Ljava/io/PrintWriter;Ljava/io/PrintWriter;)V
         2: .line 67
            aload 4 /* logger */
            invokestatic jdk.incubator.jpackage.internal.Log.setLogger:(Ljdk/incubator/jpackage/internal/Log$Logger;)V
         3: .line 69
            aload 0 /* this */
            aload 3 /* args */
            invokevirtual jdk.incubator.jpackage.main.Main.execute:([Ljava/lang/String;)I
            ireturn
        end local 4 // jdk.incubator.jpackage.internal.Log$Logger logger
        end local 3 // java.lang.String[] args
        end local 2 // java.io.PrintWriter err
        end local 1 // java.io.PrintWriter out
        end local 0 // jdk.incubator.jpackage.main.Main this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    4     0    this  Ljdk/incubator/jpackage/main/Main;
            0    4     1     out  Ljava/io/PrintWriter;
            0    4     2     err  Ljava/io/PrintWriter;
            0    4     3    args  [Ljava/lang/String;
            1    4     4  logger  Ljdk/incubator/jpackage/internal/Log$Logger;
    MethodParameters:
      Name  Flags
      out   
      err   
      args  

  private int execute(java.lang.String[]);
    descriptor: ([Ljava/lang/String;)I
    flags: (0x0082) ACC_PRIVATE, ACC_VARARGS
    Code:
      stack=5, locals=5, args_size=2
        start local 0 // jdk.incubator.jpackage.main.Main this
        start local 1 // java.lang.String[] args
         0: .line 76
            aload 1 /* args */
            invokestatic jdk.incubator.jpackage.main.CommandLine.parse:([Ljava/lang/String;)[Ljava/lang/String;
            astore 2 /* newArgs */
        start local 2 // java.lang.String[] newArgs
         1: .line 77
            goto 14
        end local 2 // java.lang.String[] newArgs
      StackMap locals:
      StackMap stack: java.io.FileNotFoundException
         2: astore 3 /* fnfe */
        start local 3 // java.io.FileNotFoundException fnfe
         3: .line 78
            getstatic jdk.incubator.jpackage.main.Main.I18N:Ljava/util/ResourceBundle;
         4: .line 79
            ldc "ERR_CannotParseOptions"
         5: .line 78
            invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
         6: .line 79
            aload 3 /* fnfe */
            invokevirtual java.io.FileNotFoundException.getMessage:()Ljava/lang/String;
            aastore
         7: .line 78
            invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            invokestatic jdk.incubator.jpackage.internal.Log.error:(Ljava/lang/String;)V
         8: .line 104
            invokestatic jdk.incubator.jpackage.internal.Log.flush:()V
         9: .line 80
            iconst_1
            ireturn
        end local 3 // java.io.FileNotFoundException fnfe
        10: .line 81
      StackMap locals:
      StackMap stack: java.io.IOException
            astore 3 /* ioe */
        start local 3 // java.io.IOException ioe
        11: .line 82
            aload 3 /* ioe */
            invokevirtual java.io.IOException.getMessage:()Ljava/lang/String;
            invokestatic jdk.incubator.jpackage.internal.Log.error:(Ljava/lang/String;)V
        12: .line 104
            invokestatic jdk.incubator.jpackage.internal.Log.flush:()V
        13: .line 83
            iconst_1
            ireturn
        end local 3 // java.io.IOException ioe
        start local 2 // java.lang.String[] newArgs
        14: .line 86
      StackMap locals: java.lang.String[]
      StackMap stack:
            aload 2 /* newArgs */
            arraylength
            ifne 17
        15: .line 87
            iconst_1
            invokestatic jdk.incubator.jpackage.internal.CLIHelp.showHelp:(Z)V
        16: .line 88
            goto 29
      StackMap locals:
      StackMap stack:
        17: aload 0 /* this */
            aload 2 /* newArgs */
            invokevirtual jdk.incubator.jpackage.main.Main.hasHelp:([Ljava/lang/String;)Z
            ifeq 22
        18: .line 89
            aload 0 /* this */
            aload 2 /* newArgs */
            invokevirtual jdk.incubator.jpackage.main.Main.hasVersion:([Ljava/lang/String;)Z
            ifeq 20
        19: .line 90
            new java.lang.StringBuilder
            dup
            ldc "java.version"
            invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc "\n"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokestatic jdk.incubator.jpackage.internal.Log.info:(Ljava/lang/String;)V
        20: .line 92
      StackMap locals:
      StackMap stack:
            iconst_0
            invokestatic jdk.incubator.jpackage.internal.CLIHelp.showHelp:(Z)V
        21: .line 93
            goto 29
      StackMap locals:
      StackMap stack:
        22: aload 0 /* this */
            aload 2 /* newArgs */
            invokevirtual jdk.incubator.jpackage.main.Main.hasVersion:([Ljava/lang/String;)Z
            ifeq 25
        23: .line 94
            ldc "java.version"
            invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
            invokestatic jdk.incubator.jpackage.internal.Log.info:(Ljava/lang/String;)V
        24: .line 95
            goto 29
        25: .line 96
      StackMap locals:
      StackMap stack:
            new jdk.incubator.jpackage.internal.Arguments
            dup
            aload 2 /* newArgs */
            invokespecial jdk.incubator.jpackage.internal.Arguments.<init>:([Ljava/lang/String;)V
            astore 3 /* arguments */
        start local 3 // jdk.incubator.jpackage.internal.Arguments arguments
        26: .line 97
            aload 3 /* arguments */
            invokevirtual jdk.incubator.jpackage.internal.Arguments.processArguments:()Z
            ifne 29
        27: .line 104
            invokestatic jdk.incubator.jpackage.internal.Log.flush:()V
        28: .line 99
            iconst_1
            ireturn
        end local 3 // jdk.incubator.jpackage.internal.Arguments arguments
        29: .line 104
      StackMap locals:
      StackMap stack:
            invokestatic jdk.incubator.jpackage.internal.Log.flush:()V
        30: .line 102
            iconst_0
            ireturn
        end local 2 // java.lang.String[] newArgs
        31: .line 103
      StackMap locals: jdk.incubator.jpackage.main.Main java.lang.String[]
      StackMap stack: java.lang.Throwable
            astore 4
        32: .line 104
            invokestatic jdk.incubator.jpackage.internal.Log.flush:()V
        33: .line 105
            aload 4
            athrow
        end local 1 // java.lang.String[] args
        end local 0 // jdk.incubator.jpackage.main.Main this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0   34     0       this  Ljdk/incubator/jpackage/main/Main;
            0   34     1       args  [Ljava/lang/String;
            1    2     2    newArgs  [Ljava/lang/String;
           14   31     2    newArgs  [Ljava/lang/String;
            3   10     3       fnfe  Ljava/io/FileNotFoundException;
           11   14     3        ioe  Ljava/io/IOException;
           26   29     3  arguments  Ljdk/incubator/jpackage/internal/Arguments;
      Exception table:
        from    to  target  type
           0     1       2  Class java.io.FileNotFoundException
           0     1      10  Class java.io.IOException
           0     8      31  any
          10    12      31  any
          14    27      31  any
    MethodParameters:
      Name  Flags
      args  

  private boolean hasHelp(java.lang.String[]);
    descriptor: ([Ljava/lang/String;)Z
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=6, args_size=2
        start local 0 // jdk.incubator.jpackage.main.Main this
        start local 1 // java.lang.String[] args
         0: .line 109
            aload 1 /* args */
            dup
            astore 5
            arraylength
            istore 4
            iconst_0
            istore 3
            goto 5
      StackMap locals: jdk.incubator.jpackage.main.Main java.lang.String[] top int int java.lang.String[]
      StackMap stack:
         1: aload 5
            iload 3
            aaload
            astore 2 /* a */
        start local 2 // java.lang.String a
         2: .line 110
            ldc "--help"
            aload 2 /* a */
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 3
            ldc "-h"
            aload 2 /* a */
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 4
         3: .line 111
      StackMap locals: jdk.incubator.jpackage.main.Main java.lang.String[] java.lang.String int int java.lang.String[]
      StackMap stack:
            iconst_1
            ireturn
        end local 2 // java.lang.String a
         4: .line 109
      StackMap locals: jdk.incubator.jpackage.main.Main java.lang.String[] top int int java.lang.String[]
      StackMap stack:
            iinc 3 1
      StackMap locals:
      StackMap stack:
         5: iload 3
            iload 4
            if_icmplt 1
         6: .line 114
            iconst_0
            ireturn
        end local 1 // java.lang.String[] args
        end local 0 // jdk.incubator.jpackage.main.Main this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    7     0  this  Ljdk/incubator/jpackage/main/Main;
            0    7     1  args  [Ljava/lang/String;
            2    4     2     a  Ljava/lang/String;
    MethodParameters:
      Name  Flags
      args  

  private boolean hasVersion(java.lang.String[]);
    descriptor: ([Ljava/lang/String;)Z
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=6, args_size=2
        start local 0 // jdk.incubator.jpackage.main.Main this
        start local 1 // java.lang.String[] args
         0: .line 118
            aload 1 /* args */
            dup
            astore 5
            arraylength
            istore 4
            iconst_0
            istore 3
            goto 5
      StackMap locals: jdk.incubator.jpackage.main.Main java.lang.String[] top int int java.lang.String[]
      StackMap stack:
         1: aload 5
            iload 3
            aaload
            astore 2 /* a */
        start local 2 // java.lang.String a
         2: .line 119
            ldc "--version"
            aload 2 /* a */
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 4
         3: .line 120
            iconst_1
            ireturn
        end local 2 // java.lang.String a
         4: .line 118
      StackMap locals:
      StackMap stack:
            iinc 3 1
      StackMap locals:
      StackMap stack:
         5: iload 3
            iload 4
            if_icmplt 1
         6: .line 123
            iconst_0
            ireturn
        end local 1 // java.lang.String[] args
        end local 0 // jdk.incubator.jpackage.main.Main this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    7     0  this  Ljdk/incubator/jpackage/main/Main;
            0    7     1  args  [Ljava/lang/String;
            2    4     2     a  Ljava/lang/String;
    MethodParameters:
      Name  Flags
      args  
}
SourceFile: "Main.java"
InnerClasses:
  public Logger = jdk.incubator.jpackage.internal.Log$Logger of jdk.incubator.jpackage.internal.Log