RFR: JDK-8263261 Extend String::translateEscapes to support unicode escapes [v7]

Jim Laskey jlaskey at openjdk.org
Fri Jan 26 13:11:29 UTC 2024


On Fri, 19 Jan 2024 18:27:24 GMT, Roger Riggs <rriggs at openjdk.org> wrote:

>> Jim Laskey has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Update Copyright
>
> test/jdk/java/lang/String/TranslateEscapes.java line 127:
> 
>> 125:         } catch (IllegalArgumentException ex) {
>> 126:         }
>> 127:     }
> 
> The method name implies valid unicode escape sequences, but they are all invalid.
> The method name could be "verifyIllegalUnicodeEscape`.

Changed

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/17491#discussion_r1467632496


More information about the core-libs-dev mailing list