The test `SSLSocketImplThrowsWrongExceptions` is failing intermittently after 
the change: [JDK-8259662: Don't wrap SocketExceptions into SSLExceptions in 
SSLSocketImpl](https://bugs.openjdk.java.net/browse/JDK-8259662)

Since SocketExceptions are not wrapped into SSLException, also need to be 
caught. Other tests that were expecting a SSLException to be thrown under 
certain condition were updated with a similar fix in the change previously 
mentioned.

In addition, thread.sleep was replaced with a CountDownLatch for client/server 
synchronization

-------------

Commit messages:
 - replace thread.sleep with countdownlatch
 - Merge branch 'master' into 8262409
 - SocketExceptions is not wrapped into SSLExceptions

Changes: https://git.openjdk.java.net/jdk/pull/4308/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=4308&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8262409
  Stats: 14 lines in 2 files changed: 0 ins; 3 del; 11 mod
  Patch: https://git.openjdk.java.net/jdk/pull/4308.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/4308/head:pull/4308

PR: https://git.openjdk.java.net/jdk/pull/4308

Reply via email to