Community
Participate
Working Groups
Regression in 4.20, also still on master / I20210714-1800: import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.atomic.AtomicInteger; public class ForLoop { public static void main(String[] args) { AtomicInteger executions = new AtomicInteger(); ExecutorService pool = Executors.newFixedThreadPool(1); for (int i = 0; i < 42; i++) { pool.execute(() -> { // sys| offers sysout etc templates here executions.incrementAndGet(); // sys | content assist doesn't offer "sysout" etc templates here }); } } }
Still in I20210723-1800
New Gerrit change created: https://git.eclipse.org/r/c/jdt/eclipse.jdt.core/+/183573
(In reply to Eclipse Genie from comment #2) > New Gerrit change created: > https://git.eclipse.org/r/c/jdt/eclipse.jdt.core/+/183573 Fine tuning of the fix for bug 574803: we need the right assistNodeParent in order to get a TL_STATEMENT_START context, which in turn triggers the sys* template proposals.
Gerrit change https://git.eclipse.org/r/c/jdt/eclipse.jdt.core/+/183573 was merged to [master]. Commit: http://git.eclipse.org/c/jdt/eclipse.jdt.core.git/commit/?id=17232d45e7813c57f73ef1df28a519815a01a17a
(In reply to Eclipse Genie from comment #4) > Gerrit change https://git.eclipse.org/r/c/jdt/eclipse.jdt.core/+/183573 was > merged to [master]. > Commit: > http://git.eclipse.org/c/jdt/eclipse.jdt.core.git/commit/ > ?id=17232d45e7813c57f73ef1df28a519815a01a17a Released for 4.21 M3
(In reply to Eclipse Genie from comment #2) > New Gerrit change created: > https://git.eclipse.org/r/c/jdt/eclipse.jdt.core/+/183573 This entry on gerrit got lost during the recent outage and rollback to a time before. The commit seems to be in master, though.
Verified in I20210804-1800