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

Roger Riggs roger.riggs at oracle.com
Tue Sep 18 19:19:22 UTC 2018

Hi Jim,

Typically, setting the state to Proposed would follow asking for the CSR 
review and its feedback integrated.

The specification of IAE, would be more precisely written as:

"when escape sequence is malformed" -> "when the escape sequence does 
not conform to JLS 3.3 or 3.10.6"

Regards, Roger

On 9/18/18 1:51 PM, Jim Laskey wrote:
> 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
> Cheers,
> — Jim

More information about the amber-dev mailing list