-
Enhancement
-
Resolution: Unresolved
-
P4
-
None
-
1.4.0
-
Cause Known
-
sparc
-
solaris_2.6
Name: jk109818 Date: 01/10/2002
FULL PRODUCT VERSION :
java version "1.3.1"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-b24)
Java HotSpot(TM) Client VM (build 1.3.1-b24, mixed mode)
FULL OPERATING SYSTEM VERSION :
SunOS bistro 5.6 Generic_105181-29 sun4u sparc SUNW,Ultra-4
A DESCRIPTION OF THE PROBLEM :
The jdk 1.3 documentation for both java.util.Property.list
() methods doesn't mention that both implemenations will
truncate the property value if it's longer than 40
characters. I think this would be useful information for
developers (especially when they are trying to figure out
why all their property values are truncated!!!;-)
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. point a web browser at
http://java.sun.com/j2se/1.3/docs/api/java/util/Properties.html#list(java.io.PrintWriter)
2. read the javadoc comment
3. Note that it doesn't say anything about truncation of
values.
4. Scratch head.
This bug can be reproduced always.
(Review ID: 138109)
======================================================================
- duplicates
-
JDK-6363661 (prop) Document that Properties.list truncates values larger than 40 characters
-
- Closed
-
- relates to
-
JDK-5089823 Java.Util.Properties.list() truncates values > 40 characters
-
- Closed
-