Graham Weatherup wrote:I am very interested to know if you found the code malcolmmc mentioned that writes the header to the beginning of the file or could point me to where it would be on the old sun site he speaks of. Or can anyone else tell me how this is done.
Deepak Bala wrote:
run binary-bytecode...
![]()
Assembly you mean ? Here are some links that can clarify the matter for you
Campbell Ritchie wrote:
As Rob has already told us, if you can execute the bytecode you can decompile it. So it is not possible to prevent decompilation.Mehmet Gunacti wrote:. . . an option (parameter maybe ?) that would prevent decompilation ?
the compiler substitutes a.DOG.sound with Animals.DOG.sound as it considers DOG as a static object belonging to the Animals class. So, the JVM would not be able to see a.DOG.sound. Hence, a being null is immaterial in this case and the NullPointerException would not be thrown.