You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by Timo Walther <fl...@twalthr.com> on 2014/11/12 18:43:57 UTC

Flink Java 8 Lambdas will work again with future Eclipse compilers

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

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

Posted by Fabian Hueske <fh...@apache.org>.
Indeed, thanks for the update! :-)

2014-11-12 20:33 GMT+01:00 Stephan Ewen <se...@apache.org>:

> 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 <fl...@twalthr.com> 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
> >
>

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

Posted by Stephan Ewen <se...@apache.org>.
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 <fl...@twalthr.com> 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
>