OpenJDK 8 + lambdas build for OS X
Rémi Forax
forax at univ-mlv.fr
Thu Nov 17 05:33:01 PST 2011
Hi Behrang,
the lambda workspace is not yet included in the master workspace of
openjdk 8
because a lot of APIs/implementations are too young/too experimental.
Rémi
On 11/17/2011 01:31 PM, Behrang Saeedzadeh wrote:
> Hi all,
>
> I just grabbed the latest version of the OpenJDK 8 build from
> http://openjdk-osx-build.googlecode.com/files/OpenJDK-1.8-x86_64-b11-20111112-release.dmg
> but it doesn't seem to contain the recent drop of lambdas, as I was
> unable to compile this simple Java class:
>
> public class Main {
>
> public static void main(String[] args) {
> runMe(() -> {});
> }
>
> public static void runMe(Runnable r) {
> r.run();
> }
>
> }
>
> Or am I using an incorrect syntax? Or is it that the lambdas aren't
> still included in the builds provided by that Google Code project?
>
> Cheers,
> Behrang Saeedzadeh
> http://www.behrang.org
> _______________________________________________
> mlvm-dev mailing list
> mlvm-dev at openjdk.java.net
> http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev
More information about the mlvm-dev
mailing list