On Thu, 26 Mar 2026 00:52:34 GMT, Alexander Matveev <[email protected]> 
wrote:

> - Removed check on macOS to allow version to start with 0.
> - This is legacy check and it is not clear why such limitation was added.

src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/CFBundleVersion.java line 
48:

> 46:             throw new IllegalArgumentException(I18N.getString(
> 47:                     "message.version-string-too-many-components"));
> 48:         }

I noticed now that this check is also too restrictive, the bundler docs say 
"You can include more integers but the system ignores them."
I don't think it's right to strictly enforce it in jpackage.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/30442#discussion_r2992579384

Reply via email to