Same patch applies to both (modulo source code paths).
jbs: https://bugs.openjdk.java.net/browse/JDK-8087565 8u webrev: http://cr.openjdk.java.net/~flar/JDK-8087565/webrev.8u.00/ 9u webrev: http://cr.openjdk.java.net/~flar/JDK-8087565/webrev.9u.00/This is a minor improvement on the earlier fix for JDK-8145516 to ensure that we communicate the scale of a newly mapped view to the FX code regardless of how the window/view are made visible...
...jim