Remove reference check from TypeCacheKey
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
@@ -154,10 +154,6 @@ public class DDCachingPoolStrategy implements PoolStrategy {
return false;
}
- if (this == obj) {
- return true;
- }
-
final TypeCacheKey that = (TypeCacheKey) obj;
if (hashCode != that.hashCode) {

Remove reference check from TypeCacheKey