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

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


The following commit(s) were added to refs/heads/master by this push:
     new 7762dea  [test] Fix test execution issue with JDK17 (#14099)
7762dea is described below

commit 7762dea5e8f52fcf8c5e2c77a5ecbbec62c8543f
Author: Nicolò Boschi <[email protected]>
AuthorDate: Fri Feb 4 09:21:59 2022 +0100

    [test] Fix test execution issue with JDK17 (#14099)
    
    * add --add-opens java.base/java.lang=ALL-UNNAMED option
---
 pom.xml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 9fa8434..caed665 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1885,7 +1885,10 @@ flexible messaging model and an intuitive client 
API.</description>
         <!-- see https://github.com/apache/pulsar/issues/8445 -->
         
<maven.compiler.release>${maven.compiler.target}</maven.compiler.release>
         <!-- required for running tests on JDK11+ -->
-        <test.additional.args> --add-opens 
java.base/jdk.internal.loader=ALL-UNNAMED </test.additional.args>
+        <test.additional.args>
+          --add-opens java.base/jdk.internal.loader=ALL-UNNAMED
+          --add-opens java.base/java.lang=ALL-UNNAMED <!--Mockito-->
+        </test.additional.args>
       </properties>
       <build>
         <pluginManagement>

Reply via email to