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

(fs) Files.writeString spec for IOException has "specified charset" when no charset is provided

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 19
    • 19
    • core-libs
    • b29

        The 3-arg Files.writeString has a cut 'n paste error. The description for IOException has:

        "or the text cannot be encoded using the specified charset"

        It should be:

        "or the text cannot be encoded using UTF-8"

              bpb Brian Burkhalter
              alanb Alan Bateman
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: