Properties.list(PrintWriter out) fails if the values, (not just the keys) are non-String as well, but this is not specified.
This behavior appears long-standing. The wording update applies to Properties.list(PrintStream) method as well. The class description also needs to be corrected in this regard.
This behavior appears long-standing. The wording update applies to Properties.list(PrintStream) method as well. The class description also needs to be corrected in this regard.
- csr for
-
JDK-8362447 Properties#list should warn against non-String values
-
- Finalized
-
- links to
-
Review(master) openjdk/jdk/25334