RFR - JDK-8202442 - String::unescape (Code Review)
jonathan.gibbons at oracle.com
Tue Sep 18 18:33:38 UTC 2018
In JLS, and hence javac, Unicode escape handling happens early on at a
low level, before string escape handling. This means that it is
technically possible to write string escape sequences in terms of
I'm not suggesting you should do the same here, but you should be aware
of the difference, compared to javac behavior.
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 core-libs-dev