Bootstrap prefixes need to be in *3* places
MODIFY
dd-java-agent/instrumentation/jboss-classloading/src/test/groovy/JBossClassloadingTest.groovy
dd-java-agent/instrumentation/jboss-classloading/src/test/groovy/JBossClassloadingTest.groovy
import datadog.trace.agent.test.AgentTestRunner
+import datadog.trace.agent.tooling.Constants
class JBossClassloadingTest extends AgentTestRunner {
def "delegation property set on module load"() {
@@ -6,6 +7,6 @@ class JBossClassloadingTest extends AgentTestRunner {
org.jboss.modules.Module.getName()
expect:
- System.getProperty("jboss.modules.system.pkgs") == "datadog.slf4j,datadog.trace.api,datadog.trace.bootstrap,datadog.trace.context,io.opentracing"
+ assert Arrays.asList(System.getProperty("jboss.modules.system.pkgs").split(",")).containsAll(Constants.BOOTSTRAP_PACKAGE_PREFIXES)
}
}

Bootstrap prefixes need to be in *3* places