Relates :
|
|
Relates :
|
|
Relates :
|
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. }
|