[7u40] Resolve ambiguity in OCSPChecker & CrlRevocationChecker
Andrew Hughes
gnu.andrew at redhat.com
Thu May 23 10:12:43 PDT 2013
----- Original Message -----
> On 22/05/2013 19:25, Andrew Hughes wrote:
> > 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.
> >
> So is there an underlying issue here, I'm curious how jdk6 and jdk7
> sources are being compiled together.
>
> -Alan
>
They aren't. It's a 7 source file conflicting with the class from 6 which is
on the bootclasspath.
--
Andrew :)
Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)
PGP Key: 248BDC07 (https://keys.indymedia.org/)
Fingerprint = EC5A 1F5E C0AD 1D15 8F1F 8F91 3B96 A578 248B DC07
More information about the jdk7u-dev
mailing list