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

Mandy Chung mandy.chung at oracle.com
Fri Oct 9 18:55:03 UTC 2015


+1

Mandy
P.S.  These two classes do not show up in the list of JDK internal API 
referenced I gathered.

On 10/09/2015 10:23 AM, Chris Hegarty wrote:
> 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