Addresses the reported lost interrupt.
--------- - [x] I confirm that I make this contribution in accordance with the [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai). ------------- Commit messages: - 8385830 - addressing a race-condition in ForkJoinTask where interrupting the thread waiting for the result sometimes leads to a lost interruption Changes: https://git.openjdk.org/jdk/pull/31376/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=31376&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8385830 Stats: 30 lines in 2 files changed: 20 ins; 7 del; 3 mod Patch: https://git.openjdk.org/jdk/pull/31376.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/31376/head:pull/31376 PR: https://git.openjdk.org/jdk/pull/31376
