Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8240094 Optimize empty substring handling
  3. JDK-8251556

Release Note: Optimized Empty Substring Handling

    XMLWordPrintable

Details

    • Verified

    Description

      The implementation of `String.substring` and related methods `stripLeading` and `stripTrailing` have changed in this release to avoid redundantly creating a new empty String. This may impact code that depends on unspecified behaviour and the identity of empty sub-strings.

      Attachments

        Activity

          People

            redestad Claes Redestad
            cwayne Clifford Wayne (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: