> On Apr 26, 2018, at 11:03 PM, mandy chung <mandy.ch...@oracle.com> wrote:
> 
> 
> 
> On 4/27/18 3:35 AM, Paul Sandoz wrote:
>> Hi Mandy,
>> 
>> This looks reasonable. I suspect external subtypes of the j.l.ref types are 
>> extremely rare (grep code reports no derived types) and of those it would 
>> likely be even rarer for those subtypes to implement Cloneable, and for that 
>> functionality to operate reliably.
> 
> Thanks for the review.
> 
> Subtypes of java.lang.ref.SoftReference and WeakReference is not uncommon 
> (JDK has plenty of such subtypes). 

Ooops, silly me, grep code only reports direct sub-types when querying for 
derived types, am i queried from Reference.

Paul.

> I guess grep code may show the result of a specific JDK release and reports 
> no derived types.  I do think it's extremely rare for those subtypes to 
> implement Cloneable.  So this change should have low compatibility risk.
> 
> Mandy

Reply via email to