Community
Participate
Working Groups
I have a class where no content assist is offered for return types. I managed to reduce it to the following: public class ReturnType { public Stri/* Content assist here is empty */ test() { } public void trigger(RetentionPolicy p) { switch (p) { case RUNTIME: break; default: } Callable<Void> c = () -> null; } } Removing either the switch or the lamdba makes content assist work correctly. The issue is present both in 4.19 and in Version: 2021-09 (4.21) Build id: I20210726-1800
(In reply to Julian Honnen from comment #0) > Removing either the switch or the lamdba makes content assist work correctly. whoohoo, spooky :) > The issue is present both in 4.19 and in Version: 2021-09 (4.21) at least this one is not a regression ...
(In reply to Stephan Herrmann from comment #1) > (In reply to Julian Honnen from comment #0) > > Removing either the switch or the lamdba makes content assist work correctly. > > whoohoo, spooky :) > > > The issue is present both in 4.19 and in Version: 2021-09 (4.21) > > at least this one is not a regression ... It's exactly the same as bug 576068, so a regression since either BETA_JAVA12 or 4.17, not exactly sure which. *** This bug has been marked as a duplicate of bug 576068 ***