Flink Java 8 Lambdas will work again with future Eclipse compilers

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Flink Java 8 Lambdas will work again with future Eclipse compilers

Timo Walther
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
Reply | Threaded
Open this post in threaded view
|

Re: Flink Java 8 Lambdas will work again with future Eclipse compilers

Stephan Ewen
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
>
Reply | Threaded
Open this post in threaded view
|

Re: Flink Java 8 Lambdas will work again with future Eclipse compilers

Fabian Hueske
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
> >
>