On Wed, 29 Apr 2026 19:33:25 GMT, Sergey Bylokhov <[email protected]> wrote:
> This fixes a bug in XAWT that prevents selecting non existent element in the > List. > It was extracted from the https://github.com/openjdk/jdk/pull/27682, see > "Description of how invalid indexes are handled on other platforms:" section > in that PR description. > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai). This pull request has now been integrated. Changeset: f5aae683 Author: Sergey Bylokhov <[email protected]> URL: https://git.openjdk.org/jdk/commit/f5aae683152bd366c45b1053713b2b159f9a708f Stats: 9 lines in 3 files changed: 2 ins; 1 del; 6 mod 8369455: XAWT: List.getSelectedItem may throw ArrayIndexOutOfBoundsException Reviewed-by: prr, azvegint, aivanov ------------- PR: https://git.openjdk.org/jdk/pull/30992
