JDK-8134153 : Re-examine supportedness com.sun.tools.internal.ws APIs
  • Type: Enhancement
  • Component: xml
  • Sub-Component: jax-ws
  • Affected Version: 9
  • Priority: P4
  • Status: Closed
  • Resolution: Won't Fix
  • Submitted: 2015-08-21
  • Updated: 2018-04-27
  • Resolved: 2018-04-27
Related Reports
Relates :  
Description
Currently JDK jigsaw build makes inaccessible API allowing to run wsgen and wsimport tools from Java code:
- com.sun.tools.internal.ws.WsGen
- com.sun.tools.internal.ws.WsImport

We believe they should be made accessible or other means to run these tools from Java code should be made accessible. 
Comments
The Java EE modules have been removed form the JDK There are no plans to address this issue
27-04-2018

Not block issue, reducing priority and deferring it.
14-11-2017

Suggested solution is to add exported entry points to jdk.xml.ws directly to avoid explicit module loading.
18-10-2016

tck-red-9 label has been removed.
18-10-2016

Yes Mandy, you are right. I hope [~grakov] will agree too.
18-10-2016

Removing the label 'conformance' too.
18-10-2016

In any case -XaddExports was added to jck4jdk templates (jck 9 b40) - under JCK-7306701 jck.env.devtools.refExecute.otherOpts=-Xss1m -Xms32m -Xmx256m -addmods jdk.xml.ws,jdk.xml.bind,java.se.ee -XaddExports\:jdk.xml.bind/com.sun.tools.internal.xjc\=ALL-UNNAMED -XaddExports\:jdk.xml.bind/com.sun.tools.internal.jxc\=ALL-UNNAMED -XaddExports\:jdk.xml.ws/com.sun.tools.internal.ws\=ALL-UNNAMED jck.env.devtools.testExecute.otherOpts=-Xss2m -Xms32m -Xmx1024m -addmods jdk.xml.ws,jdk.xml.bind,java.se.ee -XaddExports\:jdk.xml.bind/com.sun.tools.internal.xjc\=ALL-UNNAMED -XaddExports\:jdk.xml.bind/com.sun.tools.internal.jxc\=ALL-UNNAMED -XaddExports\:jdk.xml.ws/com.sun.tools.internal.ws\=ALL-UNNAMED
29-06-2016

-addmods and -XaddExports are JDK-specific supported options. Note that the CLI options are being re-examined and may be changed (JDK-8152218). com.sun.tools.internal.ws is an internal API. The supported way is to launch the tool as a separate process which you may concern with the performance overhead.
14-06-2016

Fix Version of 9 had mistakenly been set by JCK team. This field has been cleared.
14-06-2016

Removing Fix version to avoid any possible confusion.
14-06-2016

Mandy and Shihua, can you think of any due date for this issue? Or -addmods -XaddExports for the relevant modules are going to stay forever?
08-06-2016

Since this is for launching JDK tools, one RFE we have been talking about is to have javax.tool.ToolProvider to provide API to launch any tool from service providers.
24-08-2015