Trying the prototype

Rémi Forax forax at univ-mlv.fr
Mon Aug 9 13:19:08 PDT 2010


Le 09/08/2010 19:30, Maurizio Cimadamore a écrit :
> On 09/08/10 18:22, Florian Weimer wrote:
>    
>> * maurizio cimadamore:
>>
>>
>>      
>>> 2) build the compiler
>>>
>>> cd langtools/make
>>>
>>> ant -Dboot.java.home=<PATH_TO_JDK6>   -Dtarget.java.home=<PATH_TO_JDK7>
>>> build-all-tools
>>>
>>>        
>> Does this mean that the Project Lambda javac works with an otherwise
>> unmodified JDK 7?
>>
>>      
> Yes, because changes are now localized in the compiler area.
>    
>> Would it be very difficult to get it to work under JDK 6, too?
>> Presumably, that would make experimentation much, much easier.
>>
>>
>>      
> I guess it would be harder - some of the features provided by the lambda
> compiler sit on top of the VM support for method handles which is a
> recent addition to JDK 7.
>    

I've written a backport of JSR 292 API compatible with 1.5, 1.6 VM.
see http://code.google.com/p/jvm-language-runtime/downloads/list

> Maurizio
>    

Rémi


More information about the lambda-dev mailing list