Patching class file in J2ME jar
date published : June 06, 2009 read time : 2 minsI decided to write this as I wasted 3 hrs yesterday night, patching a class file in the J2ME jar file.
The prime things I missed are the pre-verification and pre-sync steps. These need to be done after you compile any J2ME java files. So please note this point before patching any J2ME jar.
And for those who are curious about what I was patching, I patched a casino app so that it returns at least 1x bet even if you lose.