Thread.setName question
Xiaobin Lu
jacklusf at gmail.com
Tue Aug 10 21:42:28 UTC 2010
Would anyone please let me know why we convert the incoming argument of
Thread.setName() to a char array? Why can't we just store the incoming
argument to the name since String is immutable anyways?
Thanks,
-Xiaobin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/core-libs-dev/attachments/20100810/0246ee62/attachment.html>
More information about the core-libs-dev
mailing list