File tree Expand file tree Collapse file tree 2 files changed +3
-7
lines changed
testing-common/integration-tests Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ dependencies {
88
99 testCompileOnly(project(" :instrumentation-api" ))
1010 testCompileOnly(project(" :javaagent-tooling" ))
11+ testCompileOnly(project(" :javaagent-bootstrap" ))
1112 testCompileOnly(project(" :javaagent-extension-api" ))
1213 testCompileOnly(project(" :muzzle" ))
1314
Original file line number Diff line number Diff line change 66import com.google.common.reflect.ClassPath
77import io.opentelemetry.instrumentation.test.AgentInstrumentationSpecification
88import io.opentelemetry.instrumentation.test.utils.ClasspathUtils
9- import io.opentelemetry.javaagent.tooling.Constants
9+ import io.opentelemetry.javaagent.bootstrap.BootstrapPackagePrefixesHolder
1010import org.slf4j.LoggerFactory
1111
1212import java.util.concurrent.TimeoutException
@@ -17,12 +17,7 @@ import java.util.concurrent.TimeoutException
1717class AgentInstrumentationSpecificationTest extends AgentInstrumentationSpecification {
1818 private static final ClassLoader BOOTSTRAP_CLASSLOADER = null
1919
20- /**
21- * Copy of {@link Constants#BOOTSTRAP_PACKAGE_PREFIXES} because the Constants class
22- * is not accessible from here
23- */
24- public static final List<String > BOOTSTRAP_PACKAGE_PREFIXES =
25- Arrays . asList(" io.opentelemetry.javaagent.bootstrap" , " io.opentelemetry.javaagent.shaded" )
20+ public static final List<String > BOOTSTRAP_PACKAGE_PREFIXES = BootstrapPackagePrefixesHolder . getBoostrapPackagePrefixes()
2621
2722 def " classpath setup" () {
2823 setup :
You can’t perform that action at this time.
0 commit comments