ModuleInfo#fromCookedRuntime() has macOS-specific code that shouldn't be there [1].
The parameter of ModuleInfo#fromCookedRuntime() should always be a directory with the standard JDK structure, not the root directory of a macOS bundle.
[1] https://github.com/openjdk/jdk/blob/e0b040a6c6713827033e9ba51c9ded920dd0203b/src/jdk.jpackage/share/classes/jdk/jpackage/internal/ModuleInfo.java#L65
The parameter of ModuleInfo#fromCookedRuntime() should always be a directory with the standard JDK structure, not the root directory of a macOS bundle.
[1] https://github.com/openjdk/jdk/blob/e0b040a6c6713827033e9ba51c9ded920dd0203b/src/jdk.jpackage/share/classes/jdk/jpackage/internal/ModuleInfo.java#L65
- blocks
-
JDK-8357404 jpackage should attempt to get a package version from the JDK's release file if the --version option is not specified
-
- In Progress
-
- links to
-
Review(master)
openjdk/jdk/29963