You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ra...@apache.org on 2019/03/20 13:21:34 UTC

[sling-org-apache-sling-xss] branch master updated: SLING-8321 - The XSSFilterImpl component cannot start on IBM's J9 JVM

This is an automated email from the ASF dual-hosted git repository.

radu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-xss.git


The following commit(s) were added to refs/heads/master by this push:
     new c93fa84  SLING-8321 - The XSSFilterImpl component cannot start on IBM's J9 JVM
c93fa84 is described below

commit c93fa841f5db735867dce4e180a8d38fac946e27
Author: Radu Cotescu <ra...@apache.org>
AuthorDate: Wed Mar 20 14:18:58 2019 +0100

    SLING-8321 - The XSSFilterImpl component cannot start on IBM's J9 JVM
    
    * embedded xml-apis 1.4.01, since it's anyways a dependency of the
    already embedded antisamy module; this makes sure that the
    org.w3c.dom.ElementTraversal class is part of the bundle, rather
    than relying on what the JVM provides, given that the class was only
    added to the JRE starting from Java 9
---
 pom.xml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index c58d4a2..cce4771 100644
--- a/pom.xml
+++ b/pom.xml
@@ -112,7 +112,8 @@
                         <Embed-Dependency>
                             antisamy;inline=true,
                             esapi;inline=true,
-                            encoder;inline=true
+                            encoder;inline=true,
+                            xml-apis;inline=true
                         </Embed-Dependency>
                     </instructions>
                 </configuration>