RFR [9] 8139307: Remove sun.misc.ConditionLock and Lock

Chris Hegarty chris.hegarty at oracle.com
Fri Oct 9 17:23:26 UTC 2015


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 

-Chris.

P.S. I did not feel it necessary to generate a webrev for this change.


More information about the core-libs-dev mailing list