Integrated: 8364564: Shortcut configuration is not recorded in .jpackage.xml file

Alexey Semenyuk asemenyuk at openjdk.org
Fri Aug 8 22:15:23 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.

This pull request has now been integrated.

Changeset: 8ad1fcc4
Author:    Alexey Semenyuk <asemenyuk at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/8ad1fcc48a4ba49ffde6dfbb851dbb3f56077dec
Stats:     383 lines in 15 files changed: 262 ins; 54 del; 67 mod

8364564: Shortcut configuration is not recorded in .jpackage.xml file

Reviewed-by: almatvee

-------------

PR: https://git.openjdk.org/jdk/pull/26604


More information about the core-libs-dev mailing list