javaspecialists.eu/archive/Issue230.html

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.


Comments (0)

Sign in to post comments.