-
Bug
-
Resolution: Fixed
-
P4
-
7u4
-
b03
-
generic, unknown
-
os_x
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2221384 | 8 | Vincent Ryan | P4 | Closed | Fixed | b28 |
closed/java/security/cert/CertPathValidator/OCSP/FailoverCheck.java is failing on Mac 7u4
when a proxy is enabled on the test machine, which is a common/default situation on that platform.
The problem is that the nested exception inside the CertPathValidatorException is not
UnknownHostException as expected. Instead it is a generic IOException. This happens because
the DNS lookup is being done by the proxy and a 502 error is returned in this case.
Just change the check for UnknownHostException to an IOException instead.
when a proxy is enabled on the test machine, which is a common/default situation on that platform.
The problem is that the nested exception inside the CertPathValidatorException is not
UnknownHostException as expected. Instead it is a generic IOException. This happens because
the DNS lookup is being done by the proxy and a 502 error is returned in this case.
Just change the check for UnknownHostException to an IOException instead.
- backported by
-
JDK-2221384 closed/java/security/cert/CertPathValidator/OCSP/FailoverCheck.java failing [macosx]
-
- Closed
-
- duplicates
-
JDK-7142765 closed/java/security/cert/CertPathValidator/OCSP/FailoverCheck.java failing on Mac OS X
-
- Closed
-