Hello all! Pleas look at my fix for JDK-8159565. It solves quite annoying automation issue. Fix is applicable for both 8 and 9 tests. webrev: http://cr.openjdk.java.net/~arusakov/8159565/webrev.00/ P.S. Could anyone commit JDK-8158784? I don't have permissions to do that.