JDK-8080502 : Update JAXB and JAX-WS to work with resource encapsulation
  • Type: Enhancement
  • Component: xml
  • Sub-Component: jaxb
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2015-05-15
  • Updated: 2016-01-06
  • Resolved: 2015-06-02
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
9 b68Fixed
Related Reports
Relates :  
Relates :  
Description
In Jigsaw, then ClassLoader.getResource* and Class.getResource* methods cannot be be used to get to resources in named modules. Class.getResourceAsStream will of course allow code in a module to open a stream to resources in its own module.

From that reason, some parts in JAX-B/JAX-WS code had to be updated. Method Class::getResourceAsStream() is used instead and code using URL has been removed/adjusted.