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

Optimize empty substring handling

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 15
    • None
    • core-libs
    • b13

    Description

      String.substring return "" in some cases, but could be improved to do so in all cases when the substring length is zero.

      Patch contributed by Sergey Tsypanov here: https://mail.openjdk.java.net/pipermail/core-libs-dev/2020-February/064948.html

      Attachments

        Issue Links

          Activity

            People

              redestad Claes Redestad
              redestad Claes Redestad
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: