JavaOne meet-up?

Rémi Forax forax at univ-mlv.fr
Mon Sep 27 07:00:01 PDT 2010


  Le 27/09/2010 15:41, Christian Thalinger a écrit :
> 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

I'll take a look to see If it's me or you :)

> -- Christian

Rémi


More information about the mlvm-dev mailing list