I have some code that tries to get the value of a static final field using a MethodHandle, and I find that the field is null because the class isn't initialized. Is calling a method handle supposed to cause a class to initialize (run the <clinit> method)?
In a related question, what is the best way to force initialization and when do you do the initialization? in the bootstrap method? BTW, this is on Java7 on OSX. -dain _______________________________________________ mlvm-dev mailing list mlvm-dev@openjdk.java.net http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev