RFR: 8363980: [macos] Add JDK specific keys/values to Info.plist of embedded runtime

Alexey Semenyuk asemenyuk at openjdk.org
Wed Oct 29 02:32:03 UTC 2025


On Wed, 29 Oct 2025 01:32:50 GMT, Alexander Matveev <almatvee at openjdk.org> wrote:

> - Added JDK specific keys/values to Info.plist of embedded runtime.
> - Modified `setFakeRuntime()` not to include `bin` folder. By default it was always included, but generated embedded runtime by default does not have `bin` folder. As a result `CustomInfoPListTest` failed.
> - Updated  `CustomInfoPListTest` to test Info.plist with `bin` folder.

src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/MacPackagingPipeline.java line 363:

> 361:         final var app = env.app();
> 362: 
> 363:         // We should use full runtime info plist for standalone runtime and for

I guess the comment explains why jpackage should use the same info plist template for a runtime if it has the "bin" subdirectory. But what is the "full" runtime?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/28033#discussion_r2471563801


More information about the core-libs-dev mailing list