hg: jdk/sandbox: 8209576: java.nio.file.Files.writeString writes garbled UTF-16 instead of UTF-8

chris.hegarty at oracle.com chris.hegarty at oracle.com
Mon Aug 20 17:15:21 UTC 2018


Changeset: 8dfed4387312
Author:    joehw
Date:      2018-08-20 10:11 -0700
URL:       http://hg.openjdk.java.net/jdk/sandbox/rev/8dfed4387312

8209576: java.nio.file.Files.writeString writes garbled UTF-16 instead of UTF-8
Reviewed-by: sherman

! src/java.base/share/classes/java/lang/StringCoding.java
! test/jdk/java/nio/file/Files/ReadWriteString.java



More information about the jdk-sandbox-changes mailing list