On Mon, 11 Jan 2021 17:24:23 GMT, Volker Simonis <simo...@openjdk.org> wrote:
> JDK-8237578 exposes some SocketExceptions directly which were previously > wrapped inside an SSLException. The change updated one test to take this new > behaviour into account (i.e. TrustTrustedCert.java) but apparently missed > other tests. > > The fix for the other tests is similar like the fix for TrustTrustedCert.java > in JDK-8237578: > - } catch (SSLException ssle) { > + } catch (SSLException | SocketException se) { > if (!expectFail) { > - throw ssle; > + throw se; > } // Otherwise, ignore. > } This pull request has been closed without being integrated. ------------- PR: https://git.openjdk.java.net/jdk/pull/2029