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

String(String) constructor could copy hashIsZero

    XMLWordPrintable

Details

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

    Description

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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: