Merge pull request #1305 from DataDog/landerson/fix-ignores-for-google

Fix ignores for com.google.inject
This commit is contained in:
Laplie Anderson 2020-03-10 11:54:48 -04:00 committed by GitHub
commit ad818a1da4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -234,7 +234,8 @@ public class AdditionalLibraryIgnoresMatcher<T extends TypeDescription>
if (name.startsWith("com.google.inject.")) {
// We instrument Runnable there
if (name.startsWith("com.google.inject.internal.AbstractBindingProcessor$")
|| name.startsWith("com.google.inject.internal.BytecodeGen$")) {
|| name.startsWith("com.google.inject.internal.BytecodeGen$")
|| name.startsWith("com.google.inject.internal.cglib.core.internal.$LoadingCache$")) {
return false;
}
return true;