RFR: 6187113: DefaultListSelectionModel.removeIndexInterval(0, Integer.MAX_VALUE) fails [v8]

Alexey Ivanov aivanov at openjdk.org
Wed Oct 26 18:24:32 UTC 2022


On Wed, 26 Oct 2022 17:34:58 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:

> With the current code in the PR, six (6) test cases still _fail_.

The failure of `test10` is expected: you adjust the value of `length` so that `insMaxIndex` can't be greater than `Integer.MAX_VALUE`. It is a valid failure, the test needs changing: `lead` should be become `Integer.MAX_VALUE + 1 = -2147483648 (0x80000000)`.

Other five failures are valid ones, `minIndex` and `maxIndex` in the object don't have the expected values.

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

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



More information about the client-libs-dev mailing list