Sebastian Kürten
04/08/2023, 10:30 AMAlexander Maryanovsky
04/08/2023, 12:13 PMSebastian Kürten
04/09/2023, 8:37 AMjpackage
also enforces the major version to be non-zero. It's in https://github.com/openjdk/jdk/blob/master/src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/CFBundleVersion.java#L49 currently and I can trace it back to the first version of jpackage where it got introduced in Dec 5, 2019: https://github.com/openjdk/jdk/commit/264573c9ce730ed421725b8986db4e3eb5124c47#diff-5d2a110b25ab685e0230c5e57e00[…]86ad8f71978a5d96870922feec7afR143
I don't see a reference though.
Ironically, the first version of https://developer.apple.com/documentation/bundleresources/information_property_list/cfbundleversion stored in the Web Archive is from Dec 29, 2019 and that old version also doesn't mention any limitation.javafxpackager
back in 2014 from where it was copied to `jpackage`: https://github.com/openjdk/jfx/commit/f69af4823512ba400d99fedf29d91a755263dab9#diff-4056aa3d2d740d12c8d354eb556c[…]30aedb7785c7743ed6215a08d8bc0R342