Java 7 quietly changed the structure of String. Instead of an offset and a count, the String now only contained a char. This had some harmful effects for those expecting substring() would always share the underlying char.
Sign in to post comments.
Comments (0)
Sign in to post comments.