Differences in asType between MLVM/bsdport and JDK7
Ola Bini
ola.bini at gmail.com
Thu May 26 23:38:52 PDT 2011
Hi,
It seems there is still a difference in how asType MHs work between what
is in current JDK7 repo, and what you get from building bsdport with
mlvm patches. Specifically, when running things with bsdport/mlvm they
work. When running on JDK7 (built about 30 minutes ago) I get this:
Caused by: java.lang.IllegalArgumentException: target and fallback types
must match: (SephObject,Object,Object,Object,Object)Object !=
(SephObject,SephObject,SThread,LexicalScope,MethodHandle)SephObject
at
java.lang.invoke.MethodHandleStatics.newIllegalArgumentException(MethodHandleStatics.java:87)
at
java.lang.invoke.MethodHandles.misMatchedTypes(MethodHandles.java:2074)
at
java.lang.invoke.MethodHandles.guardWithTest(MethodHandles.java:2058)
at
seph.lang.compiler.SephCallSite.computeSlowPath(SephCallSite.java:149)
at seph.lang.compiler.SephCallSite.<init>(SephCallSite.java:46)
at seph.lang.compiler.SephCallSite.bootstrap(SephCallSite.java:31)
at java.lang.invoke.CallSite.makeSite(CallSite.java:276)
John, do you have any idea of what's missing to make this work in JDK7 too?
Cheers
--
Ola Bini (http://olabini.com)
Ioke - JRuby - ThoughtWorks
"Yields falsehood when quined" yields falsehood when quined.
More information about the mlvm-dev
mailing list