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

String(String) constructor could copy hashIsZero

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 18
    • None
    • core-libs
    • None
    • b26

      Currently the String(String) does not copy hashIsZero, which means copied Strings with a real zero hash might unnecessarily re-calculate the hash code.

            rriggs Roger Riggs
            redestad Claes Redestad
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: