-
Enhancement
-
Resolution: Fixed
-
P4
-
None
-
b13
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
Patch contributed by Sergey Tsypanov here: https://mail.openjdk.java.net/pipermail/core-libs-dev/2020-February/064948.html
- csr for
-
JDK-8240225 Optimize empty substring handling
- Closed
- relates to
-
JDK-8332282 AbstractStringBuilder.toString spec needs amendments for empty strings
- New
-
JDK-8325730 StringBuilder.toString allocation for the empty String
- Closed