On Fri, 13 Feb 2026 14:31:17 GMT, Raffaello Giulietti <[email protected]> 
wrote:

>> src/java.base/share/classes/java/lang/StringUTF16.java line 981:
>> 
>>> 979:     }
>>> 980: 
>>> 981:     private static int indexOfLatin1Unsafe(byte[] src, int srcCount, 
>>> byte[] tgt, int tgtCount, int fromIndex) {
>> 
>> Similarly to above, documenting the expectations about the arguments here 
>> would help.
>
> Be aware that I didn't review the native code.

Added documentation in 7efdc944aa3.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/28832#discussion_r2805478142

Reply via email to