On 01/18/2011 09:27 PM, Mark Roos wrote:
On mac OsX, using the Stephen's 1/11/11 version, I was able to get
Rémi's example working. I then tried it
in Eclipse and while it appears to compile correctly when it runs I get:
Exception in thread "main" _java.dyn.WrongMethodTypeException_:
()Ljava/math/BigDecimal; cannot be called as
([Ljava/lang/Object;)Ljava/lang/Object;
at ri.experiment2.DynamicIndyTest.main(_DynamicIndyTest.java:24_)
I probably have a setup error somewhere ( I've tried the obvious jre
spots ) anyone have an idea of where to look?
thanks
mark
FYI I put the jre in
/System/Library/Frameworks/JavaVM.framework/Versions/java-1.7.0-internal-mlvm-2011_01_11
and added it to the jre selections
Mark, it's an Eclipse bug.
MethodHandle.invokeExact and MethodHandle.invokeGeneric aren't compiled
correctly by Eclipse.
Rémi
_______________________________________________
mlvm-dev mailing list
[email protected]
http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev