Skip to content

Commit

Permalink
Fix debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
Mgazul committed Jan 26, 2025
1 parent b54ca76 commit 056c38c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ private void checkMethodTypes(Method method) throws TypeNotPresentException {

public void tryDefineClass(String internalName) {
if (!internalName.startsWith(PREFIX)) {
return;
throw new NoClassDefFoundError(internalName);
}
ClassWriter writer = new ClassWriter(0);
writer.visit(Opcodes.V1_8, Opcodes.ACC_PUBLIC | Opcodes.ACC_DEPRECATED, internalName, null, "java/lang/Object", new String[]{});
Expand Down

0 comments on commit 056c38c

Please sign in to comment.