review (XS) for 7009346: java/dyn/InvokeDynamicPrintArgs.java fails with NPE on solaris-sparc with -Xcomp
Vladimir Kozlov
vladimir.kozlov at oracle.com
Tue Apr 19 16:35:57 PDT 2011
Seems good.
Vladimir
Tom Rodriguez wrote:
> http://cr.openjdk.java.net/~never/7009346
>
> 7009346: java/dyn/InvokeDynamicPrintArgs.java fails with NPE on solaris-sparc with -Xcomp
> Reviewed-by:
>
> The invokespecial method handle adapter attempts to null check its
> argument before the invoke but it's reading the wrong value so it
> occasionally throws a spurious NPE. The fix is to make it look like
> all the other method handle code that's loading the receiver. Tested
> with failing test case.
>
More information about the hotspot-compiler-dev
mailing list