[7u40] Resolve ambiguity in OCSPChecker & CrlRevocationChecker

Andrew Hughes gnu.andrew at redhat.com
Fri May 24 07:01:58 PDT 2013



----- Original Message -----
> On 23/05/2013 18:12, Andrew Hughes wrote:
> > :
> > They aren't.  It's a 7 source file conflicting with the class from 6 which
> > is
> > on the bootclasspath.
> So any issue with the bootclasspath specified to javac? (I'm not
> objecting to the proposed change, rather I think I probably need to see
> the javac command as there is something fishy here).
> 

/home/andrew/builder/icedtea7-icedtea6-bootstrap/bootstrap/jdk1.6.0/bin/java -XX:-PrintVMOptions -XX:+UnlockDiagnosticVMOptions
 -XX:-LogVMOutput -Xmx512m -Xms512m -XX:PermSize=32m -XX:MaxPermSize=160m
 -Xbootclasspath/p:/home/andrew/builder/icedtea7-icedtea6-bootstrap/openjdk.build-boot/langtools/dist/bootstrap/lib/javac.jar
 -jar /home/andrew/builder/icedtea7-icedtea6-bootstrap/openjdk.build-boot/langtools/dist/bootstrap/lib/javac.jar
 -g -source 7 -target 7 -encoding ascii -Xbootclasspath:/home/andrew/builder/icedtea7-icedtea6-bootstrap/openjdk.build-boot/classes
 -sourcepath /home/andrew/builder/icedtea7-icedtea6-bootstrap/generated.build:../../../src/solaris/classes:../../../src/share/classes
 -bootclasspath /home/andrew/builder/icedtea7-icedtea6-bootstrap/openjdk.build-boot/classes:/home/andrew/builder/icedtea7-icedtea6-bootstrap/bootstrap/jdk1.6.0/jre/lib/rt.jar
 -d /home/andrew/builder/icedtea7-icedtea6-bootstrap/openjdk.build-boot/classes
 @/home/andrew/builder/icedtea7-icedtea6-bootstrap/openjdk.build-boot/tmp/sun/java.security/.classes.list

The issue is that 6's rt.jar has sun.security.provider.certpath.CertificateRevokedException which is
being found before the java.security.cert.CertificateRevokedException source imported by
java.security.cert.* (the problematic classes are in the same package as the original exception in 6).
Turning that import into an explicit java.security.cert.CertificateRevokedException solves the issue.

> -Alan
> 

-- 
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