JDK-8139307 : Remove sun.misc.ConditionLock and Lock
  • Type: Sub-task
  • Component: core-libs
  • Affected Version: 9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2015-10-09
  • Updated: 2016-03-25
  • Resolved: 2015-10-10
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 b88Fixed
Related Reports
Relates :  
Description
The functionality provided by these classes has long since been provided
by supported APIs in java.util.concurrent.locks. Nothing internal, or external
( to the best of my knowledge ), to the JDK is depending on these classes.
They should simply be removed.

$ hg rm src/java.base/share/classes/sun/misc/ConditionLock.java 
$ hg rm src/java.base/share/classes/sun/misc/Lock.java