Details
-
Bug
-
Resolution: Done
-
Critical
-
None
-
None
Description
JAXP redirection does not succeed on Java 8u161 or embedded scenarios, because it relies on the __redirected classes being globally visible due to the usage of system properties. However, the __redirected package is not visible from the JDK itself, nor other user-defined class loaders.
An alternative approach would be to intercept attempts to load classes from __redirected, as well as attempts to load service files for JAXP services. This allows every module to respect the environment default, and also allows embedded systems to continue to function.
Attachments
Issue Links
- causes
-
WFMP-94 The execute-commands goal fails on openjdk version "1.8.0_161"
- Resolved
-
JBEAP-15757 [GSS](7.2.z) MODULES-339 caused classloading issue when application packages JAXP implementation
- Closed
- is incorporated by
-
JBEAP-15434 [GSS](7.1.z) JAXP redirection fails on 8u161, also in embedded scenarios
- Closed