Skip to content

Commit d67c7f3

Browse files
committed
Include 'jdk.reflect' package in default ignore matcher.
1 parent b2ae24f commit d67c7f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

byte-buddy-dep/src/main/java/net/bytebuddy/agent/builder/AgentBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9220,7 +9220,7 @@ public Default(ByteBuddy byteBuddy) {
92209220
new RawMatcher.ForElementMatchers(any(), isBootstrapClassLoader().or(isExtensionClassLoader())),
92219221
new RawMatcher.ForElementMatchers(nameStartsWith("net.bytebuddy.")
92229222
.and(not(ElementMatchers.nameStartsWith(NamingStrategy.SuffixingRandom.BYTE_BUDDY_RENAME_PACKAGE + ".")))
9223-
.or(nameStartsWith("sun.reflect."))
9223+
.or(nameStartsWith("sun.reflect.").or(nameStartsWith("jdk.reflect.")))
92249224
.<TypeDescription>or(isSynthetic()))),
92259225
Collections.<Transformation>emptyList());
92269226
}

0 commit comments

Comments
 (0)