final class jdk.jpackage.internal.ExecutableRebrander
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: jdk.jpackage.internal.ExecutableRebrander
  super_class: java.lang.Object
{
  private static final java.util.ResourceBundle I18N;
    descriptor: Ljava/util/ResourceBundle;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private static final java.lang.String LAUNCHER_PROPERTIES_TEMPLATE;
    descriptor: Ljava/lang/String;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: "WinLauncher.template"

  private static final java.lang.String INSTALLER_PROPERTIES_TEMPLATE;
    descriptor: Ljava/lang/String;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: "WinInstaller.template"

  private static final java.lang.String INSTALLER_PROPERTIES_RESOURE_DIR_ID;
    descriptor: Ljava/lang/String;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: "WinInstaller.properties"

  private java.util.List<jdk.jpackage.internal.ExecutableRebrander$UpdateResourceAction> extraActions;
    descriptor: Ljava/util/List;
    flags: (0x0002) ACC_PRIVATE
    Signature: Ljava/util/List<Ljdk/jpackage/internal/ExecutableRebrander$UpdateResourceAction;>;

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 52
            ldc "jdk.jpackage.internal.resources.WinResources"
         1: .line 51
            invokestatic java.util.ResourceBundle.getBundle:(Ljava/lang/String;)Ljava/util/ResourceBundle;
            putstatic jdk.jpackage.internal.ExecutableRebrander.I18N:Ljava/util/ResourceBundle;
         2: .line 228
            ldc "jpackage"
            invokestatic java.lang.System.loadLibrary:(Ljava/lang/String;)V
         3: .line 229
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  void <init>();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.jpackage.internal.ExecutableRebrander this
         0: .line 50
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // jdk.jpackage.internal.ExecutableRebrander this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/jpackage/internal/ExecutableRebrander;

  void rebrandInstaller(java.util.Map<java.lang.String, ? super java.lang.Object>, java.nio.file.Path);
    descriptor: (Ljava/util/Map;Ljava/nio/file/Path;)V
    flags: (0x0000) 
    Code:
      stack=6, locals=3, args_size=3
        start local 0 // jdk.jpackage.internal.ExecutableRebrander this
        start local 1 // java.util.Map params
        start local 2 // java.nio.file.Path target
         0: .line 66
            aload 2 /* target */
            invokeinterface java.nio.file.Path.isAbsolute:()Z
            ifne 3
         1: .line 67
            aload 0 /* this */
            aload 1 /* params */
            aload 2 /* target */
            invokeinterface java.nio.file.Path.toAbsolutePath:()Ljava/nio/file/Path;
            invokevirtual jdk.jpackage.internal.ExecutableRebrander.rebrandInstaller:(Ljava/util/Map;Ljava/nio/file/Path;)V
         2: .line 68
            return
         3: .line 70
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* params */
            aload 2 /* target */
            aload 0 /* this */
            aload 1 /* params */
            aload 2 /* target */
            invokedynamic editResource(Ljdk/jpackage/internal/ExecutableRebrander;Ljava/util/Map;Ljava/nio/file/Path;)Ljdk/jpackage/internal/ExecutableRebrander$UpdateResourceAction;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  (J)V
                  jdk/jpackage/internal/ExecutableRebrander.lambda$0(Ljava/util/Map;Ljava/nio/file/Path;J)V (7)
                  (J)V
            invokevirtual jdk.jpackage.internal.ExecutableRebrander.rebrandExecutable:(Ljava/util/Map;Ljava/nio/file/Path;Ljdk/jpackage/internal/ExecutableRebrander$UpdateResourceAction;)V
         4: .line 76
            return
        end local 2 // java.nio.file.Path target
        end local 1 // java.util.Map params
        end local 0 // jdk.jpackage.internal.ExecutableRebrander this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    5     0    this  Ljdk/jpackage/internal/ExecutableRebrander;
            0    5     1  params  Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
            0    5     2  target  Ljava/nio/file/Path;
    Exceptions:
      throws java.io.IOException
    Signature: (Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;Ljava/nio/file/Path;)V
    MethodParameters:
        Name  Flags
      params  
      target  

  void rebrandLauncher(java.util.Map<java.lang.String, ? super java.lang.Object>, java.nio.file.Path, java.nio.file.Path);
    descriptor: (Ljava/util/Map;Ljava/nio/file/Path;Ljava/nio/file/Path;)V
    flags: (0x0000) 
    Code:
      stack=7, locals=5, args_size=4
        start local 0 // jdk.jpackage.internal.ExecutableRebrander this
        start local 1 // java.util.Map params
        start local 2 // java.nio.file.Path icon
        start local 3 // java.nio.file.Path target
         0: .line 80
            aload 3 /* target */
            invokeinterface java.nio.file.Path.isAbsolute:()Z
            ifeq 1
            aload 2 /* icon */
            ifnull 6
            aload 2 /* icon */
            invokeinterface java.nio.file.Path.isAbsolute:()Z
            ifne 6
         1: .line 81
      StackMap locals:
      StackMap stack:
            aconst_null
            astore 4 /* absIcon */
        start local 4 // java.nio.file.Path absIcon
         2: .line 82
            aload 2 /* icon */
            ifnull 4
         3: .line 83
            aload 2 /* icon */
            invokeinterface java.nio.file.Path.toAbsolutePath:()Ljava/nio/file/Path;
            astore 4 /* absIcon */
         4: .line 85
      StackMap locals: java.nio.file.Path
      StackMap stack:
            aload 0 /* this */
            aload 1 /* params */
            aload 4 /* absIcon */
            aload 3 /* target */
            invokeinterface java.nio.file.Path.toAbsolutePath:()Ljava/nio/file/Path;
            invokevirtual jdk.jpackage.internal.ExecutableRebrander.rebrandLauncher:(Ljava/util/Map;Ljava/nio/file/Path;Ljava/nio/file/Path;)V
         5: .line 86
            return
        end local 4 // java.nio.file.Path absIcon
         6: .line 88
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* params */
            aload 3 /* target */
            aload 0 /* this */
            aload 1 /* params */
            aload 3 /* target */
            aload 2 /* icon */
            invokedynamic editResource(Ljdk/jpackage/internal/ExecutableRebrander;Ljava/util/Map;Ljava/nio/file/Path;Ljava/nio/file/Path;)Ljdk/jpackage/internal/ExecutableRebrander$UpdateResourceAction;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  (J)V
                  jdk/jpackage/internal/ExecutableRebrander.lambda$1(Ljava/util/Map;Ljava/nio/file/Path;Ljava/nio/file/Path;J)V (7)
                  (J)V
            invokevirtual jdk.jpackage.internal.ExecutableRebrander.rebrandExecutable:(Ljava/util/Map;Ljava/nio/file/Path;Ljdk/jpackage/internal/ExecutableRebrander$UpdateResourceAction;)V
         7: .line 98
            return
        end local 3 // java.nio.file.Path target
        end local 2 // java.nio.file.Path icon
        end local 1 // java.util.Map params
        end local 0 // jdk.jpackage.internal.ExecutableRebrander this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    8     0     this  Ljdk/jpackage/internal/ExecutableRebrander;
            0    8     1   params  Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
            0    8     2     icon  Ljava/nio/file/Path;
            0    8     3   target  Ljava/nio/file/Path;
            2    6     4  absIcon  Ljava/nio/file/Path;
    Exceptions:
      throws java.io.IOException
    Signature: (Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;Ljava/nio/file/Path;Ljava/nio/file/Path;)V
    MethodParameters:
        Name  Flags
      params  
      icon    
      target  

  jdk.jpackage.internal.ExecutableRebrander addAction(jdk.jpackage.internal.ExecutableRebrander$UpdateResourceAction);
    descriptor: (Ljdk/jpackage/internal/ExecutableRebrander$UpdateResourceAction;)Ljdk/jpackage/internal/ExecutableRebrander;
    flags: (0x0000) 
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // jdk.jpackage.internal.ExecutableRebrander this
        start local 1 // jdk.jpackage.internal.ExecutableRebrander$UpdateResourceAction action
         0: .line 101
            aload 0 /* this */
            getfield jdk.jpackage.internal.ExecutableRebrander.extraActions:Ljava/util/List;
            ifnonnull 2
         1: .line 102
            aload 0 /* this */
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            putfield jdk.jpackage.internal.ExecutableRebrander.extraActions:Ljava/util/List;
         2: .line 104
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.jpackage.internal.ExecutableRebrander.extraActions:Ljava/util/List;
            aload 1 /* action */
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
         3: .line 105
            aload 0 /* this */
            areturn
        end local 1 // jdk.jpackage.internal.ExecutableRebrander$UpdateResourceAction action
        end local 0 // jdk.jpackage.internal.ExecutableRebrander this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    4     0    this  Ljdk/jpackage/internal/ExecutableRebrander;
            0    4     1  action  Ljdk/jpackage/internal/ExecutableRebrander$UpdateResourceAction;
    MethodParameters:
        Name  Flags
      action  

  private void rebrandExecutable(java.util.Map<java.lang.String, ? super java.lang.Object>, java.nio.file.Path, jdk.jpackage.internal.ExecutableRebrander$UpdateResourceAction);
    descriptor: (Ljava/util/Map;Ljava/nio/file/Path;Ljdk/jpackage/internal/ExecutableRebrander$UpdateResourceAction;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=7, locals=11, args_size=4
        start local 0 // jdk.jpackage.internal.ExecutableRebrander this
        start local 1 // java.util.Map params
        start local 2 // java.nio.file.Path target
        start local 3 // jdk.jpackage.internal.ExecutableRebrander$UpdateResourceAction action
         0: .line 111
            getstatic jdk.jpackage.internal.StandardBundlerParam.TEMP_ROOT:Ljdk/jpackage/internal/StandardBundlerParam;
            aload 1 /* params */
            invokevirtual jdk.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
            checkcast java.nio.file.Path
         1: .line 112
            invokeinterface java.nio.file.Path.toAbsolutePath:()Ljava/nio/file/Path;
            invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
         2: .line 111
            astore 4 /* tempDirectory */
        start local 4 // java.lang.String tempDirectory
         3: .line 114
            aload 4 /* tempDirectory */
         4: .line 113
            invokestatic jdk.jpackage.internal.WindowsDefender.isThereAPotentialWindowsDefenderIssue:(Ljava/lang/String;)Z
         5: .line 114
            ifeq 11
         6: .line 115
            getstatic jdk.jpackage.internal.ExecutableRebrander.I18N:Ljava/util/ResourceBundle;
         7: .line 116
            ldc "message.potential.windows.defender.issue"
         8: .line 115
            invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
         9: .line 117
            aload 4 /* tempDirectory */
            aastore
        10: .line 115
            invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            invokestatic jdk.jpackage.internal.Log.verbose:(Ljava/lang/String;)V
        11: .line 120
      StackMap locals: java.lang.String
      StackMap stack:
            aload 2 /* target */
            invokeinterface java.nio.file.Path.toFile:()Ljava/io/File;
            iconst_1
            iconst_1
            invokevirtual java.io.File.setWritable:(ZZ)Z
            pop
        12: .line 122
            aload 2 /* target */
            invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
            invokestatic jdk.jpackage.internal.ExecutableRebrander.lockResource:(Ljava/lang/String;)J
            lstore 5 /* resourceLock */
        start local 5 // long resourceLock
        13: .line 123
            lload 5 /* resourceLock */
            lconst_0
            lcmp
            ifne 17
        14: .line 124
            new java.lang.RuntimeException
            dup
        15: .line 125
            getstatic jdk.jpackage.internal.ExecutableRebrander.I18N:Ljava/util/ResourceBundle;
            ldc "error.lock-resource"
            invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            aload 2 /* target */
            aastore
        16: .line 124
            invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
            athrow
        17: .line 129
      StackMap locals: long
      StackMap stack:
            aload 3 /* action */
            lload 5 /* resourceLock */
            invokeinterface jdk.jpackage.internal.ExecutableRebrander$UpdateResourceAction.editResource:(J)V
        18: .line 130
            aload 0 /* this */
            getfield jdk.jpackage.internal.ExecutableRebrander.extraActions:Ljava/util/List;
            ifnull 28
        19: .line 131
            aload 0 /* this */
            getfield jdk.jpackage.internal.ExecutableRebrander.extraActions:Ljava/util/List;
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 8
            goto 22
      StackMap locals: jdk.jpackage.internal.ExecutableRebrander java.util.Map java.nio.file.Path jdk.jpackage.internal.ExecutableRebrander$UpdateResourceAction java.lang.String long top java.util.Iterator
      StackMap stack:
        20: aload 8
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast jdk.jpackage.internal.ExecutableRebrander$UpdateResourceAction
            astore 7 /* extraAction */
        start local 7 // jdk.jpackage.internal.ExecutableRebrander$UpdateResourceAction extraAction
        21: .line 132
            aload 7 /* extraAction */
            lload 5 /* resourceLock */
            invokeinterface jdk.jpackage.internal.ExecutableRebrander$UpdateResourceAction.editResource:(J)V
        end local 7 // jdk.jpackage.internal.ExecutableRebrander$UpdateResourceAction extraAction
        22: .line 131
      StackMap locals:
      StackMap stack:
            aload 8
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 20
        23: .line 135
            goto 28
      StackMap locals: jdk.jpackage.internal.ExecutableRebrander java.util.Map java.nio.file.Path jdk.jpackage.internal.ExecutableRebrander$UpdateResourceAction java.lang.String long
      StackMap stack: java.lang.Throwable
        24: astore 9
        25: .line 136
            lload 5 /* resourceLock */
            lconst_0
            lcmp
            ifeq 27
        26: .line 137
            lload 5 /* resourceLock */
            invokestatic jdk.jpackage.internal.ExecutableRebrander.unlockResource:(J)V
        27: .line 139
      StackMap locals: jdk.jpackage.internal.ExecutableRebrander java.util.Map java.nio.file.Path jdk.jpackage.internal.ExecutableRebrander$UpdateResourceAction java.lang.String long top top java.lang.Throwable
      StackMap stack:
            aload 9
            athrow
        28: .line 136
      StackMap locals: jdk.jpackage.internal.ExecutableRebrander java.util.Map java.nio.file.Path jdk.jpackage.internal.ExecutableRebrander$UpdateResourceAction java.lang.String long
      StackMap stack:
            lload 5 /* resourceLock */
            lconst_0
            lcmp
            ifeq 34
        29: .line 137
            lload 5 /* resourceLock */
            invokestatic jdk.jpackage.internal.ExecutableRebrander.unlockResource:(J)V
        end local 5 // long resourceLock
        end local 4 // java.lang.String tempDirectory
        30: .line 140
            goto 34
      StackMap locals: jdk.jpackage.internal.ExecutableRebrander java.util.Map java.nio.file.Path jdk.jpackage.internal.ExecutableRebrander$UpdateResourceAction
      StackMap stack: java.lang.Throwable
        31: astore 10
        32: .line 141
            aload 2 /* target */
            invokeinterface java.nio.file.Path.toFile:()Ljava/io/File;
            invokevirtual java.io.File.setReadOnly:()Z
            pop
        33: .line 142
            aload 10
            athrow
        34: .line 141
      StackMap locals:
      StackMap stack:
            aload 2 /* target */
            invokeinterface java.nio.file.Path.toFile:()Ljava/io/File;
            invokevirtual java.io.File.setReadOnly:()Z
            pop
        35: .line 143
            return
        end local 3 // jdk.jpackage.internal.ExecutableRebrander$UpdateResourceAction action
        end local 2 // java.nio.file.Path target
        end local 1 // java.util.Map params
        end local 0 // jdk.jpackage.internal.ExecutableRebrander this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   36     0           this  Ljdk/jpackage/internal/ExecutableRebrander;
            0   36     1         params  Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
            0   36     2         target  Ljava/nio/file/Path;
            0   36     3         action  Ljdk/jpackage/internal/ExecutableRebrander$UpdateResourceAction;
            3   30     4  tempDirectory  Ljava/lang/String;
           13   30     5   resourceLock  J
           21   22     7    extraAction  Ljdk/jpackage/internal/ExecutableRebrander$UpdateResourceAction;
      Exception table:
        from    to  target  type
          17    24      24  any
           0    31      31  any
    Exceptions:
      throws java.io.IOException
    Signature: (Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;Ljava/nio/file/Path;Ljdk/jpackage/internal/ExecutableRebrander$UpdateResourceAction;)V
    MethodParameters:
        Name  Flags
      params  
      target  
      action  

  private static java.lang.String getFixedFileVersion(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljava/lang/String;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=3, locals=3, args_size=1
        start local 0 // java.lang.String value
         0: .line 151
            iconst_4
         1: .line 152
            aload 0 /* value */
            invokestatic jdk.jpackage.internal.DottedVersion.greedy:(Ljava/lang/String;)Ljdk/jpackage/internal/DottedVersion;
            invokevirtual jdk.jpackage.internal.DottedVersion.getComponents:()[Ljava/math/BigInteger;
            arraylength
         2: .line 151
            isub
            istore 1 /* addComponentsCount */
        start local 1 // int addComponentsCount
         3: .line 153
            iload 1 /* addComponentsCount */
            ifle 10
         4: .line 154
            new java.lang.StringBuilder
            dup
            aload 0 /* value */
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            astore 2 /* sb */
        start local 2 // java.lang.StringBuilder sb
         5: .line 156
      StackMap locals: int java.lang.StringBuilder
      StackMap stack:
            aload 2 /* sb */
            bipush 46
            invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
            pop
         6: .line 157
            aload 2 /* sb */
            iconst_0
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            pop
         7: .line 158
            iinc 1 /* addComponentsCount */ -1
            iload 1 /* addComponentsCount */
         8: .line 155
            ifgt 5
         9: .line 159
            aload 2 /* sb */
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            areturn
        end local 2 // java.lang.StringBuilder sb
        10: .line 161
      StackMap locals:
      StackMap stack:
            aload 0 /* value */
            areturn
        end local 1 // int addComponentsCount
        end local 0 // java.lang.String value
      LocalVariableTable:
        Start  End  Slot                Name  Signature
            0   11     0               value  Ljava/lang/String;
            3   11     1  addComponentsCount  I
            5   10     2                  sb  Ljava/lang/StringBuilder;
    MethodParameters:
       Name  Flags
      value  

  private java.util.Map<java.lang.String, java.lang.String> createSubstituteData(java.util.Map<java.lang.String, ? super java.lang.Object>);
    descriptor: (Ljava/util/Map;)Ljava/util/Map;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=4, args_size=2
        start local 0 // jdk.jpackage.internal.ExecutableRebrander this
        start local 1 // java.util.Map params
         0: .line 166
            new java.util.HashMap
            dup
            invokespecial java.util.HashMap.<init>:()V
            astore 2 /* data */
        start local 2 // java.util.Map data
         1: .line 168
            getstatic jdk.jpackage.internal.StandardBundlerParam.VERSION:Ljdk/jpackage/internal/StandardBundlerParam;
            aload 1 /* params */
            invokevirtual jdk.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
            checkcast java.lang.String
            invokestatic jdk.jpackage.internal.ExecutableRebrander.getFixedFileVersion:(Ljava/lang/String;)Ljava/lang/String;
            astore 3 /* fixedFileVersion */
        start local 3 // java.lang.String fixedFileVersion
         2: .line 171
            aload 2 /* data */
            ldc "COMPANY_NAME"
            getstatic jdk.jpackage.internal.StandardBundlerParam.VENDOR:Ljdk/jpackage/internal/StandardBundlerParam;
            aload 1 /* params */
            invokestatic jdk.jpackage.internal.ExecutableRebrander.validateValueAndPut:(Ljava/util/Map;Ljava/lang/String;Ljdk/jpackage/internal/BundlerParamInfo;Ljava/util/Map;)V
         3: .line 172
            aload 2 /* data */
            ldc "FILE_DESCRIPTION"
            getstatic jdk.jpackage.internal.StandardBundlerParam.DESCRIPTION:Ljdk/jpackage/internal/StandardBundlerParam;
            aload 1 /* params */
            invokestatic jdk.jpackage.internal.ExecutableRebrander.validateValueAndPut:(Ljava/util/Map;Ljava/lang/String;Ljdk/jpackage/internal/BundlerParamInfo;Ljava/util/Map;)V
         4: .line 173
            aload 2 /* data */
            ldc "FILE_VERSION"
            getstatic jdk.jpackage.internal.StandardBundlerParam.VERSION:Ljdk/jpackage/internal/StandardBundlerParam;
            aload 1 /* params */
            invokestatic jdk.jpackage.internal.ExecutableRebrander.validateValueAndPut:(Ljava/util/Map;Ljava/lang/String;Ljdk/jpackage/internal/BundlerParamInfo;Ljava/util/Map;)V
         5: .line 174
            aload 2 /* data */
            ldc "LEGAL_COPYRIGHT"
            getstatic jdk.jpackage.internal.StandardBundlerParam.COPYRIGHT:Ljdk/jpackage/internal/StandardBundlerParam;
            aload 1 /* params */
            invokestatic jdk.jpackage.internal.ExecutableRebrander.validateValueAndPut:(Ljava/util/Map;Ljava/lang/String;Ljdk/jpackage/internal/BundlerParamInfo;Ljava/util/Map;)V
         6: .line 175
            aload 2 /* data */
            ldc "PRODUCT_NAME"
            getstatic jdk.jpackage.internal.StandardBundlerParam.APP_NAME:Ljdk/jpackage/internal/StandardBundlerParam;
            aload 1 /* params */
            invokestatic jdk.jpackage.internal.ExecutableRebrander.validateValueAndPut:(Ljava/util/Map;Ljava/lang/String;Ljdk/jpackage/internal/BundlerParamInfo;Ljava/util/Map;)V
         7: .line 176
            aload 2 /* data */
            ldc "FIXEDFILEINFO_FILE_VERSION"
            aload 3 /* fixedFileVersion */
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         8: .line 178
            aload 2 /* data */
            areturn
        end local 3 // java.lang.String fixedFileVersion
        end local 2 // java.util.Map data
        end local 1 // java.util.Map params
        end local 0 // jdk.jpackage.internal.ExecutableRebrander this
      LocalVariableTable:
        Start  End  Slot              Name  Signature
            0    9     0              this  Ljdk/jpackage/internal/ExecutableRebrander;
            0    9     1            params  Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
            1    9     2              data  Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
            2    9     3  fixedFileVersion  Ljava/lang/String;
    Signature: (Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;)Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
    MethodParameters:
        Name  Flags
      params  

  private void rebrandProperties(long, jdk.jpackage.internal.OverridableResource, java.util.Map<java.lang.String, java.lang.String>, java.nio.file.Path);
    descriptor: (JLjdk/jpackage/internal/OverridableResource;Ljava/util/Map;Ljava/nio/file/Path;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=7, locals=13, args_size=5
        start local 0 // jdk.jpackage.internal.ExecutableRebrander this
        start local 1 // long resourceLock
        start local 3 // jdk.jpackage.internal.OverridableResource properties
        start local 4 // java.util.Map data
        start local 5 // java.nio.file.Path target
         0: .line 184
            aload 5 /* target */
            invokestatic jdk.jpackage.internal.IOUtils.getFileName:(Ljava/nio/file/Path;)Ljava/nio/file/Path;
            invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
            astore 6 /* targetExecutableName */
        start local 6 // java.lang.String targetExecutableName
         1: .line 185
            aload 4 /* data */
            ldc "INTERNAL_NAME"
            aload 6 /* targetExecutableName */
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         2: .line 186
            aload 4 /* data */
            ldc "ORIGINAL_FILENAME"
            aload 6 /* targetExecutableName */
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         3: .line 188
            new java.io.ByteArrayOutputStream
            dup
            invokespecial java.io.ByteArrayOutputStream.<init>:()V
            astore 7 /* buffer */
        start local 7 // java.io.ByteArrayOutputStream buffer
         4: .line 189
            aload 3 /* properties */
         5: .line 190
            aload 4 /* data */
            invokevirtual jdk.jpackage.internal.OverridableResource.setSubstitutionData:(Ljava/util/Map;)Ljdk/jpackage/internal/OverridableResource;
         6: .line 191
            getstatic jdk.jpackage.internal.ExecutableRebrander.I18N:Ljava/util/ResourceBundle;
            ldc "resource.executable-properties-template"
            invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
            invokevirtual jdk.jpackage.internal.OverridableResource.setCategory:(Ljava/lang/String;)Ljdk/jpackage/internal/OverridableResource;
         7: .line 192
            aload 7 /* buffer */
            invokevirtual jdk.jpackage.internal.OverridableResource.saveToStream:(Ljava/io/OutputStream;)Ljdk/jpackage/internal/OverridableResource$Source;
            pop
         8: .line 194
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            astore 8 /* propList */
        start local 8 // java.util.List propList
         9: .line 195
            aconst_null
            astore 9
            aconst_null
            astore 10
        10: new java.io.InputStreamReader
            dup
            new java.io.ByteArrayInputStream
            dup
        11: .line 196
            aload 7 /* buffer */
            invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
            invokespecial java.io.ByteArrayInputStream.<init>:([B)V
            getstatic java.nio.charset.StandardCharsets.UTF_8:Ljava/nio/charset/Charset;
        12: .line 195
            invokespecial java.io.InputStreamReader.<init>:(Ljava/io/InputStream;Ljava/nio/charset/Charset;)V
            astore 11 /* reader */
        start local 11 // java.io.Reader reader
        13: .line 197
            new java.util.Properties
            dup
            invokespecial java.util.Properties.<init>:()V
            astore 12 /* configProp */
        start local 12 // java.util.Properties configProp
        14: .line 198
            aload 12 /* configProp */
            aload 11 /* reader */
            invokevirtual java.util.Properties.load:(Ljava/io/Reader;)V
        15: .line 199
            aload 12 /* configProp */
            aload 8 /* propList */
            invokedynamic accept(Ljava/util/List;)Ljava/util/function/BiConsumer;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  (Ljava/lang/Object;Ljava/lang/Object;)V
                  jdk/jpackage/internal/ExecutableRebrander.lambda$2(Ljava/util/List;Ljava/lang/Object;Ljava/lang/Object;)V (6)
                  (Ljava/lang/Object;Ljava/lang/Object;)V
            invokevirtual java.util.Properties.forEach:(Ljava/util/function/BiConsumer;)V
        end local 12 // java.util.Properties configProp
        16: .line 203
            aload 11 /* reader */
            ifnull 22
            aload 11 /* reader */
            invokevirtual java.io.Reader.close:()V
            goto 22
      StackMap locals: jdk.jpackage.internal.ExecutableRebrander long jdk.jpackage.internal.OverridableResource java.util.Map java.nio.file.Path java.lang.String java.io.ByteArrayOutputStream java.util.List java.lang.Throwable java.lang.Throwable java.io.Reader
      StackMap stack: java.lang.Throwable
        17: astore 9
            aload 11 /* reader */
            ifnull 18
            aload 11 /* reader */
            invokevirtual java.io.Reader.close:()V
        end local 11 // java.io.Reader reader
      StackMap locals:
      StackMap stack:
        18: aload 9
            athrow
      StackMap locals:
      StackMap stack: java.lang.Throwable
        19: astore 10
            aload 9
            ifnonnull 20
            aload 10
            astore 9
            goto 21
      StackMap locals:
      StackMap stack:
        20: aload 9
            aload 10
            if_acmpeq 21
            aload 9
            aload 10
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
      StackMap locals:
      StackMap stack:
        21: aload 9
            athrow
        22: .line 205
      StackMap locals:
      StackMap stack:
            lload 1 /* resourceLock */
            aload 8 /* propList */
            invokedynamic apply()Ljava/util/function/IntFunction;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  (I)Ljava/lang/Object;
                  jdk/jpackage/internal/ExecutableRebrander.lambda$3(I)[Ljava/lang/String; (6)
                  (I)[Ljava/lang/String;
            invokeinterface java.util.List.toArray:(Ljava/util/function/IntFunction;)[Ljava/lang/Object;
            checkcast java.lang.String[]
            invokestatic jdk.jpackage.internal.ExecutableRebrander.versionSwap:(J[Ljava/lang/String;)I
            ifeq 26
        23: .line 206
            new java.lang.RuntimeException
            dup
        24: .line 207
            getstatic jdk.jpackage.internal.ExecutableRebrander.I18N:Ljava/util/ResourceBundle;
            ldc "error.version-swap"
            invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            aload 5 /* target */
            aastore
        25: .line 206
            invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
            athrow
        26: .line 209
      StackMap locals:
      StackMap stack:
            return
        end local 8 // java.util.List propList
        end local 7 // java.io.ByteArrayOutputStream buffer
        end local 6 // java.lang.String targetExecutableName
        end local 5 // java.nio.file.Path target
        end local 4 // java.util.Map data
        end local 3 // jdk.jpackage.internal.OverridableResource properties
        end local 1 // long resourceLock
        end local 0 // jdk.jpackage.internal.ExecutableRebrander this
      LocalVariableTable:
        Start  End  Slot                  Name  Signature
            0   27     0                  this  Ljdk/jpackage/internal/ExecutableRebrander;
            0   27     1          resourceLock  J
            0   27     3            properties  Ljdk/jpackage/internal/OverridableResource;
            0   27     4                  data  Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
            0   27     5                target  Ljava/nio/file/Path;
            1   27     6  targetExecutableName  Ljava/lang/String;
            4   27     7                buffer  Ljava/io/ByteArrayOutputStream;
            9   27     8              propList  Ljava/util/List<Ljava/lang/String;>;
           13   18    11                reader  Ljava/io/Reader;
           14   16    12            configProp  Ljava/util/Properties;
      Exception table:
        from    to  target  type
          13    16      17  any
          10    19      19  any
    Exceptions:
      throws java.io.IOException
    Signature: (JLjdk/jpackage/internal/OverridableResource;Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;Ljava/nio/file/Path;)V
    MethodParameters:
              Name  Flags
      resourceLock  
      properties    
      data          
      target        

  private static void validateValueAndPut(java.util.Map<java.lang.String, java.lang.String>, java.lang.String, jdk.jpackage.internal.BundlerParamInfo<java.lang.String>, java.util.Map<java.lang.String, ? super java.lang.Object>);
    descriptor: (Ljava/util/Map;Ljava/lang/String;Ljdk/jpackage/internal/BundlerParamInfo;Ljava/util/Map;)V
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=3, locals=5, args_size=4
        start local 0 // java.util.Map data
        start local 1 // java.lang.String key
        start local 2 // jdk.jpackage.internal.BundlerParamInfo param
        start local 3 // java.util.Map params
         0: .line 215
            aload 2 /* param */
            aload 3 /* params */
            invokevirtual jdk.jpackage.internal.BundlerParamInfo.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
            checkcast java.lang.String
            astore 4 /* value */
        start local 4 // java.lang.String value
         1: .line 216
            aload 4 /* value */
            ldc "\r"
            invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
            ifne 2
            aload 4 /* value */
            ldc "\n"
            invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
            ifeq 7
         2: .line 217
      StackMap locals: java.lang.String
      StackMap stack:
            new java.lang.StringBuilder
            dup
            ldc "Configuration Parameter "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 2 /* param */
            invokevirtual jdk.jpackage.internal.BundlerParamInfo.getID:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
         3: .line 218
            ldc " contains multiple lines of text, ignore it"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
         4: .line 217
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokestatic jdk.jpackage.internal.Log.error:(Ljava/lang/String;)V
         5: .line 219
            aload 0 /* data */
            aload 1 /* key */
            ldc ""
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         6: .line 220
            return
         7: .line 222
      StackMap locals:
      StackMap stack:
            aload 0 /* data */
            aload 1 /* key */
            aload 4 /* value */
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         8: .line 223
            return
        end local 4 // java.lang.String value
        end local 3 // java.util.Map params
        end local 2 // jdk.jpackage.internal.BundlerParamInfo param
        end local 1 // java.lang.String key
        end local 0 // java.util.Map data
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    9     0    data  Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
            0    9     1     key  Ljava/lang/String;
            0    9     2   param  Ljdk/jpackage/internal/BundlerParamInfo<Ljava/lang/String;>;
            0    9     3  params  Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
            1    9     4   value  Ljava/lang/String;
    Signature: (Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;Ljava/lang/String;Ljdk/jpackage/internal/BundlerParamInfo<Ljava/lang/String;>;Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;)V
    MethodParameters:
        Name  Flags
      data    
      key     
      param   
      params  

  private static native long lockResource(java.lang.String);
    descriptor: (Ljava/lang/String;)J
    flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
    MethodParameters:
            Name  Flags
      executable  

  private static native void unlockResource(long);
    descriptor: (J)V
    flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
    MethodParameters:
              Name  Flags
      resourceLock  

  private static native int iconSwap(long, java.lang.String);
    descriptor: (JLjava/lang/String;)I
    flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
    MethodParameters:
              Name  Flags
      resourceLock  
      iconTarget    

  private static native int versionSwap(long, java.lang.String[]);
    descriptor: (J[Ljava/lang/String;)I
    flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
    MethodParameters:
                      Name  Flags
      resourceLock          
      executableProperties  

  private void lambda$0(java.util.Map, java.nio.file.Path, long);
    descriptor: (Ljava/util/Map;Ljava/nio/file/Path;J)V
    flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
    Code:
      stack=6, locals=5, args_size=4
        start local 0 // jdk.jpackage.internal.ExecutableRebrander this
        start local 3 // long resourceLock
         0: .line 71
            aload 0 /* this */
            lload 3 /* resourceLock */
         1: .line 72
            ldc "WinInstaller.template"
            aload 1
         2: .line 71
            invokestatic jdk.jpackage.internal.OverridableResource.createResource:(Ljava/lang/String;Ljava/util/Map;)Ljdk/jpackage/internal/OverridableResource;
         3: .line 73
            ldc "WinInstaller.properties"
         4: .line 72
            invokevirtual jdk.jpackage.internal.OverridableResource.setPublicName:(Ljava/lang/String;)Ljdk/jpackage/internal/OverridableResource;
         5: .line 74
            aload 0 /* this */
            aload 1
            invokevirtual jdk.jpackage.internal.ExecutableRebrander.createSubstituteData:(Ljava/util/Map;)Ljava/util/Map;
            aload 2
         6: .line 71
            invokevirtual jdk.jpackage.internal.ExecutableRebrander.rebrandProperties:(JLjdk/jpackage/internal/OverridableResource;Ljava/util/Map;Ljava/nio/file/Path;)V
         7: .line 75
            return
        end local 3 // long resourceLock
        end local 0 // jdk.jpackage.internal.ExecutableRebrander this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0    8     0          this  Ljdk/jpackage/internal/ExecutableRebrander;
            0    8     3  resourceLock  J
    Exceptions:
      throws java.io.IOException

  private void lambda$1(java.util.Map, java.nio.file.Path, java.nio.file.Path, long);
    descriptor: (Ljava/util/Map;Ljava/nio/file/Path;Ljava/nio/file/Path;J)V
    flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
    Code:
      stack=8, locals=6, args_size=5
        start local 0 // jdk.jpackage.internal.ExecutableRebrander this
        start local 4 // long resourceLock
         0: .line 89
            aload 0 /* this */
            lload 4 /* resourceLock */
         1: .line 90
            ldc "WinLauncher.template"
            aload 1
         2: .line 89
            invokestatic jdk.jpackage.internal.OverridableResource.createResource:(Ljava/lang/String;Ljava/util/Map;)Ljdk/jpackage/internal/OverridableResource;
         3: .line 91
            new java.lang.StringBuilder
            dup
            getstatic jdk.jpackage.internal.StandardBundlerParam.APP_NAME:Ljdk/jpackage/internal/StandardBundlerParam;
            aload 1
            invokevirtual jdk.jpackage.internal.StandardBundlerParam.fetchFrom:(Ljava/util/Map;)Ljava/lang/Object;
            checkcast java.lang.String
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc ".properties"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
         4: .line 90
            invokevirtual jdk.jpackage.internal.OverridableResource.setPublicName:(Ljava/lang/String;)Ljdk/jpackage/internal/OverridableResource;
         5: .line 92
            aload 0 /* this */
            aload 1
            invokevirtual jdk.jpackage.internal.ExecutableRebrander.createSubstituteData:(Ljava/util/Map;)Ljava/util/Map;
            aload 2
         6: .line 89
            invokevirtual jdk.jpackage.internal.ExecutableRebrander.rebrandProperties:(JLjdk/jpackage/internal/OverridableResource;Ljava/util/Map;Ljava/nio/file/Path;)V
         7: .line 94
            aload 3
            ifnull 9
         8: .line 95
            lload 4 /* resourceLock */
            aload 3
            invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
            invokestatic jdk.jpackage.internal.ExecutableRebrander.iconSwap:(JLjava/lang/String;)I
            pop
         9: .line 97
      StackMap locals:
      StackMap stack:
            return
        end local 4 // long resourceLock
        end local 0 // jdk.jpackage.internal.ExecutableRebrander this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0   10     0          this  Ljdk/jpackage/internal/ExecutableRebrander;
            0   10     4  resourceLock  J
    Exceptions:
      throws java.io.IOException

  private static void lambda$2(java.util.List, java.lang.Object, java.lang.Object);
    descriptor: (Ljava/util/List;Ljava/lang/Object;Ljava/lang/Object;)V
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=2, locals=3, args_size=3
        start local 1 // java.lang.Object k
        start local 2 // java.lang.Object v
         0: .line 200
            aload 0
            aload 1 /* k */
            invokevirtual java.lang.Object.toString:()Ljava/lang/String;
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
         1: .line 201
            aload 0
            aload 2 /* v */
            invokevirtual java.lang.Object.toString:()Ljava/lang/String;
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
         2: .line 202
            return
        end local 2 // java.lang.Object v
        end local 1 // java.lang.Object k
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     1     k  Ljava/lang/Object;
            0    3     2     v  Ljava/lang/Object;

  private static java.lang.String[] lambda$3(int);
    descriptor: (I)[Ljava/lang/String;
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=1, locals=1, args_size=1
         0: .line 1
            iload 0
            anewarray java.lang.String
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature
}
SourceFile: "ExecutableRebrander.java"
NestMembers:
  jdk.jpackage.internal.ExecutableRebrander$UpdateResourceAction
InnerClasses:
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
  abstract UpdateResourceAction = jdk.jpackage.internal.ExecutableRebrander$UpdateResourceAction of jdk.jpackage.internal.ExecutableRebrander
  final Source = jdk.jpackage.internal.OverridableResource$Source of jdk.jpackage.internal.OverridableResource