JDK 9 RFR of 8032397: Remove sun.misc.Ref

Alan Bateman Alan.Bateman at oracle.com
Wed Jan 22 08:49:01 UTC 2014


On 22/01/2014 01:17, Joe Darcy wrote:
> Hi Alan,
>
> Updated webrev at
>
>     http://cr.openjdk.java.net/~darcy/8032397.1/
>
> @see in sun.misc.Ref removed.
>
> Regression tests updated to not refer to sun.misc.Ref.
>
> I looked at the use of Ref in jhat and it is only used if 
> java.lang.ref.Reference is not found reflectively, so I think the 
> existing code can stay in place.
Looks good to me. A minor comment on AppletImageRef is that url can be 
final.

(My comment on jhat was just wondering whether the lookup of 
sun.misc.Ref should be removed or not. It's harmless of course and seems 
to a relic of the past).

-Alan.





More information about the core-libs-dev mailing list