JDK-8195804 : Remove unused qualified export of sun.net.www from java.base to javafx.web
  • Type: Bug
  • Component: javafx
  • Sub-Component: web
  • Affected Version: 9,10,openjfx11
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2018-01-19
  • Updated: 2018-06-13
  • Resolved: 2018-01-31
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.
Other
openjfx11Fixed
Related Reports
Blocks :  
Description
We add the following qualified exports from java.base to javafx.web, in the dependencies/java.base/module-info.java.extra file:

exports sun.net.www to javafx.web;

A grep of the javafx.web sources (including native) shows that this package is unused. This qualified export line should be removed.
Comments
Changeset: db96238aa863 Author: mbilla Date: 2018-01-31 17:03 +0530 URL: http://hg.openjdk.java.net/openjfx/jfx-dev/rt/rev/db96238aa863
31-01-2018

+1
31-01-2018

lgtm
31-01-2018

Looks good. Note that when you rebase your patch onto the latest tip of jfx-dev you will find that the copyright year has already been updated for build.gradle. +1
30-01-2018

webrev: http://cr.openjdk.java.net/~mbilla/8195804/webrev.00/ Tested this changeset as per instructions mentioned in JDK-8195798. There were few intermittent failures while running gradle --continue -PFULL_TEST=true test , which are unrelated to this issue.
30-01-2018

The qualified export needs to be removed from dependencies/java.base/module-info.java.extra and build.gradle. See the "REMOVING QUALIFIED EXPORTS" comment in JDK-8195798 for instructions.
23-01-2018