-
Enhancement
-
Resolution: Unresolved
-
P4
-
None
-
None
The specification for the java.util.Properties#list method does not mention the expected behavior when a null argument is passed (the OpenJDK implementation throws a NullPointerException). We suggest that the specification should explicitly state the expected behavior when null is passed to the list method.
The specifications for some methods (such as void load(InputStream inStream) and void store(Writer writer, String comments)) explicitly specify the NullPointerException behavior—something like this would be perfect.
The specifications for some methods (such as void load(InputStream inStream) and void store(Writer writer, String comments)) explicitly specify the NullPointerException behavior—something like this would be perfect.