Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Invalid
-
4.0
-
None
-
Bag, Collection, Set
-
None
-
MacOS 10.9, Java 6
Description
It seems that addAll has issues with adding a set that is backed by a singleton map with entry null -> null. However, the javadoc of the involved classes does not state that null entries are disallowed.
Either the code should allow adding a null entry to a bag, or the documentation should state that null entries are not allowed.
See the attached unit test in JUnit format to reproduce the problem.