r/javahelp • u/Mysterious-Trick-562 • Feb 23 '22
Bytecode editor?
I'm aware that class files are a binary format but I want to be able to edit class files and have the corresponding bytecode generated for me. So basically just open up a jar and edit a ClassFile and have the jar updated to match. Does such a tool exist?
0
Upvotes
1
u/ATE47 Intermediate Brewer Feb 23 '22
Usually we decompile the classes and we recompile them with the needed update. You have Fernflower as a CLI, but it’s also implemented in many IDE