RFR: 8364564: Shortcut configuration is not recorded in .jpackage.xml file
Alexey Semenyuk
asemenyuk at openjdk.org
Thu Aug 7 18:17:15 UTC 2025
On Sat, 2 Aug 2025 03:46:09 GMT, Alexey Semenyuk <asemenyuk at openjdk.org> wrote:
> - Add `LauncherShortcut` and `LauncherShortcutStartupDirectory` types to the model to define launcher shortcuts. For now `LauncherShortcutStartupDirectory` enum has a single value. It will be extended in [JDK-8308349](https://bugs.openjdk.org/browse/JDK-8308349) enhancement.
> - Replace `WinLauncherMixin.shortcuts()` with `WinLauncherMixin.startMenuShortcut()` and `WinLauncherMixin.desktopShortcut()`.
> - Remove redundant `StandardBundlerParam.SHORTCUT_HINT` and `StandardBundlerParam.MENU_HINT`; use "win-shortcut", "win-menu", and "linux-shortcut" values instead of "shortcut" and "menu" to store launcher shortcut configuration in the ".jpackage.xml" file.
> - Add tests for launcher shortcut configuration in the ".jpackage.xml" file.
@sashamatveev PTAL
-------------
PR Comment: https://git.openjdk.org/jdk/pull/26604#issuecomment-3165249709
More information about the core-libs-dev
mailing list