RFR: 8308349: missing working directory option for launcher when invoked from shortcuts [v2]
Alexey Semenyuk
asemenyuk at openjdk.org
Mon Aug 11 21:03:36 UTC 2025
> - Support a new "app-dir" value of `win-shortcut`, `win-menu`, and `linux-shortcut` properties in additional launcher property files.
> - Support an optional value of `--win-shortcut`, `--win-menu`, and `--linux-shortcut` CLI options. The valid value is "app-dir".
>
> If a value of any property/CLI option from the above list is set to "app-dir", the startup directory of the corresponding shortcut will be set to the "app" subdirectory of the installation directory.
>
> If a CLI option from the above list doesn't have a value, the startup directory of the corresponding shortcut for the main launcher will be set to the installation directory on Windows and will not be set on Linux. This is the existing behavior; it has not changed.
>
> If a value of a property from the above list evaluates to `true`, the startup directory of the corresponding shortcut for the additional launcher will be set to the installation directory on Windows and will not be set on Linux. This is the existing behavior; it has not changed.
>
> Added test cases to AddLShortcut test implicitly.
Alexey Semenyuk has updated the pull request incrementally with one additional commit since the last revision:
Arguments, LinuxHelper: bugfix; AddLShortcutTest: better test coverage
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/26707/files
- new: https://git.openjdk.org/jdk/pull/26707/files/9f5da718..42922ecd
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=26707&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=26707&range=00-01
Stats: 55 lines in 3 files changed: 49 ins; 0 del; 6 mod
Patch: https://git.openjdk.org/jdk/pull/26707.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/26707/head:pull/26707
PR: https://git.openjdk.org/jdk/pull/26707
More information about the core-libs-dev
mailing list