Add thread utils to bootstrap so instumentations could use them
MODIFY
dd-java-agent/agent-bootstrap/agent-bootstrap.gradle
dd-java-agent/agent-bootstrap/agent-bootstrap.gradle
@@ -11,6 +11,7 @@ minimumInstructionCoverage = 0.0
dependencies {
compile project(':dd-trace-api')
+ compile project(':utils:thread-utils')
compile deps.opentracing
compile deps.slf4j
compile group: 'org.slf4j', name: 'slf4j-simple', version: versions.slf4j

MODIFY
dd-java-agent/agent-tooling/src/main/java/datadog/trace/agent/tooling/Constants.java
dd-java-agent/agent-tooling/src/main/java/datadog/trace/agent/tooling/Constants.java
@@ -14,6 +14,7 @@ public final class Constants {
* datadog.trace.agent.test.SpockRunner#BOOTSTRAP_PACKAGE_PREFIXES_COPY
*/
public static final String[] BOOTSTRAP_PACKAGE_PREFIXES = {
+ "datadog.common.exec",
"datadog.slf4j",
"datadog.trace.api",
"datadog.trace.bootstrap",
@@ -24,6 +25,7 @@ public final class Constants {
// This is used in IntegrationTestUtils.java
public static final String[] AGENT_PACKAGE_PREFIXES = {
+ "datadog.common.exec",
"datadog.trace.common",
"datadog.trace.agent",
"datadog.trace.instrumentation",

MODIFY
dd-java-agent/testing/src/main/groovy/datadog/trace/agent/test/SpockRunner.java
dd-java-agent/testing/src/main/groovy/datadog/trace/agent/test/SpockRunner.java
@@ -32,6 +32,7 @@ public class SpockRunner extends Sputnik {
* references bootstrap classes (e.g. DatadogClassLoader).
*/
public static final String[] BOOTSTRAP_PACKAGE_PREFIXES_COPY = {
+ "datadog.common.exec",
"datadog.slf4j",
"datadog.trace.api",
"datadog.trace.bootstrap",

Add thread utils to bootstrap so instumentations could use them