[teststabilization] RFR: 8229481: sun/net/www/protocol/https/ChunkedOutputStream.java failed with a SSLException

Daniel Fuchs daniel.fuchs at oracle.com
Tue Aug 13 15:31:40 UTC 2019


Hi,

Please find below a fix for:

8229481: sun/net/www/protocol/https/ChunkedOutputStream.java
         failed with a SSLException
[1] https://bugs.openjdk.java.net/browse/JDK-8229481

webrev:
[2] http://cr.openjdk.java.net/~dfuchs/webrev_8229481/webrev.01/

The test was observed failing once with a server side exception:

javax.net.ssl.SSLException: Unrecognized SSL message, plaintext 
connection? (see [1])

The most probable cause is that the test server received some
rogue connection from another entity.

The patch adds a hook to the server code that the test
code can override to simply ignore such rogue connections.

best regards,

-- daniel


More information about the net-dev mailing list