RFR: 8351369: [macos] Use --install-dir option with DMG packaging [v2]

Alexander Matveev almatvee at openjdk.org
Fri May 30 01:45:41 UTC 2025


> - `--install-dir` option in DMG packaging is no longer ignored.
> - Defaults are still the same: `/Applications` and `/Library/Java/JavaVirtualMachines`.
> - It will be user responsibility to make sure installation directory exist on target machine, since DMG cannot create directories during drag and drop.
> - Target directory in case of non-default installation dir will display full path. See image below for example.
> 
> ![Screenshot 2025-05-28 at 12 07 53 AM](https://github.com/user-attachments/assets/fbcba07b-74a5-4276-90c3-5f8d2d0dcc16)

Alexander Matveev has updated the pull request incrementally with one additional commit since the last revision:

  8351369: [macos] Use --install-dir option with DMG packaging [v2]

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/25481/files
  - new: https://git.openjdk.org/jdk/pull/25481/files/e18deafc..437dcbd2

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=25481&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=25481&range=00-01

  Stats: 166 lines in 6 files changed: 50 ins; 84 del; 32 mod
  Patch: https://git.openjdk.org/jdk/pull/25481.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/25481/head:pull/25481

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


More information about the core-libs-dev mailing list