Uploaded image for project: 'Santuario'
  1. Santuario
  2. SANTUARIO-306

KeySelectors loop

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • Java 1.4.6, Java 1.5.1
    • Java 1.4.7, Java 1.5.2
    • Java
    • Security Level: Public (Public issues, viewable by everyone)
    • None

    Description

      At javax\xml\crypto\test\KeySelectors.java we have

      X509CRL crl = null;
      // Looking for CRL before finding certificates
      for (int i = 0; (i < entries.length && crl != null); i++) {
      if (entries[i] instanceof X509CRL)

      { crl = (X509CRL) entries[i]; }

      }

      Should "i < entries.length && crl != null" be replaced with "i < entries.length && crl == null" ? Am i missing something?

      Thank you.

      Attachments

        Activity

          People

            coheigea Colm O hEigeartaigh
            rui.caridade Rui Caridade
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: