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

Make hashCode methods in ArraysSupport friendlier

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 23
    • 23
    • core-libs
    • None
    • b26

      Supersedes https://bugs.openjdk.org/browse/JDK-8311864 as a result of a discussion in that issue's PR.

      Goals:

      * make vectorizedHashCode private and rename it to rid of "vectorized"
      * provide a hashCode overload per primitive type to rid of client-facing constants, such as T_BOOLEAN, T_CHAR, etc.
      * add a hashCode overload for Object[]

            prappo Pavel Rappo (Inactive)
            prappo Pavel Rappo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: