Community
Participate
Working Groups
Reproduction steps: Create a class and enter the following content (note, annotation can be anything): @JavaBean(data -> { data. }) public class Main() { } Ask for competition after "data.", note that Eclipse never response, UI becomes unresponsive, one CPU core is at 100%. Expected: While the syntax is invalid as of Java 11, Eclipse should not enter into an infinite loop. Dev notes: Infinite loop is at "org.eclipse.jdt.internal.compiler.parser.Parser:11556" ProcessTerminals : for (;;) { resumeOnSyntaxError() call always returns "RESTART" which causes the parser to jump back to ProcessTerminals.
Thanks for the example, likely duplicate of bug 539685
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie.
This still applies to 2020-09.
Corrected, copy-pastable example: //--- import java.beans.JavaBean; @JavaBean(data -> { data. }) public class Main { } //--- completion still times out on HEAD.