Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-7146616

closed/java/security/cert/CertPathValidator/OCSP/FailoverCheck.java failing [macosx]

XMLWordPrintable

    • b03
    • generic, unknown
    • os_x
    • Verified

        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.

              vinnie Vincent Ryan
              michaelm Michael McMahon
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: