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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 9
    • Affects Version/s: 9
    • Component/s: core-libs
    • b125
    • Verified

        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

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

                Created:
                Updated:
                Resolved: