JDK-8176741 : Eliminate dependency on XMLStreamWriterImpl::setOutput and reset internal methods
  • Type: Bug
  • Component: xml
  • Sub-Component: jax-ws
  • Affected Version: 9
  • Priority: P2
  • Status: Closed
  • Resolution: Not an Issue
  • Submitted: 2017-03-14
  • Updated: 2017-06-19
  • Resolved: 2017-06-19
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
9Resolved
Related Reports
Relates :  
Description
java.xml.ws depends on the internal class in java.xml module, specifically com.sun.xml.internal.stream.writers.XMLStreamWriterImpl class.

This qualified export from java.xml to java.xml.ws should be removed as java.xml.ws is upgradeable:

// reflection access from com.sun.xml.internal.ws.api.streaming.XMLStreamWriterFactory
   exports com.sun.xml.internal.stream.writers to java.xml.ws;
Comments
JDK-8176508 has been resolved and the qualified exports has been removed. http://hg.openjdk.java.net/jdk9/dev/jaxp/rev/736412a8dcce http://hg.openjdk.java.net/jdk9/dev/jdk/rev/4fbcae493269 Close this as not an issue.
19-06-2017

The fix for this issue is covered by the fix for JDK-8176508 [1]. [1] http://mail.openjdk.java.net/pipermail/core-libs-dev/2017-June/048051.html
15-06-2017

[~rgrigoriadi] is this being fixed in the upcoming update? I reopen it since java.xml still opens this package for java.xml.ws to use. You can close this bug when this issue is resolved in JDK 9. // reflection access from com.sun.xml.internal.ws.api.streaming.XMLStreamWriterFactory exports com.sun.xml.internal.stream.writers to java.xml.ws;
30-05-2017