Heinz Kabutz (JavaSpecialists) personal blog
Java 7 changed the structure of String
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[].
- Points
- 101
- HN comments
- 86
- Submissions
- 1
- Cited by
- 0 commenters
On Hacker News
| Submitted | Title on HN | Points | Comments |
|---|---|---|---|
| Jul 10, 2015 | Java 7 changed the structure of String by antoaravinth | 101 | 86 |