Ignore apache xml tools
MODIFY
dd-java-agent/agent-tooling/src/main/java/datadog/trace/agent/tooling/bytebuddy/matcher/AdditionalLibraryIgnoresMatcher.java
dd-java-agent/agent-tooling/src/main/java/datadog/trace/agent/tooling/bytebuddy/matcher/AdditionalLibraryIgnoresMatcher.java
@@ -66,6 +66,20 @@ public class AdditionalLibraryIgnoresMatcher<T extends TypeDescription>
return true;
}
+ // xml-apis, xerces, xalan
+ if (name.startsWith("javax.xml.")
+ || name.startsWith("org.apache.bcel.")
+ || name.startsWith("org.apache.html.")
+ || name.startsWith("org.apache.regexp.")
+ || name.startsWith("org.apache.wml.")
+ || name.startsWith("org.apache.xalan.")
+ || name.startsWith("org.apache.xerces.")
+ || name.startsWith("org.apache.xml.")
+ || name.startsWith("org.apache.xpath.")
+ || name.startsWith("org.xml.")) {
+ return true;
+ }
+
// Dynamic proxy classes we should not touch
if (name.startsWith("org.springframework.core.$Proxy")) {
return true;

Ignore apache xml tools