RFR: JDK-8178438 Info-privileged.plist claims launchers to be "OpenJDK 7 Command"
Magnus Ihse Bursie
magnus.ihse.bursie at oracle.com
Wed Apr 19 11:42:47 UTC 2017
The file src/java.base/macosx/native/launcher/Info-privileged.plist,
which is used when building signed macos launcher binaries, contains
this snippet:
<key>CFBundleName</key>
<string>OpenJDK 7 Command</string>
I assume this has not been updated since JDK 7. I suggest removing the
version number from the file completely.
Approved for fixing in JDK 9.
Bug: https://bugs.openjdk.java.net/browse/JDK-8178438
Patch inline:
diff --git a/src/java.base/macosx/native/launcher/Info-privileged.plist
b/src/java.base/macosx/native/launcher/Info-privileged.plist
--- a/src/java.base/macosx/native/launcher/Info-privileged.plist
+++ b/src/java.base/macosx/native/launcher/Info-privileged.plist
@@ -7,7 +7,7 @@
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
- <string>OpenJDK 7 Command</string>
+ <string>OpenJDK Command</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleVersion</key>
/Magnus
More information about the build-dev
mailing list