Commit 9ca19a0
committed
Fix for RejectedExecutionException during delete operations
If the tasks scheduled by ForkJoinPool are all busy and new task is
added, the pool would throw RejectedExecutionException if the "saturate"
Predicate is not specified.
To avoid that, supply Predicate that is always true - with that, no
exception will be thrown on busy pool and we would not reject new delete
operations.
Fixes #15921 parent 31d84d1 commit 9ca19a0
File tree
1 file changed
+2
-1
lines changed- resources/bundles/org.eclipse.core.filesystem/src/org/eclipse/core/internal/filesystem/local
1 file changed
+2
-1
lines changedLines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
287 | 287 | | |
288 | 288 | | |
289 | 289 | | |
290 | | - | |
| 290 | + | |
| 291 | + | |
291 | 292 | | |
292 | 293 | | |
293 | 294 | | |
| |||
0 commit comments