--- a/jdk/src/share/classes/sun/security/provider/certpath/OCSP.java Tue Aug 28 11:12:46 2012 +0100
+++ b/jdk/src/share/classes/sun/security/provider/certpath/OCSP.java Tue Aug 28 08:46:23 2012 -0400
@@ -32,6 +32,7 @@
import java.net.HttpURLConnection;
import java.security.cert.CertificateException;
import java.security.cert.CertPathValidatorException;
+import java.security.cert.CertPathValidatorException.BasicReason;
import java.security.cert.CRLReason;
import java.security.cert.Extension;
import java.security.cert.X509Certificate;
@@ -337,5 +338,10 @@
private NetworkFailureException(IOException ioe) {
super(ioe);
}
+
+ @Override
+ public CertPathValidatorException.Reason getReason() {
+ return BasicReason.UNDETERMINED_REVOCATION_STATUS;
+ }
}
}