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. ------------- Commit messages: - JDK-8273312 : sanity/client/SwingSet/src/ButtonDemoScreenshotTest.java fails intermittently on Windows OS. - Merge pull request #5 from openjdk/master - Merge pull request #4 from openjdk/master - Merge pull request #3 from openjdk/master - Merge pull request #2 from openjdk/master Changes: https://git.openjdk.java.net/jdk/pull/5380/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=5380&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-8273312 Stats: 17 lines in 2 files changed: 16 ins; 0 del; 1 mod Patch: https://git.openjdk.java.net/jdk/pull/5380.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/5380/head:pull/5380 PR: https://git.openjdk.java.net/jdk/pull/5380