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

Reply via email to