On Tue, 4 Nov 2025 18:13:53 GMT, Alexander Zvegintsev <[email protected]> wrote:
>> Sergey Bylokhov has updated the pull request with a new target base due to a >> merge or a rebase. The incremental webrev excludes the unrelated changes >> brought in by the merge/rebase. The pull request contains six additional >> commits since the last revision: >> >> - Merge branch 'openjdk:master' into JDK-8369327 >> - Update ProblemList.txt >> - Update SelectInvalid.java >> - Validate "index >= 0 && index < model.getSize()" >> - Create SelectInvalid.java >> - 8369327: On macOS List may loses selection when added to Frame > > There is a failing JCK test after this behavioral change, it is against of > this part of the specification: > > https://github.com/openjdk/jdk/blob/4c6af03f81e068a98b8f4628b96682a54f3946da/src/java.desktop/share/classes/java/awt/List.java#L732-L736 > > Now it always selects the very first item. > > The gist of the failed part of the test is as follows: > > [ListMultipleMode.java](https://github.com/user-attachments/files/23343365/ListMultipleMode.java) > > EDIT: `String[] args` is added to reproducer @azvegint please look at the updated PR ------------- PR Comment: https://git.openjdk.org/jdk/pull/27682#issuecomment-4232898058
