Bug with invokeArguments on x64

Rémi Forax forax at univ-mlv.fr
Mon Jan 3 09:03:02 PST 2011


Hi Christian,

On 01/03/2011 05:41 PM, Christian Thalinger wrote:
> On Dec 27, 2010, at 12:30 PM, Rémi Forax wrote:
>> Hi guys,
>> this code crash with jdk7b123 on x64,
>> and on x32 it raises a CCE but it should raise a WrongMethodTypeException.
>
> The crash should be fixed by:
>
> 7007377: JSR 292 MethodHandlesTest.testCastFailure fails on SPARC with -Xcomp +DeoptimizeALot
>
> which will be in HS20.0-b05.
>
> But about the WrongMethodTypeException, why do you think that one should be thrown instead of a CCE?

because this is what the doc says:
http://download.java.net/jdk7/docs/api/java/dyn/MethodHandle.html#invokeWithArguments%28java.lang.Object...%29

> -- Christian

cheers,
Rémi


More information about the mlvm-dev mailing list