Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4622226

(prop) spec: Improve javadoc for java.util.Property.list() to mention truncation

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 1.4.0
    • Fix Version/s: None
    • Component/s: core-libs
    • Subcomponent:
    • Understanding:
      Cause Known
    • CPU:
      sparc
    • OS:
      solaris_2.6

      Description



      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)
      ======================================================================

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sherman Xueming Shen
              Reporter:
              jkimsunw Jeffrey Kim (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Imported:
                Indexed: