RFR: 8339403: sun.security.ssl.StatusResponseManager.get swallows interrupt status

Jamil Nimeh jnimeh at openjdk.org
Fri Sep 27 18:54:07 UTC 2024


This PR corrects a flaw in the StatusResponseManager where it was incorrectly swallowing the interrupt status when either an invokeAll was called (spawning the threads to fetch each OCSP response) or when attempting to grab the data from one of the Futures returned from the fetches.
Additionally, I made a small change that, in the unlikely event of a non-IOException being thrown, only that specific fetch is affected, but other successful fetches on different threads can complete and can be added to the resulting responseMap.

-------------

Commit messages:
 - 8339403: sun.security.ssl.StatusResponseManager.get swallows interrupt status

Changes: https://git.openjdk.org/jdk/pull/21230/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=21230&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8339403
  Stats: 57 lines in 3 files changed: 47 ins; 1 del; 9 mod
  Patch: https://git.openjdk.org/jdk/pull/21230.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/21230/head:pull/21230

PR: https://git.openjdk.org/jdk/pull/21230


More information about the security-dev mailing list