RFR - JDK-8202442 - String::unescape (Code Review)
naoto.sato at oracle.com
Tue Sep 18 20:55:39 UTC 2018
At the last sentence in the method description, there's a line
"otherwise a CharacterCodingException may occur during UTF-8 decoding."
It's not decoding into UTF-8, so simply "during decoding (or
unescaping)" sounds better to me.
On 9/18/18 10:51 AM, Jim Laskey wrote:
> Please review the code for String::unescape. Used to translate escape sequences in a string, typically in a raw string literal, into characters represented by those escapes.
> webrev: http://cr.openjdk.java.net/~jlaskey/8202442/webrev/index.html
> jbs: https://bugs.openjdk.java.net/browse/JDK-8202442
> csr: https://bugs.openjdk.java.net/browse/JDK-8202443
> — Jim
More information about the amber-dev