JDK-8069302 : Deprecate Unsafe monitor methods in JDK 8u release
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.lang
  • Affected Version: 8u60
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2015-01-19
  • Updated: 2017-05-17
  • Resolved: 2015-01-22
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 8
8u60 b03Fixed
Related Reports
Relates :  
Description
The Unsafe monitor methods have been removed in JDK 9. They should be marked as deprecated in an 8u release.
Comments
Suggested release note text: The methods monitorEnter, monitorExit and tryMonitorEnter on sun.misc.Unsafe are marked as deprecated in JDK 8u60 and will be removed in JDK 9. These methods are not used within the JDK itself and are very rarely used outside of the JDK.
05-02-2015