Community
Participate
Working Groups
Java 11 feature. public class Lambda20 { public static void main(String[] args) { Arrays.stream(args) .filter((var x) -> x.isEmpty()) // Resolution of x.isEmpty() method invocation failed. .forEach(System.out::println); } } The resolveMethodBinding() of the MethodInvocation node returns null. JDK 11.0.2 compiler compiles the code without errors.
Thanks, this bug has meanwhile been fixed. Fix is available in the 2019-03 release due tomorrow :) *** This bug has been marked as a duplicate of bug 541532 ***
I need this fix in form of Eclipse JDT jar files. Where I can get modules of the 2019-03 release? Thanks.
(In reply to Sergei Vorobyov from comment #2) > I need this fix in form of Eclipse JDT jar files. Where I can get modules of > the 2019-03 release? Thanks. Download the 2019-03 release? ;p There's plenty of channels on which JDT is released. If you need ecj via maven just use the proper dependency to get this: http://repo1.maven.org/maven2/org/eclipse/jdt/ecj/3.17.0/ecj-3.17.0.jar Here's a list of Eclipse update sites hosting the stuff: https://wiki.eclipse.org/Eclipse_Project_Update_Sites etc.pp.
Thank you so much, Stephan.