[jdk17] RFR: JDK-8268236 The documentation of the String.regionMatches method contains error
Roger Riggs
rriggs at openjdk.java.net
Mon Jun 28 13:26:07 UTC 2021
On Mon, 28 Jun 2021 12:28:06 GMT, Jim Laskey <jlaskey at 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.
Marked as reviewed by rriggs (Reviewer).
-------------
PR: https://git.openjdk.java.net/jdk17/pull/157
More information about the core-libs-dev
mailing list