Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8224240 Properties.load fails to throw IAE on malformed unicode in certain circumstances
  3. JDK-8226735

Release Note: Properties Files Containing Malformed Unicode Was Sometimes Misparsed

XMLWordPrintable

    • Verified

      An `IllegalArgumentException` is always thrown now when loading a properties file with malformed unicode sequences. Previously, a malformed unicode sequence appearing at the end of a line was parsed using the contents of the preceding line, which in rare cases meant it could be parsed as a valid (but likely incorrect) sequence.

            redestad Claes Redestad
            redestad Claes Redestad
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: