On Mon, 7 Apr 2025 22:50:14 GMT, Alisen Chung <ach...@openjdk.org> wrote:

> Updating and opening some tests

test/jdk/javax/swing/JComboBox/bug4180054.java line 57:

> 55:             comboBox.setSelectedIndex(1);
> 56:             comboBox.setSelectedIndex(3);
> 57:             comboBox.setSelectedIndex(2);

guess old test also checks "If the same item is selected twice in a row, the 
number should not increase"
so I guess we should also include another `comboBox.setSelectedIndex(2`) and 
`numberOfContentsChangedEvents ` should still be 3

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

PR Review Comment: https://git.openjdk.org/jdk/pull/24495#discussion_r2038809787

Reply via email to