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

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

commit 40474b57768d82dadfb604558a9f009bf6c41bbb
Author: Lari Hotari <lhot...@users.noreply.github.com>
AuthorDate: Thu May 8 20:37:24 2025 +0300

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

diff --git a/pom.xml b/pom.xml
index b9eb987062b..e7634573025 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>

Reply via email to