JDK-8137056 : Move SharedSecrets and interface friends out of sun.misc
  • Type: Sub-task
  • Component: core-libs
  • Affected Version: 9
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2015-09-23
  • Updated: 2016-03-25
  • Resolved: 2015-09-28
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 b85Fixed
Related Reports
Relates :  
Relates :  
Description
In preparation for JEP 160, SharedSecrets and friend interfaces should be moved out of 'sun.misc' and located in a truly private package. This is so that they are not part of the proposed to be exported 'sun.misc' package.
Comments
I was able to fix it quickly, so it is fine now.
12-10-2015

There are no functional changes. Sorry to hear that this has broken JavaFX, I did not think anyone outside of the JDK was using this.
12-10-2015

This change has broken all JavaFX applications. See JDK-8139450. We will need to fix JavaFX to use the classes in their new location. Is there any functional change other than the moving of the class to a new package?
12-10-2015

The proposal is to move these classes to 'jdk.internal.misc'. 'jdk.internal.*' is already on the restricted package list.
24-09-2015