commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] Created: (LANG-629) Charset may not be threadsafe, because the HashSet is not synch.
Date Thu, 01 Jul 2010 09:38:51 GMT
Charset may not be threadsafe, because the HashSet is not synch.
----------------------------------------------------------------

                 Key: LANG-629
                 URL: https://issues.apache.org/jira/browse/LANG-629
             Project: Commons Lang
          Issue Type: Bug
            Reporter: Sebb
             Fix For: 3.0


Charset may not be threadsafe, because the HashSet "set" is not synch.

The set is only updated by the protected add() method, which is currently only used by the
protected ctors.

Given that COMMON is a synch. set, perhaps "set" should be too.

Perhaps add() should be private?



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message