-
Notifications
You must be signed in to change notification settings - Fork 683
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[#1800] Support Java 8 #743
Conversation
(Using "-noverify" option instead of "-XX:-UseSplitVerifier" - it works with both Java7 and Java8)
play-1-3-x-pull-requests #178 FAILURE |
play-1-3-x-pull-requests #179 FAILURE |
play-1-3-x-pull-requests #180 FAILURE |
Hi! Can you now merge it? |
This only allows Play to run with Java 8, right? It doesn't allow us to use Java 8 features in our projects? With your branch and a simple controller using Java 8 streams & lambdas as follows: public class Application extends Controller {
public static void index() {
List<Integer> doubles = Arrays.asList(1, 2, 3)
.stream()
.map(e -> e*2)
.collect(Collectors.toList());
renderJSON(doubles);
}
} I get:
Pretty sure this is because of the eclipse jdt compiler that also needs to be upgraded. |
@Peksa Yes you are right, I looking if we can update the compiler |
Merge with #747. |
We want to run Play1 applications with Java 8.
The first problem is that "-XX:-UseSplitVerifier" option is not supported by Java8.
I suggest using "-noverify" option instead of "-XX:-UseSplitVerifier" - it should work with both Java7 and Java8.