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/01/28 23:27:52 UTC

[cxf] 01/02: CXF-8407: Incorporate changes caused by JEP-396 integration into JDK-16+ (part 1)

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 a812ec74d109a6aa68d40ea6584fe1d2098adb30
Author: reta <dr...@gmail.com>
AuthorDate: Thu Jan 28 15:33:48 2021 -0500

    CXF-8407: Incorporate changes caused by JEP-396 integration into JDK-16+ (part 1)
    
    (cherry picked from commit efc5d35498f582335821cc6a2b750df935295f14)
    
    # Conflicts:
    #	parent/pom.xml
---
 core/pom.xml                 |  5 +++++
 parent/pom.xml               | 10 ++++++++++
 rt/databinding/aegis/pom.xml |  5 +++++
 3 files changed, 20 insertions(+)

diff --git a/core/pom.xml b/core/pom.xml
index d31e853..07b5728 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -209,6 +209,11 @@
             <groupId>jakarta.xml.bind</groupId>
             <artifactId>jakarta.xml.bind-api</artifactId>
         </dependency>
+        <dependency>
+            <groupId>xerces</groupId>
+            <artifactId>xercesImpl</artifactId>
+            <scope>test</scope>
+        </dependency>
     </dependencies>
     <build>
         <plugins>
diff --git a/parent/pom.xml b/parent/pom.xml
index 5eb9ee1..0c2a2c2 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -2374,5 +2374,15 @@
                 </plugins>
             </build>
         </profile>
+        <profile>
+            <id>jdk16</id>
+            <activation>
+                <jdk>[16,)</jdk>
+            </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.concurrent=ALL-UNNAMED --add-opens java.base/java.net=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED</cxf.surefire.fork.vmargs>
+            </properties>
+        </profile>
     </profiles>
 </project>
diff --git a/rt/databinding/aegis/pom.xml b/rt/databinding/aegis/pom.xml
index 507ecce..73cc6f7 100644
--- a/rt/databinding/aegis/pom.xml
+++ b/rt/databinding/aegis/pom.xml
@@ -133,6 +133,11 @@
             <artifactId>easymock</artifactId>
             <scope>test</scope>
         </dependency>
+        <dependency>
+            <groupId>xerces</groupId>
+            <artifactId>xercesImpl</artifactId>
+            <scope>test</scope>
+        </dependency>
     </dependencies>
     <build>
         <plugins>