Merge pull request #1108 from DataDog/dougqh/dont-load-jasper-advice

Eliminate class expression to Advice class
This commit is contained in:
Douglas Q Hawkins 2019-11-22 10:58:20 -05:00 committed by GitHub
commit ce1d6b8460
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -42,7 +42,8 @@ public final class JasperJSPCompilationContextInstrumentation extends Instrument
public Map<? extends ElementMatcher<? super MethodDescription>, String> transformers() {
return singletonMap(
named("compile").and(takesArguments(0)).and(isPublic()),
JasperJspCompilationContext.class.getName());
JasperJSPCompilationContextInstrumentation.class.getName()
+ "$JasperJspCompilationContext");
}
public static class JasperJspCompilationContext {