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 _______________________________________________ mlvm-dev mailing list mlvm-dev@openjdk.java.net http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev