Skip to content

Commit 3918efa

Browse files
lhotarisrinath-ctds
authored andcommitted
[improve][build] Suppress JVM class sharing warning when running tests (apache#24278)
(cherry picked from commit 59c9a73) (cherry picked from commit 40474b5)
1 parent 40e6372 commit 3918efa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ flexible messaging model and an intuitive client API.</description>
115115
--add-opens jdk.management/com.sun.management.internal=ALL-UNNAMED <!--MBeanStatsGenerator-->
116116
--add-opens java.base/jdk.internal.platform=ALL-UNNAMED <!--LinuxInfoUtils-->
117117
-XX:+EnableDynamicAgentLoading <!-- byte-buddy-agent and mockito-core agent dynamic loading -->
118+
-Xshare:off <!-- suppress sharing warning -->
118119
${test.additional.args.jdk24}
119120
</test.additional.args>
120121
<test.additional.args.jdk24></test.additional.args.jdk24>

0 commit comments

Comments
 (0)