On 11/28/19 11:19 PM, Geertjan Wielenga wrote:

Does uninstalling nb-javac solve this problem?

Gj



FWIW, it works for me(TM) on Netbeans 11.2 on JDK 14 and nb-javac installed.


Although... there *is* a bug with anonymous methods. Doing:


Comparator<Integer> c = new Comparator<>() {};


prompts you to select which interface methods to implement as expected(compare is the minimum that has to be implemented, but there are defaults that can be overridden). However, doing:


Comparator<Integer> c = new Comparator<>();


does not.


...but I don't think OP's problem is because of *that* bug but rather another bug that has existed since at least Netbeans 8.2: The thread(s) responsible for editor error highlighting and alt+enter prompts gets stuck and the only way to fix it is by restarting the IDE. Don't know why it happens.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to