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

com.sun.jndi.ldap.SimpleClientId produces wrong hash code

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • P3
    • Resolution: Fixed
    • 9
    • 9
    • core-libs
    • b125
    • Verified

    Backports

      Description

        The hash code is computed as

                 myHash = super.hashCode()
                    + (username != null ? username.hashCode() : 0)
                    + (passwd != null ? passwd.hashCode() : 0);

        where passwd may be an array, which results in unique hash code for each such instance of SimpleClientId

        Attachments

          Issue Links

            Activity

              People

                igerasim Ivan Gerasimov
                igerasim Ivan Gerasimov
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: