Working around muzzle quirk
Muzzle doesn't like creation of SecureClassLoader-s, so switching to a URLClassLoader for my placeholder loader in tests
MODIFY
dd-java-agent/agent-tooling/src/test/groovy/datadog/trace/agent/tooling/CacheProviderTest.groovy
dd-java-agent/agent-tooling/src/test/groovy/datadog/trace/agent/tooling/CacheProviderTest.groovy
@@ -200,7 +200,7 @@ class CacheProviderTest extends DDSpecification {
}
static newClassLoader() {
- return new SecureClassLoader(null) {}
+ return new URLClassLoader([] as URL[], (ClassLoader)null);
}
static newLocator() {

Working around muzzle quirk

Muzzle doesn't like creation of SecureClassLoader-s, so switching to a URLClassLoader for my placeholder loader in tests