-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
5.0u5
-
generic
-
generic
There are many bug reports about the fact that Properties.list truncates values larger than 40 characters to 37 characters + "...". This cannot be changed for compatibility reasons. Fair enough. However, we should at least document that behavior in the API.
Actually the API don't tell you about it:
/**
* Prints this property list out to the specified output stream.
* This method is useful for debugging.
*
* @param out an output stream.
*/
public void list(PrintStream out) {
and
/**
* Prints this property list out to the specified output stream.
* This method is useful for debugging.
*
* @param out an output stream.
* @since JDK1.1
*/
public void list(PrintWriter out) {
Actually the API don't tell you about it:
/**
* Prints this property list out to the specified output stream.
* This method is useful for debugging.
*
* @param out an output stream.
*/
public void list(PrintStream out) {
and
/**
* Prints this property list out to the specified output stream.
* This method is useful for debugging.
*
* @param out an output stream.
* @since JDK1.1
*/
public void list(PrintWriter out) {
- duplicates
-
JDK-4622226 (prop) spec: Improve javadoc for java.util.Property.list() to mention truncation
-
- Open
-