United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-8069302 : Deprecate Unsafe monitor methods in JDK 8u release

Details
Type:
Bug
Submit Date:
2015-01-19
Status:
Resolved
Updated Date:
2017-05-17
Project Name:
JDK
Resolved Date:
2015-01-22
Component:
core-libs
OS:
Sub-Component:
java.lang
CPU:
Priority:
P3
Resolution:
Fixed
Affected Versions:
8u60
Fixed Versions:
8u60 (b03)

Related Reports
Backport:
Relates:

Sub Tasks

Description
The Unsafe monitor methods have been removed in JDK 9. They should be marked as deprecated in an 8u release.
                                    

Comments
URL:   http://hg.openjdk.java.net/jdk8u/jdk8u/jdk/rev/003f2c10f841
User:  lana
Date:  2015-02-16 21:48:46 +0000

                                     
2015-02-16
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
URL:   http://hg.openjdk.java.net/jdk8u/jdk8u-dev/jdk/rev/003f2c10f841
User:  psandoz
Date:  2015-01-22 14:54:59 +0000

                                     
2015-01-22



Hardware and Software, Engineered to Work Together