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

Jim Laskey jlaskey at openjdk.org
Fri Jan 26 13:14:38 UTC 2024


On Tue, 23 Jan 2024 21:41:54 GMT, Naoto Sato <naoto at openjdk.org> wrote:

>> Jim Laskey has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Requested changes
>
> src/java.base/share/classes/java/lang/String.java line 4229:
> 
>> 4227:      *     <th scope="row">{@code \u005Cu...uXXXX}</th>
>> 4228:      *     <td>unicode escape</td>
>> 4229:      *     <td>single character UTF-16 equivalent</td>
> 
> It would be clearer to have "single UTF-16 code unit equivalent" as the translation explanation

Changed

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

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


More information about the core-libs-dev mailing list