--- a/jdk/test/sanity/client/SwingSet/src/ButtonDemoScreenshotTest.java Thu May 26 19:58:46 2016 +0300
+++ b/jdk/test/sanity/client/SwingSet/src/ButtonDemoScreenshotTest.java Fri May 27 13:26:56 2016 -0700
@@ -38,7 +38,7 @@
/*
* @test
- * @key headful screenshots
+ * @key headful screenshots intermittent
* @summary Verifies buttons on SwingSet3 ButtonDemo page by clicking each
* button, taking its screenshots and checking that pressed button
* image is different from initial button image.
@@ -46,6 +46,8 @@
* @library /sanity/client/lib/jemmy/src
* @library /sanity/client/lib/Extensions/src
* @library /sanity/client/lib/SwingSet3/src
+ * @modules java.desktop
+ * java.logging
* @build org.jemmy2ext.JemmyExt
* @build com.sun.swingset3.demos.button.ButtonDemo
* @run testng ButtonDemoScreenshotTest