Hello. Please review the fix for jdk 9.The test tries to use InvokeLater and then w8 a 3 seconds, but this not enough on the slow device. So i replace InvokeLater to invokeAndWait. I also checked, that an updated version of the test still does not work on jdk6, where initial bug(6794831) was not fixed.
Bug: https://bugs.openjdk.java.net/browse/JDK-8023475 Webrev can be found at: http://cr.openjdk.java.net/~serb/8023475/webrev.00 -- Best regards, Sergey.