You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by lh...@apache.org on 2025/05/08 17:37:30 UTC

(pulsar) branch master updated: [improve][build] Suppress JVM class sharing warning when running tests (#24278)

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 59c9a732796 [improve][build] Suppress JVM class sharing warning when running tests (#24278)
59c9a732796 is described below

commit 59c9a732796873a55c2972fff1a6c49a2084a780
Author: Lari Hotari <lh...@users.noreply.github.com>
AuthorDate: Thu May 8 20:37:24 2025 +0300

    [improve][build] Suppress JVM class sharing warning when running tests (#24278)
---
 pom.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/pom.xml b/pom.xml
index 10c6740d92b..b7f8d9da070 100644
--- a/pom.xml
+++ b/pom.xml
@@ -115,6 +115,7 @@ flexible messaging model and an intuitive client API.</description>
       --add-opens jdk.management/com.sun.management.internal=ALL-UNNAMED <!--MBeanStatsGenerator-->
       --add-opens java.base/jdk.internal.platform=ALL-UNNAMED <!--LinuxInfoUtils-->
       -XX:+EnableDynamicAgentLoading <!-- byte-buddy-agent and mockito-core agent dynamic loading -->
+      -Xshare:off <!-- suppress sharing warning -->
       ${test.additional.args.jdk24}
     </test.additional.args>
     <test.additional.args.jdk24></test.additional.args.jdk24>