On Thu, 29 Aug 2024 19:07:29 GMT, Manukumar V S <[email protected]> wrote:

> This is a highly intermittent failure, and it failed only once in CI on a 
> particular windows machine and passed on all other runs. 
> 
> Failure reason:
> When the button was displayed for the first time, the focus rectangle drawn 
> on the button text(Button A) was not seen(failure images attached in the bug).
> 
> Fix:
> To stabilize the test, I have added a line -> button.setFocusPainted(false), 
> so that the focus rectangle will not be painted

This pull request has now been integrated.

Changeset: b8d560b6
Author:    Manukumar V S <[email protected]>
Committer: Harshitha Onkar <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/b8d560b6cd9ea35c747487017107a6caeacf8a98
Stats:     10 lines in 1 file changed: 3 ins; 3 del; 4 mod

8339233: Test javax/swing/JButton/SwingButtonResizeTestWithOpenGL.java#id 
failed: Button renderings are different after window resize

Reviewed-by: honkar

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

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

Reply via email to