JDK-8155156 : Remove remaining sun.misc.* imports from the jdk repo
  • Type: Bug
  • Component: core-libs
  • Affected Version: 9
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2016-04-26
  • Updated: 2016-05-05
  • Resolved: 2016-04-27
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 b117Fixed
Related Reports
Relates :  
Relates :  
Description
Change "8153737: Unsupported Module" moved sun.misc to the jdk.unsupported module and removed sun.misc.* imports.

Unfortunately, it forgot to remove the sun.misc.* imports from:

src/java.base/share/classes/sun/nio/ch/AbstractPollSelectorImpl.java
src/java.base/unix/classes/sun/nio/ch/PollSelectorImpl.java

which are only used on AIX.

The last remaining sun.misc.* import in

src/java.desktop/unix/classes/sun/awt/X11/XToolkit.java

isn't required any more as well after "8147544: Remove sun.misc.ManagedLocalsThread from java.desktop" has been pushed.