Trying the prototype

Maurizio Cimadamore maurizio.cimadamore at oracle.com
Mon Aug 9 10:30:18 PDT 2010


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.

Maurizio



More information about the lambda-dev mailing list