RFR(JDK12/NIO) 8209576: java.nio.file.Files.writeString writes garbled UTF-16 instead of UTF-8

Xueming Shen xueming.shen at oracle.com
Fri Aug 17 21:49:42 UTC 2018


+1

On 08/17/2018 02:39 PM, Joe Wang wrote:
> Hi,
>
> Please review a fix for a condition where a code conversion was skipped incorrectly resulting in a wrong byte array being written into the file.
>
> JBS: https://bugs.openjdk.java.net/browse/JDK-8209576
> webrevs: http://cr.openjdk.java.net/~joehw/jdk12/8209576/webrev/
>
> Thanks,
> Joe
>



More information about the core-libs-dev mailing list