[Pki-devel] [Patch] CA removal

Ade Lee alee at redhat.com
Wed Jul 18 04:49:33 UTC 2012


NACK.

This checkin breaks the dogtag 10 build.

The problem is in DefStore.java in the following code:

Enumeration e = searchRepository( caName, filter);  <-- new warning here
while (e != null && e.hasMoreElements()) {
    IRepositoryRecord r = e.nextElement();  <-- error here

Eclipse returns an error because it cannot convert an Object returned by
the enumeration to IRepositoryRecord.

The problem here is that we have re-introduced of generic types.  The
better way to do this (and the way to fix this) is to define:
  Enumeration<IRepositoryRecord> e = searchRepository( caName, filter);

I have pushed the above fix to dogtag 10 master, so now the build
succeeds.

Ade
On Tue, 2012-07-17 at 15:08 -0700, Matthew Harmsen wrote:
> On 07/17/12 15:07, Andrew Wnuk wrote:
> 
> > This patch provides fix to OCSP agent inability of removing a CA
> > from the List of Certificate Authorities in some circumstances.
> > 
> > Bug: 837124. 
> > 
> > 
> > 
> > 
> > 
> > _______________________________________________
> > Pki-devel mailing list
> > Pki-devel at redhat.com
> > https://www.redhat.com/mailman/listinfo/pki-devel
> ACK
> 
> 
> _______________________________________________
> Pki-devel mailing list
> Pki-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/pki-devel





More information about the Pki-devel mailing list