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

Details

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

    Backports

      Description

        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"

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved: