The latest JDK on Mac seems to throw a timeout exception instead of a connect exception.
@@ -110,7 +110,8 @@ public class WSAPureWsdlTest extends AbstractWSATestBase {
} catch (Exception t) {
//expected
assertTrue(t.getCause().getCause().toString(),
- t.getCause().getCause() instanceof java.net.ConnectException);
+ t.getCause().getCause() instanceof java.net.ConnectException
+ || t.getCause().getCause() instanceof java.net.SocketTimeoutException);
}
synchronized (handler) {
port.addNumbersAsync(25, 25, handler);
