Eliminate class expression to Advice class

Changing Jasper instrumentation to not load the advice class.
This class was missed originally because it doesn't end in Advice.
This commit is contained in:
dougqh 2019-11-21 20:26:06 -05:00
parent e681a4704e
commit be9743b86b
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 {