src/jdk.packager/share/classes/jdk/packager/internal/SecondaryLauncherArguments.java
branchJDK-8200758-branch
changeset 56869 41e17fe9fbeb
parent 56849 16c34c7b4147
child 56933 9f59eeb3cc0f
equal deleted inserted replaced
56867:6ebaadd9a627 56869:41e17fe9fbeb
    62             putUnlessNull(bundleParams, Arguments.CLIOptions.APPCLASS.getId(),
    62             putUnlessNull(bundleParams, Arguments.CLIOptions.APPCLASS.getId(),
    63                     mainClass); 
    63                     mainClass); 
    64         }
    64         }
    65         
    65         
    66         putUnlessNull(bundleParams, Arguments.CLIOptions.NAME.getId(),
    66         putUnlessNull(bundleParams, Arguments.CLIOptions.NAME.getId(),
    67                     getOptionValue(CLIOptions.NAME));
    67                 getOptionValue(CLIOptions.NAME));
    68         putUnlessNull(bundleParams, Arguments.CLIOptions.VERSION.getId(),
    68         putUnlessNull(bundleParams, Arguments.CLIOptions.VERSION.getId(),
    69                     getOptionValue(CLIOptions.VERSION));
    69                 getOptionValue(CLIOptions.VERSION));
    70         
    70         
    71         // 3 boolean values:
    71         // 3 boolean values:
    72         putUnlessNull(bundleParams, Arguments.CLIOptions.WIN_MENU_HINT.getId(),
    72         putUnlessNull(bundleParams, Arguments.CLIOptions.WIN_MENU_HINT.getId(),
    73             getOptionValue(CLIOptions.WIN_MENU_HINT));
    73                 getOptionValue(CLIOptions.WIN_MENU_HINT));
    74         putUnlessNull(bundleParams, Arguments.CLIOptions.WIN_SHORTCUT_HINT.getId(),
    74         putUnlessNull(bundleParams,
    75             getOptionValue(CLIOptions.WIN_SHORTCUT_HINT));
    75                 Arguments.CLIOptions.WIN_SHORTCUT_HINT.getId(),
       
    76                 getOptionValue(CLIOptions.WIN_SHORTCUT_HINT));
    76         putUnlessNull(bundleParams, Arguments.CLIOptions.SINGLETON.getId(),
    77         putUnlessNull(bundleParams, Arguments.CLIOptions.SINGLETON.getId(),
    77             getOptionValue(CLIOptions.SINGLETON));
    78                 getOptionValue(CLIOptions.SINGLETON));
    78 
    79 
    79         String value = getOptionValue(CLIOptions.ICON);
    80         String value = getOptionValue(CLIOptions.ICON);
    80         putUnlessNull(bundleParams, Arguments.CLIOptions.ICON.getId(),
    81         putUnlessNull(bundleParams, Arguments.CLIOptions.ICON.getId(),
    81                     (value == null) ? null : new File(value));
    82                 (value == null) ? null : new File(value));
    82         
    83         
    83         String argumentStr = getOptionValue(CLIOptions.ARGUMENTS);
    84         String argumentStr = getOptionValue(CLIOptions.ARGUMENTS);
    84         putUnlessNullOrEmpty(bundleParams,
    85         putUnlessNullOrEmpty(bundleParams,
    85                 CLIOptions.ARGUMENTS.getId(),
    86                 CLIOptions.ARGUMENTS.getId(),
    86                 Arguments.getArgumentList(argumentStr));
    87                 Arguments.getArgumentList(argumentStr));