JDK-8231281 : Eliminate the --identifier option
  • Type: Enhancement
  • Component: tools
  • Sub-Component: jpackage
  • Affected Version: internal
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • CPU: generic
  • Submitted: 2019-09-20
  • Updated: 2019-10-01
  • Resolved: 2019-10-01
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
internalFixed
Related Reports
Relates :  
Relates :  
Description
--identifier seems to be used only on macOS and is not used on Linux and Windows.
Somehow value of this option is used as base path to CDS cache in native code.
Not clear why path to CDS cache file should be configurable. Name and description of this option are unrelated to CDS cache at all.

If we would like to keep it, its description and name should be adjusted to match its role.
Comments
http://cr.openjdk.java.net/~almatvee/8231281/webrev.00/ - Removed --identifier option, since it only usage is to specify identifier when generating pkg on macOS and as default value for --mac-package-identifier. - Specifying identifier is no longer needed when generating pkg from app image and it will be extract from app image by default. --mac-package-identifier can be used to overwrite default value. - Removed check for identifier from DMG bundler, since it is not required by DMG.
28-09-2019