On Friday 17 December 2004 15:09, Jeroen Frijters wrote: > Thomas Zander wrote: > > Interresting concept; > > several bugs: > > 1) doing an aquire can return a null; meaning the toString() > > can cause nullpointer exceptions. > > Only if you use it concurrently from different threads. StringBuilder > isn't thread safe so this is perfectly acceptable.
Sorry, I must have misunderstood your previous email saying: > > Attached is an example of how StringBuilder could be made thread safe > > and still enable sharing the char[]. -- Thomas Zander
pgpkLmNW14pDO.pgp
Description: PGP signature
_______________________________________________ Classpath mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/classpath