![]() |
|
[Java] Editing java class file - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118) +---- Thread: [Java] Editing java class file (/showthread.php?tid=5844438) |
Editing java class file - john1992 - Jun 4, 2018 I was trying to patch some class file inside a jar file. I used Krakatau to disassemble & reassemble the class file & after editing the files, the size of those files is changed though the content is same. Can anyone please tell me why this happen? I need the patch file without changing the file size. So curious how can I do that. File link - www7. zippyshare.com/v/diNNVsTz/file.html RE: Editing java class file - HFDone - Jun 4, 2018 you cant unless you change string with same string size. if you add code you add bytes to compile. RE: Editing java class file - john1992 - Jun 4, 2018 I have changed the code with same bytes, one of the three files was retained the same size along with the same code while disassembling it with "javap -c" but other two shows different values in disassembling. Please take a look at the files in the link. Link - www7. zippyshare.com/v/diNNVsTz/file.html I really need these files. Please help me.. |