Arnout Engelen created COLLECTIONS-851:
------------------------------------------

             Summary: Document AbstractHashedMap does not compensate for key 
collisions
                 Key: COLLECTIONS-851
                 URL: https://issues.apache.org/jira/browse/COLLECTIONS-851
             Project: Commons Collections
          Issue Type: Wish
          Components: Map
            Reporter: Arnout Engelen


The various AbstractHashedMap implementations do not compensate for scenario's 
where many values map to the same hash bucket.

This means these collections are not suitable for situations where untrusted 
users can add values for arbitrary keys, as they could cause disproportionate 
resource usage.

This is not necessarily a problem, but it would be good to document this in the 
API docs.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to