RFR: 8302590: Add String.indexOf(int ch, int fromIndex, int toIndex)

Roger Riggs rriggs at openjdk.org
Thu Feb 23 16:25:00 UTC 2023


On Thu, 16 Feb 2023 17:16:35 GMT, Raffaello Giulietti <rgiulietti at openjdk.org> wrote:

> Add an `indexOf()` variant allowing to specify both a lower and an upper bound on the search.

Is there any performance impact? Are there relevant JHM tests? Or should be added.
Also to verify that the intrinsics are still valid though the parameter names have changed.

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

PR: https://git.openjdk.org/jdk/pull/12600


More information about the core-libs-dev mailing list