git: openjdk/jdk: master: 8341978: Improve JButton/bug4490179.java

Alexey Ivanov aivanov at openjdk.org
Fri Oct 18 11:03:52 UTC 2024


Changeset: 8174cbd5
Branch: master
Author:    Alexey Ivanov <aivanov at openjdk.org>
Date:      2024-10-18 11:03:00 +0000
URL:       https://git.openjdk.org/jdk/commit/8174cbd5cb797a80d48246a686897ef6fe64ed57

8341978: Improve JButton/bug4490179.java

Use latch to synchronize actions in the test.
Verify mouseButton3Released does not trigger actionPerformed
while mouse button 1 is pressed.
Ensure mouse button 1 is released.
Verify releasing mouse button 1 triggers actionPerformed.

Reviewed-by: azvegint, achung, serb

! test/jdk/javax/swing/JButton/bug4490179.java



More information about the jdk-changes mailing list