This post originated from an RSS feed registered with Java Buzz
by Charles Miller.
Original Post: The String Memory Gotcha
Feed Title: The Fishbowl
Feed URL: https://fishbowl.pastiche.org/atom.xml
Feed Description: tail -f /dev/mind > blog
String has, however, a package-private "quick" constructor that just takes a char array, offset and length and blats them directly into its private fields with no sanity checks. Most of the time this is benign and useful. Most of the time. (846 Words)