StringBuffer no longer shares its contents with the Strings it creates in 1.5. Apparently enough people found the shared buffer behavior unexpected and confusing that Sun didn't even bother adding a toStringWithoutCopy() method for those who want that behavior.
TrackBacks[4,130]
Comments[6]
Posted by weitzman on August 3, 2005 2:29:05 PM EDT