JDK-8151636 : Revert changes to signature of HostServices::getWindow
  • Type: Bug
  • Component: javafx
  • Sub-Component: application-lifecycle
  • Affected Version: 9-repo-jigsaw
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2016-03-10
  • Updated: 2016-03-12
  • Resolved: 2016-03-12
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9-repo-jigsawFixed
Related Reports
Blocks :  
Blocks :  
Relates :  
Description
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).

Comments
Changeset: 8598f5046654 Author: kcr Date: 2016-03-11 16:07 -0800 URL: http://hg.openjdk.java.net/openjfx/sandbox-9-jake/rt/rev/8598f5046654
12-03-2016