The signature of HostServices::getWindow was changed as part of JDK-8090136. After much discussion, we have settled on an approach that does not require breaking compatibility with JDK 8 for applications that call this method. This means that javafx.graphics will have a dependence on the new jdk.jsobject module, which in turn has a dependence on java.desktop, but it will not "requires public" java.desktop, so in the future this dependence can be removed once the soon-to-be-deprecated JSObject::getWindow method is removed (e.g., in JDK 10).