Skip not decorator check for classes in boot loader (#8594)
This commit is contained in:
parent
a1b30aacda
commit
45fbf4b47b
|
@ -116,7 +116,9 @@ public final class InstrumentationModuleInstaller {
|
||||||
classLoaderMatcher,
|
classLoaderMatcher,
|
||||||
"Instrumentation class loader matcher unexpected exception: "
|
"Instrumentation class loader matcher unexpected exception: "
|
||||||
+ classLoaderMatcher))
|
+ classLoaderMatcher))
|
||||||
.and(NOT_DECORATOR_MATCHER)
|
.and(
|
||||||
|
(typeDescription, classLoader, module, classBeingRedefined, protectionDomain) ->
|
||||||
|
classLoader == null || NOT_DECORATOR_MATCHER.matches(typeDescription))
|
||||||
.and(muzzleMatcher)
|
.and(muzzleMatcher)
|
||||||
.transform(ConstantAdjuster.instance())
|
.transform(ConstantAdjuster.instance())
|
||||||
.transform(helperInjector);
|
.transform(helperInjector);
|
||||||
|
|
Loading…
Reference in New Issue