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/03 20:39:58 UTC

[cxf] branch master updated: Temporary workaround for EasyMock caused by JEP-396 intergation into JDK-16+

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

reta pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cxf.git


The following commit(s) were added to refs/heads/master by this push:
     new e0dbc85  Temporary workaround for EasyMock caused by JEP-396 intergation into JDK-16+
e0dbc85 is described below

commit e0dbc85b5b3383c48fecb97ac11608d7b8c82cc5
Author: reta <dr...@gmail.com>
AuthorDate: Sun Jan 3 15:39:35 2021 -0500

    Temporary workaround for EasyMock caused by JEP-396 intergation into JDK-16+
---
 parent/pom.xml | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/parent/pom.xml b/parent/pom.xml
index 7f5edc4..db473df 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -2376,5 +2376,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</cxf.surefire.fork.vmargs>
+            </properties>
+        </profile>
     </profiles>
 </project>