You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: remove shutdownNow() that caused RejectedExecutionException cascade
shutdownNow() was called at the end of each analysis path to prevent
auto-close from hanging on stuck ANTLR threads. But it immediately
rejected all subsequent batch submissions, causing every file to be
skipped with RejectedExecutionException.
Fix: rely on the 30-second per-file timeout + Future.cancel(true)
to handle stuck files. After all futures are collected (completed or
cancelled), the try-with-resources auto-close calls shutdown() +
awaitTermination() which returns quickly since all tasks are done.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
0 commit comments