Jira task: JDK-8158784<https://bugs.openjdk.java.net/browse/JDK-8158784>Webrev: http://cr.openjdk.java.net/~arusakov/8158784/webrev.00/ <http://cr.openjdk.java.net/%7Earusakov/8158784/webrev.00/>
That test is applicable for both 8 and 9 openjfx tests.