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

Properties#list should warn against non-String values

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • 26
    • 26
    • core-libs
    • generic
    • generic

      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.

            jlu Justin Lu
            jlu Justin Lu
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: