Re: Bug with invokeArguments on x64

2011-01-04 Thread John Rose
On Jan 3, 2011, at 9:03 AM, Rémi Forax wrote: 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

Re: Bug with invokeArguments on x64

2011-01-03 Thread Rémi Forax
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

Bug with invokeArguments on x64

2010-12-27 Thread Rémi Forax
Hi guys, this code crash with jdk7b123 on x64, and on x32 it raises a CCE but it should raise a WrongMethodTypeException. public class InvokeWithArgumentBug { class A { } public static void foo(A a) { } public static void main(String[] args) throws Throwable { MethodHandle mh =