RFR: 8258951: java/net/httpclient/HandshakeFailureTest.java failed with "RuntimeException: Not found expected SSLHandshakeException in java.io.IOException"
Daniel Fuchs
dfuchs at openjdk.java.net
Thu Aug 19 14:09:39 UTC 2021
Please find here a patch that fixes intermittent failures in HandshakeFailureTest.java. The test expects an SSLException but finds an AssertionError instead. The AssertionError was too strong and was fired before the Http2Connection had a chance to raise the proper ALPNException.
-------------
Commit messages:
- 8258951: java/net/httpclient/HandshakeFailureTest.java failed with "RuntimeException: Not found expected SSLHandshakeException in java.io.IOException"
- 8258951: java/net/httpclient/HandshakeFailureTest.java failed with "RuntimeException: Not found expected SSLHandshakeException in java.io.IOException"
Changes: https://git.openjdk.java.net/jdk/pull/5184/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=5184&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8258951
Stats: 8 lines in 2 files changed: 3 ins; 0 del; 5 mod
Patch: https://git.openjdk.java.net/jdk/pull/5184.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/5184/head:pull/5184
PR: https://git.openjdk.java.net/jdk/pull/5184
More information about the net-dev
mailing list