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

Jim Laskey james.laskey at oracle.com
Wed Sep 19 12:34:24 UTC 2018


Updated.

> On Sep 18, 2018, at 4:19 PM, Roger Riggs <Roger.Riggs at Oracle.com> wrote:
> 
> 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