Skip to content

Commit

Permalink
remove debug info
Browse files Browse the repository at this point in the history
  • Loading branch information
yoloyyh committed Sep 26, 2024
1 parent b5f9348 commit 6371497
Showing 1 changed file with 1 addition and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -953,14 +953,7 @@ public byte[] transform(ClassLoader loader, String className, Class<?> classBein
methodMap
);

classReader.accept(classVisitor, ClassReader.EXPAND_FRAMES);

if (classType.getClassName().equals("java.lang.ProcessImpl")) {
String path = "/tmp/ProcessImpl.class";
FileOutputStream fos = new FileOutputStream(path);
fos.write(classWriter.toByteArray());
fos.close();
}
classReader.accept(classVisitor, ClassReader.EXPAND_FRAMES);

return classWriter.toByteArray();
}
Expand Down

0 comments on commit 6371497

Please sign in to comment.