Skip to content

Commit

Permalink
Explicitly allow dynamic agent loading
Browse files Browse the repository at this point in the history
  • Loading branch information
ascopes committed Jun 23, 2024
1 parent 7018996 commit a63771c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -135,11 +135,17 @@
<checkstyle.version>10.17.0</checkstyle.version>
<maven-surefire-junit5-tree-reporter.version>1.2.1</maven-surefire-junit5-tree-reporter.version>

<!-- Other stuff -->
<!--
- Force bytebuddy experimental support for some exotic platforms.
- Enable trace logs for our code for diagnostics.
- Enable the loading of dynamic agents to remove warnings about ByteBuddy loading
itself at runtime which now are raised as of Java 22.
-->
<argLine>
-Xshare:off
-Dnet.bytebuddy.experimental=true
-Dorg.slf4j.simpleLogger.log.io.github.ascopes=TRACE
-XX:+EnableDynamicAgentLoading
</argLine>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
Expand Down

0 comments on commit a63771c

Please sign in to comment.