OpenJDK 8 + lambdas build for OS X
Behrang Saeedzadeh
behrangsa at gmail.com
Thu Nov 17 04:31:52 PST 2011
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
More information about the mlvm-dev
mailing list