JDK-8156963 : Deprecate HostServices.getWebContext method
  • Type: Bug
  • Component: javafx
  • Sub-Component: application-lifecycle
  • Affected Version: 9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2016-05-13
  • Updated: 2017-10-04
  • Resolved: 2016-05-21
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.
9 b120Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Sub Tasks
JDK-8175965 :  
After the Applet API is deprecated  the javafx.appliction.HostServices.getWebContext method needs to be deprecated as well, since it is only used when running a JavaFX application an applet in a browser.
I filed JDK-8157508 as a follow-up issue to track adding the (since = "9") property to the @Deprecated annotation (we cannot add it until we upgrade to a newer version of JDK 9 for compilation).

Changeset: b603693ce9c2 Author: kcr Date: 2016-05-21 07:06 -0700 URL: http://hg.openjdk.java.net/openjfx/9-dev/rt/rev/b603693ce9c2


Webrev: http://cr.openjdk.java.net/~kcr/8156963/webrev.00/ This adds the "@deprecated" javadoc tag and the "@Deprecated" annotation.