review (XS) for 7009346: java/dyn/InvokeDynamicPrintArgs.java fails with NPE on solaris-sparc with -Xcomp
Tom Rodriguez
tom.rodriguez at oracle.com
Tue Apr 19 16:31:15 PDT 2011
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