RFR: JDK-8252145: Unify Info.plist files with correct version strings
Sergey Bylokhov
Sergey.Bylokhov at oracle.com
Tue Aug 25 02:18:45 UTC 2020
Hi, Erik.
I would like to highlight one thing affected by this fix. The text in the default about dialog in the Swing application will be changed.
For my local build:
- Current text: "Java Version 1.0 (16)"
- After the fix: "Java Version 16 (0)"
I am not sure why the build version and as a result the CFBundleVersion is zero?
On 24.08.2020 08:19, Erik Joelsson wrote:
> When fixing JDK-8246094, I concluded that our Info.plist files are in a bit of a mess. This patch tries to address this on a more fundamental level.
>
> 1. All Info.plist files and templates are moved to the same location in the source tree.
>
> 2. The CFBundleIdentifier is changed to no longer contain the version number. Instead it gets the $VERSION_PRE string if present.
>
> 3. The CFBundleShortVersionString is changed to the numeric version part of our version string.
>
> 4. The CFBundleVersion is changed to the build number (or a custom number if supplied through a new configure argument). For Oracle builds, this will take the form of <promotionBuildNumber>.<InternalCIBuildNumber>.
>
> For more details on why this particular scheme, see bug description, but in short, this is what I think best reflects what the Apple documentation says the fields are for.
>
> Bug: https://bugs.openjdk.java.net/browse/JDK-8252145
>
> Webrev: http://cr.openjdk.java.net/~erikj/8252145/webrev.01
>
> /Erik
>
--
Best regards, Sergey.
More information about the build-dev
mailing list