Integrated: 8368185: Test javax/swing/plaf/synth/SynthButtonUI/6276188/bug6276188.java failed: Synth ButtonUI does not handle PRESSED & MOUSE_OVER state

Prasanta Sadhukhan psadhukhan at openjdk.org
Tue Oct 7 04:11:59 UTC 2025


On Tue, 23 Sep 2025 07:10:11 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

> Test frame is changed to Red for Mouse PRESSED and MOUSE_OVER state but it seem time is too less before it is moved to Green when mouse press is released so it retrieves Green instead of Red.
> Also, the pixel color retrieval point is conflicting with mouse cursor position, which gets picked up during `robot.createSceenCapture` execution so retrieval point is moved slightly up instead of down.
> 
> 100 iterations of the test passed in all platforms.

This pull request has now been integrated.

Changeset: e783c524
Author:    Prasanta Sadhukhan <psadhukhan at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/e783c524c17e1d1a3fff4b6370e222134e66edc8
Stats:     42 lines in 1 file changed: 27 ins; 6 del; 9 mod

8368185: Test javax/swing/plaf/synth/SynthButtonUI/6276188/bug6276188.java failed: Synth ButtonUI does not handle PRESSED & MOUSE_OVER state

Reviewed-by: tr, aivanov

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

PR: https://git.openjdk.org/jdk/pull/27444


More information about the client-libs-dev mailing list