Compile
Felix Schmidt
schmidtfx at googlemail.com
Mon Nov 22 15:06:58 PST 2010
Thank you everybody,
got it working :)
felix
On 11/22/2010 11:29 PM, Mark Mahieu wrote:
> Hi Felix,
>
> Your test uses an older syntax (and features). For current documents
> and examples, see:
>
> http://mail.openjdk.java.net/pipermail/lambda-dev/2010-October/002476.html
>
> and the attachment to:
>
> http://mail.openjdk.java.net/pipermail/lambda-dev/2010-October/002543.html
>
> Regards,
>
> Mark
>
>
> On 22 Nov 2010, at 22:03, Felix Schmidt wrote:
>
>> I got the following error
>>
>> CTest.java:4: '{' expected
>> #int() fortyTwo = #()(42);
>> ^
>> CTest.java:4: <identifier> expected
>> #int() fortyTwo = #()(42);
>> ^
>> CTest.java:4: ';' expected
>> #int() fortyTwo = #()(42);
>> ^
>> CTest.java:4: '{' expected
>> #int() fortyTwo = #()(42);
>> ^
>> CTest.java:4: ';' expected
>> #int() fortyTwo = #()(42);
>> ^
>> CTest.java:4: not a statement
>> #int() fortyTwo = #()(42);
>> ^
>> 6 errors
>>
>>
>>
>> On 11/22/2010 10:46 PM, Rémi Forax wrote:
>>> On 11/22/2010 09:49 PM, Felix Schmidt wrote:
>>>
>>>> Maurizio,
>>>>
>>>> thank you for your reply. I compiled the langtools :)
>>>>
>>>> But how can I compile my application with the closures feature?
>>>>
>>>> langtools/dist/bin/javac CTest.java ?
>>>>
>>>> Thank you
>>>> felix
>>>>
>>> java -cp classes.jar:. com.sun.tools.javac.Main CTest.java
>>>
>>> Rémi
>>>
>>>
>>>
>>
>>
>
More information about the lambda-dev
mailing list