You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by re...@apache.org on 2021/03/08 22:13:59 UTC

[cxf] 04/05: CXF-8429: Illegal reflective access in XercesSchemaValidationUtils (added --add-opens java.xml/javax.xml.namespace=ALL-UNNAMED)

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

reta pushed a commit to branch 3.4.x-fixes
in repository https://gitbox.apache.org/repos/asf/cxf.git

commit 48a1fbacbbe998114ee36b5e45cb6ddc5651abd4
Author: reta <dr...@gmail.com>
AuthorDate: Sat Mar 6 22:33:38 2021 -0500

    CXF-8429: Illegal reflective access in XercesSchemaValidationUtils (added --add-opens java.xml/javax.xml.namespace=ALL-UNNAMED)
    
    (cherry picked from commit d11e76c8df1571bbb37d663e5d2aebf5c6b3c441)
---
 parent/pom.xml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/parent/pom.xml b/parent/pom.xml
index b137599..b2d7f07 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -2381,7 +2381,8 @@
             </activation>
             <properties>
                 <!-- EasyMock stills uses JDK Internal APIs: see please https://bugs.openjdk.java.net/browse/JDK-8255363 -->
-                <cxf.surefire.fork.vmargs>-ea --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED</cxf.surefire.fork.vmargs>
+                <!-- JAXB: see please https://github.com/javaee/jaxb-v2/issues/1184 -->
+                <cxf.surefire.fork.vmargs>-ea --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.xml/javax.xml.namespace=ALL-UNNAMED</cxf.surefire.fork.vmargs>
             </properties>
         </profile>
     </profiles>