-
Bug
-
Resolution: Fixed
-
P3
-
9
-
b167
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8179792 | 10 | Magnus Ihse Bursie | P3 | Resolved | Fixed | b07 |
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, i.e.
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>
<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, i.e.
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>
- backported by
-
JDK-8179792 Info-privileged.plist claims launchers to be "OpenJDK 7 Command"
-
- Resolved
-