JDK-8129946 : JAXB tools - exporting generated java types
  • Type: Enhancement
  • Component: xml
  • Sub-Component: jaxb
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2015-06-26
  • Updated: 2017-01-03
  • Resolved: 2017-01-03
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
9Fixed
Related Reports
Cloners :  
Relates :  
Relates :  
Description
All the java types generated by JAX-B tools (xjc) must be exported in order to be accessible by JAX-B runtime. This has to be added to documentation (JSR / documentation of tools / javadoc) and if there is an easy solution, it would be good to modify tools in a way that those would generate module-info.java for client module using jaxb.
Comments
The document you are looking for is linked from the main project page (http://openjdk.java.net/projects/jigsaw/), look for "Initial draft JLS and JVMS changes".
10-10-2016

Implemented in JAXB standalone following module-info,java grammar as described on http://openjdk.java.net/projects/jigsaw/doc/lang-vm.html Unfortunately it looks like this grammar document is wrong, some lexical elements like '@' <version> are causing compilation errors. We need proper and up to date module info grammar definition from JDK team.
24-08-2016