<Swing Dev> RFR: JDK-8273312 : [TESTBUG] sanity/client/SwingSet/src/ButtonDemoScreenshotTest.java fails intermittently on Windows OS.

Amresh Sahu github.com+72060147+amresh-sahu at openjdk.java.net
Tue Sep 7 05:03:40 UTC 2021


On Mon, 6 Sep 2021 21:13:51 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

>> Problem: In Windows look and feel, Button(in test case ui) starts animating to show the selection and test case captures the animated button image to do the comparisons with initial button image and this comparison fails with Timeout Exception exception. 
>> 
>> Solution: TestHelper class provides the list of look and feel. One more method added to this class to exclude the windows look and feel.
>> 
>> This test has been tested  20 times on mach5 and It is passing.
>
> This animation was disabled by the JDK-8222519, does it meant that "-Dswing.disablevistaanimation=true" is broken?

Thanks @mrserb. Test case passes with -Dswing.disablevistaanimation=true so closed the pull request.

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

PR: https://git.openjdk.java.net/jdk/pull/5380


More information about the swing-dev mailing list