United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-8015275 : Resolve ambiguity in OCSPChecker & CrlRevocationChecker

Details
Type:
Bug
Submit Date:
2013-05-23
Status:
Closed
Updated Date:
2013-07-05
Project Name:
JDK
Resolved Date:
2013-05-24
Component:
security-libs
OS:
Sub-Component:
java.security
CPU:
Priority:
P3
Resolution:
Fixed
Affected Versions:
7
Fixed Versions:
7u40 (b28)

Related Reports
Backport:

Sub Tasks

Description
Reported by Andrew on the OpenJDK 7u-dev mailing list : 

====

Webrev: http://cr.openjdk.java.net/~andrew/7u/webrev/

There's an ambiguity that applies when building OpenJDK 7 with OpenJDK 6
(and hence I haven't posted this for 8 as it can't be built with 6).

OpenJDK 6 has a class sun.security.provider.certpath.CertificateRevokedException.
OpenJDK 7 has a class java.security.cert.CertificateRevokedException.

Two classes in sun.security.provider.certpath in OpenJDK 7 import
java.security.cert.CertificateRevokedException indirectly via
java.security.cert.*.  This appears to cause a compilation failure
in some cases if the ambiguity is resolved to the CertificateRevokedException
in the bootstrap JDK instead of the new one in java.security.cert.

This is easily fixed by explicitly importing the classes required as in the
above webrev.

Is this ok for 7u?  If so, can I have a bug ID for it?

====
                                    

Comments
URL:   http://hg.openjdk.java.net/jdk7u/jdk7u/jdk/rev/05e7d9925f3e
User:  lana
Date:  2013-06-03 19:46:42 +0000

                                     
2013-06-03
URL:   http://hg.openjdk.java.net/jdk7u/jdk7u-dev/jdk/rev/05e7d9925f3e
User:  andrew
Date:  2013-05-24 15:51:29 +0000

                                     
2013-05-24
noreg-other : build time change.

changed classes were removed in JDK 8 : 

changeset:   5475:0c6830e7241f
parent:      4964:d383b5d128e3
user:        mullan
date:        Wed May 30 17:19:46 2012 -0400
summary:     6854712: Revocation checking enhancements (JEP-124)

                                     
2013-05-23



Hardware and Software, Engineered to Work Together