Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4385031

X500Principal.equals can be optimized

XMLWordPrintable

    • merlin
    • generic
    • solaris_2.6

      X500Principal.equals should be changed to:

      if (o instanceof X500Principal) {
          X500Principal that = (X500Principal)o;
          return thisX500Name.equals(that.thisX500Name);
      }

            claisunw Charlie Lai (Inactive)
            claisunw Charlie Lai (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: