Re: Error in sequence initialisation of Lookup

2009-06-08 Thread John Rose
On Jun 5, 2009, at 1:31 AM, Rémi Forax wrote: > This program throw an Internal Error > ... > MethodHandles$Lookup static init calls MethodHandles. > but *before* the call to initLookup(), the class MethodHandleImpl need > to be initialized, > so its is called and raise the InternalError. > > stat

Error in sequence initialisation of Lookup

2009-06-05 Thread Rémi Forax
This program throw an Internal Error import java.dyn.MethodHandle; import java.dyn.MethodHandles; import java.dyn.MethodType; public class MethodHandleInvocationTest { public static void sayHello(String message) { System.out.println("hello " + message); } public static void main(