RFR - JDK-8202443 - String::unescape (CSR Review)

Jim Laskey james.laskey at oracle.com
Tue Sep 18 17:51:56 UTC 2018

Please review the API for String::unescape. Used to translate escape sequences in a string, typically in a raw string literal, into characters represented by those escapes.

We decided to simplify the interface to the basics, i.e., translate all escape sequences.  No reciprocating method since the complexity of variations outweigh any likely need.

csr: https://bugs.openjdk.java.net/browse/JDK-8202443
jbs: https://bugs.openjdk.java.net/browse/JDK-8202442


— Jim

More information about the core-libs-dev mailing list