JDK-8153118 : Remove sun.misc.resources
  • Type: Sub-task
  • Component: core-libs
  • Affected Version: 9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2016-03-30
  • Updated: 2016-07-22
  • Resolved: 2016-03-31
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.
JDK 9
9 b113Fixed
Related Reports
Relates :  
Description
sun.misc.resources claims to contain a ResourceBundle for sun.misc, which has localized versions of messages for "bad" jar files, such as:

  "optpkg.versionerror", "ERROR: Invalid version format used in {0} JAR file. Check the documentation for the supported version format."    
  "optpkg.attributeerror", "ERROR: The required {0} JAR manifest attribute is not set in {1} JAR file."
  "optpkg.attributeserror", "ERROR: Some required JAR manifest attributes are not set in {0} JAR file."

These error message appear to not be used, either by the JDK itself, or elsewhere.  I assume that there was a consumer of these at one point, but has long since been refactored away.
Comments
This resource bundle was used by sun.misc.ExtensionInfo which has been removed by JDK-8064956.
30-03-2016