On Tue, 30 May 2023 15:57:55 GMT, Daniel Fuchs <[email protected]> wrote:
> Please find below a fix for a regression observed in the HttpClient > AsyncShutdownNow test, after > [JDK-8308310](https://bugs.openjdk.org/browse/JDK-8308310) > > The PlainHttpConnection should have been modified to use a ReentrantLock > instead of trying to perform potentially blocking actions outside of the > synchronized block. > > I also took this opportunity to fix the regex in the code that validate the > exception message. The IOException thrown in that case has "Stream" with a > capital "S". This pull request has now been integrated. Changeset: 4aea7dab Author: Daniel Fuchs <[email protected]> URL: https://git.openjdk.org/jdk/commit/4aea7dab152de4c61724eec9a40024c990f8dabc Stats: 29 lines in 3 files changed: 16 ins; 3 del; 10 mod 8309120: java/net/httpclient/AsyncShutdownNow.java fails intermittently Reviewed-by: jpai ------------- PR: https://git.openjdk.org/jdk/pull/14223
