On Mon, 28 Jun 2021 12:28:06 GMT, Jim Laskey <jlas...@openjdk.org> wrote:

> The documentation of the String.regionMatches method contains this fragment: 
> this.substring(toffset, len).codePoints(), but String.substring method takes 
> index, not the length, as the second argument.

This pull request has now been integrated.

Changeset: e4c54463
Author:    Jim Laskey <jlas...@openjdk.org>
URL:       
https://git.openjdk.java.net/jdk17/commit/e4c5446340605b112e0918fa9dcb48aaeaa730c8
Stats:     3 lines in 1 file changed: 0 ins; 0 del; 3 mod

8268236: The documentation of the String.regionMatches method contains error

Reviewed-by: rriggs, dfuchs

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

PR: https://git.openjdk.java.net/jdk17/pull/157

Reply via email to