RFR: 8351073: [macos] jpackage produces invalid Java runtime DMG bundles [v2]

Alexey Semenyuk asemenyuk at openjdk.org
Mon Jul 14 22:53:47 UTC 2025


On Wed, 9 Jul 2025 01:32:38 GMT, Alexander Matveev <almatvee at openjdk.org> wrote:

> RUNTIME_PACKAGE_LAYOUT points to "Contents/Home". Bundle is "Contents/Home", "Contents/MacOS" and "Contents/Info.plist".

Right, so `RUNTIME_PACKAGE_LAYOUT` points to a bundle just like [ApplicationLayoutUtils.MAC_APPLICATION_LAYOUT](https://github.com/openjdk/jdk/blob/5cf672e7784b9a9a82f29977a072b162cc240fd1/src/jdk.jpackage/share/classes/jdk/jpackage/internal/ApplicationLayoutUtils.java#L43) points to a bundle too. If you need "Contents/MacOS" in the `RUNTIME_PACKAGE_LAYOUT`, add it to it.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/26173#discussion_r2205951133


More information about the core-libs-dev mailing list