On Wed, 29 Oct 2025 01:32:50 GMT, Alexander Matveev <[email protected]> 
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.

How do we test the defaults? We need a new test that will verify that if the 
runtime has a "bin" subdirectory, the runtime plist file has "standalone 
runtime"-specific properties and vice versa.
The test should be used with the followign runtimes:
 - A runtime with "bin" subdirectory created by jpackage.
 - A runtime without "bin" subdirectory created by jpackage.
 - A runtime with "bin" subdirectory passed to jpackage through 
`--runtime-image`.
 - A runtime without "bin" subdirectory passed to jpackage through 
`--runtime-image`.

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

PR Comment: https://git.openjdk.org/jdk/pull/28033#issuecomment-3459481839

Reply via email to