Repository: flink Updated Branches: refs/heads/master b0cd48dd3 -> 753763ad1
[FLINK-6386] Missing bracket in 'Compiler Limitation' section This closes #3775. Project: http://git-wip-us.apache.org/repos/asf/flink/repo Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/753763ad Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/753763ad Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/753763ad Branch: refs/heads/master Commit: 753763ad186995b16f0ec67cf71cdf18f1d82726 Parents: b0cd48d Author: Bowen Li <bowenl...@gmail.com> Authored: Tue Apr 25 19:55:25 2017 -0700 Committer: Till Rohrmann <trohrm...@apache.org> Committed: Fri Apr 28 11:47:45 2017 +0200 ---------------------------------------------------------------------- docs/dev/java8.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flink/blob/753763ad/docs/dev/java8.md ---------------------------------------------------------------------- diff --git a/docs/dev/java8.md b/docs/dev/java8.md index e98f748..1912fb1 100644 --- a/docs/dev/java8.md +++ b/docs/dev/java8.md @@ -104,7 +104,7 @@ input.filter(line -> !line.contains("not")) Currently, Flink only supports jobs containing Lambda Expressions completely if they are **compiled with the Eclipse JDT compiler contained in Eclipse Luna 4.4.2 (and above)**. Only the Eclipse JDT compiler preserves the generic type information necessary to use the entire Lambda Expressions feature type-safely. -Other compilers such as the OpenJDK's and Oracle JDK's `javac` throw away all generic parameters related to Lambda Expressions. This means that types such as `Tuple2<String,Integer` or `Collector<String>` declared as a Lambda function input or output parameter will be pruned to `Tuple2` or `Collector` in the compiled `.class` files, which is too little information for the Flink Compiler. +Other compilers such as the OpenJDK's and Oracle JDK's `javac` throw away all generic parameters related to Lambda Expressions. This means that types such as `Tuple2<String, Integer>` or `Collector<String>` declared as a Lambda function input or output parameter will be pruned to `Tuple2` or `Collector` in the compiled `.class` files, which is too little information for the Flink compiler. How to compile a Flink job that contains Lambda Expressions with the JDT compiler will be covered in the next section.