git: openjdk/jdk17u-dev: 8341978: Improve JButton/bug4490179.java

Goetz Lindenmaier goetz at openjdk.org
Tue Dec 17 13:39:40 UTC 2024


Changeset: 6400a16b
Branch: master
Author:    Goetz Lindenmaier <goetz at openjdk.org>
Date:      2024-12-17 13:38:06 +0000
URL:       https://git.openjdk.org/jdk17u-dev/commit/6400a16be535bd311574a9c93fdf9dd26eaa37ee

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.

Backport-of: 8174cbd5cb797a80d48246a686897ef6fe64ed57

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



More information about the jdk-updates-changes mailing list