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@openjdk.java.net
http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev

Reply via email to