Error tring to use Eclipse with Rémi's DynamicIndyTest
Rémi Forax
forax at univ-mlv.fr
Tue Jan 18 12:29:57 PST 2011
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/mlvm-dev/attachments/20110118/a88e02bf/attachment.html
More information about the mlvm-dev
mailing list