Compare loader hashes
MODIFY
dd-java-agent/agent-tooling/src/main/java/datadog/trace/agent/tooling/bytebuddy/DDCachingPoolStrategy.java
dd-java-agent/agent-tooling/src/main/java/datadog/trace/agent/tooling/bytebuddy/DDCachingPoolStrategy.java
@@ -156,7 +156,7 @@ public class DDCachingPoolStrategy implements PoolStrategy {
final TypeCacheKey that = (TypeCacheKey) obj;
- if (hashCode != that.hashCode) {
+ if (loaderHash != that.loaderHash) {
return false;
}

Compare loader hashes