< prev index next >

src/jdk.packager/share/classes/jdk/packager/internal/Arguments.java

Print this page

        

*** 276,287 **** String icon = initialMap.get(FA_ICON); if (icon != null) { args.put(StandardBundlerParam.FA_ICON.getID(), icon); } // check that we really add _another_ value to the list ! setOptionValue("file-associations", args); }), SECONDARY_LAUNCHER ("secondary-launcher", OptionCategories.PROPERTY, () -> { context().secondaryLaunchers.add( --- 276,293 ---- String icon = initialMap.get(FA_ICON); if (icon != null) { args.put(StandardBundlerParam.FA_ICON.getID(), icon); } + ArrayList<Map<String, ? super Object>> associationList = + new ArrayList<Map<String, ? super Object>>(); + + associationList.add(args); + // check that we really add _another_ value to the list ! setOptionValue("file-associations", associationList); ! }), SECONDARY_LAUNCHER ("secondary-launcher", OptionCategories.PROPERTY, () -> { context().secondaryLaunchers.add(
< prev index next >