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

When Properties.store is called, comments are not escaped

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 6
    • 6
    • core-libs
    • b19
    • generic
    • windows_xp

      It is a problem of java.util.Properties#store(OutputStream os, String comments) method. The comments parameter are not escaped. It causes then problems in IDE to read and show such file property to user when working in another locale (like chinese).

      What is a reason not to escape comments to format \uXXXX?

      If you dont agree it is an issue, explain how should be treated such a file?
      ###@###.### 2004-08-16

      ###@###.### 2004-11-15 20:08:06 GMT

            sherman Xueming Shen
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: