Community
Participate
Working Groups
Created attachment 266318 [details] jstack output Trying to invoke content assist in a lambda freezes Eclipse completely. I observe it only in certain cases. The example below is trying to override a method of a javafx component inside a lambda: ListView<String> view = new ListView<>(); view.setCellFactory(view-> { new ListCell<String>() { hitting ctrl+space here freezes IDE } }); Looks like Eclipse code assist is stuck on the org.eclipse.jdt.internal.compiler.parser.Scanner.<init>(Scanner.java:160).
Created attachment 266319 [details] jstack output
If I refactor the anonymous class to a nested class completion does not freeze.
Seeing AspectJ in the stacktrace it would be interesting to know if the problem can be reproduced with a pristince JDT, i.e., with now AJDT installed? If indeed we are talking about a recent version JDT, then this would be the source code on lines 159/160: public /*static*/ final char[][][][] charArray_length = new char[OptimizedLength][TableSize][InternalTableSize][]; Obviously nothing that could freeze Eclipse unless we're going out of memory.
I'll try to do it on a clean installation.
It cannot be reproduced on a fresh installation with a Java Project.
(In reply to Sergey Zolotaryov from comment #5) > It cannot be reproduced on a fresh installation with a Java Project. Thanks for confirming. Moving to AJDT for consideration.