Commit 9627185
STF-322: Restore interrupt flag in InterruptedException rewrap path
The existing catch (InterruptedException) blocks in reportTransaction()
and responseFor() rewrap into MinFraudException without restoring the
thread's interrupt status, silently swallowing the cancellation signal.
Per Java's interruption protocol, code that catches InterruptedException
without rethrowing it should re-set the flag so callers up the stack can
observe the cancellation.
This is an independent bug fix bundled into the STF-322 retry work because
the retry feature exposes the path more often. Per project commit hygiene
it lands as a separate commit so it can be cherry-picked or reverted on
its own.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent d2480a4 commit 9627185
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
351 | 351 | | |
352 | 352 | | |
353 | 353 | | |
| 354 | + | |
354 | 355 | | |
355 | 356 | | |
356 | 357 | | |
| |||
372 | 373 | | |
373 | 374 | | |
374 | 375 | | |
| 376 | + | |
375 | 377 | | |
376 | 378 | | |
377 | 379 | | |
| |||
0 commit comments