The test `test/jdk/java/net/httpclient/ShutdownNow.java` has been observed failing intermittently (though rarely) with an assertion error: `java.lang.AssertionError: 0: Unexpected exception: java.io.IOException: Stream 1 cancelled` caused by
java.io.IOException: Stream 1 cancelled at java.net.http/jdk.internal.net.http.Stream.cancel(Stream.java:1285) Given the nature of the test - which interrupts / cancel all operations asynchronously, then a "stream %d cancelled" exception should count as an acceptable result. ------------- Commit messages: - 8308545 Changes: https://git.openjdk.org/jdk/pull/14081/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=14081&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8308545 Stats: 2 lines in 1 file changed: 2 ins; 0 del; 0 mod Patch: https://git.openjdk.org/jdk/pull/14081.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/14081/head:pull/14081 PR: https://git.openjdk.org/jdk/pull/14081
