I was trying to patch an application, but the application is required to exact same class size as the original one but editing class file with JByteMod, Recaf or whatsoever always changes the class file size. Is it possible to patch class file without changing its size? I have one older patch which I got from Internet & its have the exact same thing.
I was trying to patch the application by putting static byte array instead of the private static byte (to bypass some restriction).
How can I do this without changing the size of the class file? The jar file is required Java 9.0.4 to run & I have tried JBE bytecode deitor: http://set.ee/jbe/ but it was not able to open the class file.