Hi all,
as some of you may already know, Flink's Java 8 Lambdas currently only worked if the job has been compiled with the Eclipse JDT 4.4 compiler because this compiler saves important type information in the class files. Unfortunately, this feature was not officially supported by the Eclipse team, which is why it has been remove as part of another bugfix in version 4.4.1. After I had contact with the guys of the Eclipse JDT team, they created a patch to re-introduce the functionality with a compiler option (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=449063). So we won't have problems with the Eclipse JDT compiler in future releases :-) I'm also working on a patch for the javac compiler. I will submit it after I have finished my current task with the type hints. Regards, Timo |
Timo,
that is great news! Looking forward to the Lambdas working smoothly with Eclipse / JDT :-) Stephan On Wed, Nov 12, 2014 at 6:43 PM, Timo Walther <[hidden email]> wrote: > Hi all, > > as some of you may already know, Flink's Java 8 Lambdas currently only > worked if the job has been compiled with the Eclipse JDT 4.4 compiler > because this compiler saves important type information in the class files. > Unfortunately, this feature was not officially supported by the Eclipse > team, which is why it has been remove as part of another bugfix in version > 4.4.1. > After I had contact with the guys of the Eclipse JDT team, they created a > patch to re-introduce the functionality with a compiler option (see > https://bugs.eclipse.org/bugs/show_bug.cgi?id=449063). > So we won't have problems with the Eclipse JDT compiler in future releases > :-) > > I'm also working on a patch for the javac compiler. I will submit it after > I have finished my current task with the type hints. > > Regards, > Timo > |
Indeed, thanks for the update! :-)
2014-11-12 20:33 GMT+01:00 Stephan Ewen <[hidden email]>: > Timo, > > that is great news! Looking forward to the Lambdas working smoothly with > Eclipse / JDT :-) > > Stephan > > > On Wed, Nov 12, 2014 at 6:43 PM, Timo Walther <[hidden email]> wrote: > > > Hi all, > > > > as some of you may already know, Flink's Java 8 Lambdas currently only > > worked if the job has been compiled with the Eclipse JDT 4.4 compiler > > because this compiler saves important type information in the class > files. > > Unfortunately, this feature was not officially supported by the Eclipse > > team, which is why it has been remove as part of another bugfix in > version > > 4.4.1. > > After I had contact with the guys of the Eclipse JDT team, they created a > > patch to re-introduce the functionality with a compiler option (see > > https://bugs.eclipse.org/bugs/show_bug.cgi?id=449063). > > So we won't have problems with the Eclipse JDT compiler in future > releases > > :-) > > > > I'm also working on a patch for the javac compiler. I will submit it > after > > I have finished my current task with the type hints. > > > > Regards, > > Timo > > > |
Free forum by Nabble | Edit this page |