All of the static factories that return "wrapper implementations" in the collections framework throw a NullPointerException if null is passed in. This behavior is desirable, but should be documented. The synchronized and unomidifiable wrappers in java.util.Collections, and java.util.Arrays.asList are affected.
-
Josh Bloch (Inactive)
-
Josh Bloch (Inactive)
- Votes:
-
0 Vote for this issue
- Watchers:
-
0 Start watching this issue
- Created:
- Updated:
- Resolved:
- Imported:
- Indexed: