JDK-8069302 : Deprecate Unsafe monitor methods in JDK 8u release
  • Type: Bug
  • Status: Resolved
  • Resolution: Fixed
  • Component: core-libs
  • Sub-Component: java.lang
  • Priority: P3
  • Affected Version: 8u60
  • Submit Date: 2015-01-19
  • Updated Date: 2017-05-17
  • Resolved Date: 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 Availabitlity Release.

To download the current JDK release, click here.
JDK 8
8u60 b03Resolved
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.
2015-02-05