JavaOne meet-up?

Christian Thalinger christian.thalinger at oracle.com
Mon Sep 27 06:41:59 PDT 2010


On Fri, 2010-09-24 at 21:24 +0200, Christian Thalinger wrote:
> On Fri, 2010-09-24 at 15:23 +0200, Rémi Forax wrote:
> > Christian, you can also test with PHP.reboot
> >    http://code.google.com/p/phpreboot/
> > tests are here:
> >    
> > http://code.google.com/p/phpreboot/source/browse/#svn/trunk/phpreboot/test
> > 
> > The runtime also provides an ahead of time compiler that generates 
> > bytecode classes:
> >    bin/phpr.sh -aot test/testfibo.phpr
> 
> Thanks for the hint, I'll give it a try.  -- Christian

That one is odd (with testfibo.phpr):

Caused by: java.lang.IllegalArgumentException: bad adapter (conversion=0x00000100): type mismatch: returning a int, but caller expects boolean
	at sun.dyn.MethodHandleNatives.init(Native Method)
	at sun.dyn.AdapterMethodHandle.<init>(AdapterMethodHandle.java:53)
	at sun.dyn.AdapterMethodHandle.<init>(AdapterMethodHandle.java:58)
	at sun.dyn.AdapterMethodHandle.makeRetype(AdapterMethodHandle.java:478)
	at sun.dyn.AdapterMethodHandle.makeRetypeRaw(AdapterMethodHandle.java:468)
	at sun.dyn.ToGeneric.<init>(ToGeneric.java:148)
	at sun.dyn.ToGeneric.of(ToGeneric.java:257)
	at sun.dyn.ToGeneric.make(ToGeneric.java:249)
	at sun.dyn.MethodHandleImpl.convertArguments(MethodHandleImpl.java:808)
	at java.dyn.MethodHandles.convertArguments(MethodHandles.java:1048)
	at com.googlecode.phpreboot.runtime.RT.bootstrap(RT.java:1193)
	at sun.dyn.CallSiteImpl.makeSite(CallSiteImpl.java:53)
	... 634 more

-- Christian



More information about the mlvm-dev mailing list