RFR: 8352905: Open some JComboBox bugs 1

Prasanta Sadhukhan psadhukhan at openjdk.org
Fri Apr 11 05:15:28 UTC 2025


On Mon, 7 Apr 2025 22:50:14 GMT, Alisen Chung <achung at 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


More information about the client-libs-dev mailing list