JDK-8153082 : Update XSLT compiler to generate classes that invoke addReads
  • Type: Enhancement
  • Component: xml
  • Sub-Component: jaxp
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2016-03-30
  • Updated: 2016-07-28
  • Resolved: 2016-07-26
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 b129Fixed
Related Reports
Relates :  
Description
Translet are generated as a modules but are using the JDK-internal API to make them loose so that they read all unnamed modules. We should change code generate to generate an initializer so that loading the translet class will invoke java.lang.reflect.Module addReads to read the unnamed modules of types references by the code. This will allow us to remove the dependency on the internal API.
Comments
If we can get a reference to the the types in the unnamed modules in the translet constructor then it can be done this way. It would be good to explore that.
18-07-2016