On Fri, 16 Jan 2026 05:02:46 GMT, Alexander Matveev <[email protected]> 
wrote:

> Do we want to normalize module version? 

When jpackage derives bundle properties from the input data, it should get the 
valid values. If it can't do it, it should fail.

> What possible format for module version?

No idea. How is it relevant? If jpackage can't get a valid platform-specific 
bundle version from the module version, it should fail.

> Having generic normalization for both module, release file or anything else 
> is probably over complicated.
It is the opposite: applying the same normalization function to any input is 
simple. If it can't produce a valid output, stop further processing if there 
are no other options.

Besides a command line, jpackage can derive the app version from the main jar, 
module, and now from the runtime. 

Do you suggest handling these cases differently?

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

PR Comment: https://git.openjdk.org/jdk/pull/29260#issuecomment-3758208238

Reply via email to