review (XS) for 7009346: java/dyn/InvokeDynamicPrintArgs.java fails with NPE on solaris-sparc with -Xcomp

John Rose john.r.rose at oracle.com
Tue Apr 19 19:14:16 PDT 2011


Yes.  -- John

On Apr 19, 2011, at 4:35 PM, Vladimir Kozlov wrote:

> 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