Integrated: 7903017: RunTestsHandler passes arguments to lastIndexOf in the wrong order

Liam Miller-Cushon cushon at openjdk.java.net
Mon Sep 27 20:07:04 UTC 2021


On Mon, 23 Aug 2021 23:27:34 GMT, Liam Miller-Cushon <cushon at openjdk.org> wrote:

> This fixes a bug where the arguments to to `lastIndexOf` were swapped.
> 
> The first argument to `String#lastIndexOf(int, int)` is a character to search for, the second argument is a start index.

This pull request has now been integrated.

Changeset: ccb9209a
Author:    Liam Miller-Cushon <cushon at openjdk.org>
Committer: Dmitry Bessonov <dbessono at openjdk.org>
URL:       https://git.openjdk.java.net/jtharness/commit/ccb9209a23a82541866fe75d486d4cf0820793d0
Stats:     2 lines in 1 file changed: 0 ins; 0 del; 2 mod

7903017: RunTestsHandler passes arguments to lastIndexOf in the wrong order

Reviewed-by: dbessono

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

PR: https://git.openjdk.java.net/jtharness/pull/12


More information about the jtharness-dev mailing list