I just got back to my Smalltalk efforts and tried to run some code against 
114 ( that worked in 103).

I see lots of these errors and I seem to recall that changes are being 
made and wonder if someone
could point me towards the changes I need to make.

java.lang.BootstrapMethodError: call site initialization exception
        at java.lang.invoke.CallSite.makeSite(CallSite.java:328)
        at 
java.lang.invoke.MethodHandleNatives.linkCallSite(MethodHandleNatives.java:296)
        at rtPbc.r1.invoke(RiRmtViewDebugger class 
inspectError:frames:jFrames::8)
        at rtalk.lang.callsite.RtDebugger.queueError(RtDebugger.java:199)
        at 
rtalk.lang.primitives.RtalkPrims.sendSmToRtalk(RtalkPrims.java:107)
        at 
rtalk.systemMessage.portal.SmPortalForRtalk$1.run(SmPortalForRtalk.java:51)

Caused by: java.lang.invoke.WrongMethodTypeException: 
cannot convert MethodHandle(Lookup,String,MethodType,Object[])RtCallSite 
to (Lookup,String,MethodType,Object,Object)Object

        at 
java.lang.invoke.MethodHandle.asTypeUncached(MethodHandle.java:776)
        at java.lang.invoke.MethodHandle.asType(MethodHandle.java:770)
        at java.lang.invoke.Invokers.checkGenericType(Invokers.java:366)
        at java.lang.invoke.CallSite.makeSite(CallSite.java:285)

I am guessing it may have to do with the varArgs 

My bootstraps look like this,  I use the varArgs so I only need one 
bootstrap for any airity

RtCallSite bootStrapSelf(MethodHandles.Lookup callerLookup, String name, 
MethodType type, Object[] arg)

thanks
mark

_______________________________________________
mlvm-dev mailing list
mlvm-dev@openjdk.java.net
http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev

Reply via email to