RFR: 8271865: SortedList::getViewIndex behaves not correctly for some index values
drmarmac
duke at openjdk.org
Sun Mar 24 15:15:48 UTC 2024
This PR adds the missing checks, as well as code documentation that an IndexOutOfBoundsException may be thrown.
-------------
Commit messages:
- TransformationList.getSourceIndex/getViewIndex should throw IOOBE
- Add failing test
Changes: https://git.openjdk.org/jfx/pull/1432/files
Webrev: https://webrevs.openjdk.org/?repo=jfx&pr=1432&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8271865
Stats: 53 lines in 5 files changed: 37 ins; 2 del; 14 mod
Patch: https://git.openjdk.org/jfx/pull/1432.diff
Fetch: git fetch https://git.openjdk.org/jfx.git pull/1432/head:pull/1432
PR: https://git.openjdk.org/jfx/pull/1432
More information about the openjfx-dev
mailing list