We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fe45f7 commit ff8be9aCopy full SHA for ff8be9a
1 file changed
byte-buddy-dep/src/main/java/net/bytebuddy/dynamic/loading/ClassInjector.java
@@ -1189,7 +1189,7 @@ protected static Initializable make() throws Exception {
1189
.noNestMate()
1190
.visit(new MemberRemoval().stripInvokables(any()))
1191
.make()
1192
- .load(AccessibleObject.class.getClassLoader(), ClassLoadingStrategy.Default.WRAPPER)
+ .load(AccessibleObject.class.getClassLoader(), ClassLoadingStrategy.Default.WRAPPER.with(AccessibleObject.class.getProtectionDomain()))
1193
.getLoaded()
1194
.getDeclaredField("override");
1195
}
0 commit comments