Skip to content

Commit de920b4

Browse files
committed
Relocate embedded jpountz classes to avoid conflict with flat class-path when using GraalVM native-images
1 parent bec85d9 commit de920b4

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

dd-java-agent/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,9 @@ ext.generalShadowJarConfig = {
4848

4949
// Prevents conflict with other SLF4J instances. Important for premain.
5050
relocate 'org.slf4j', 'datadog.slf4j'
51-
// Prevents conflict with other JCTools instances
51+
// Prevent conflicts with flat class-path when using GraalVM native-images
5252
relocate 'org.jctools', 'datadog.jctools'
53+
relocate 'net.jpountz', 'datadog.jpountz'
5354
// rewrite dependencies calling Logger.getLogger
5455
relocate 'java.util.logging.Logger', 'datadog.trace.bootstrap.PatchLogger'
5556

0 commit comments

Comments
 (0)