[Image] [Image] Software maintenance - But is it legal? * Recover lost source Well, that depends. Of code. That may sound course you can do whatever a bit gratuite, but I you like with your own know of more than a .class files. But other few cases where Mocha .class files are legally saved someone's day protected. Unfortunately after they typed "del the relevant laws vary *.java" when they from country to country, meant "del *.class". but here is a summary of their intent: * Restructure messy code. Mocha's output You are allowed to often has better decompile .class files, as structure than the long as you have not original source code. accepted a license agreement that explicitly * Debug libraries/APIs forbids reverse for which no adequate engineering or documentation (and no decompilation. Nowadays it source) is available. is practically standard to The next version of include a clause to that Mocha will offer even effect in software license better support for agreements. this. You are allowed to use * Translate BASIC, Ada, tricks or algorithms that Scheme etc. into you have thus learned in Java, by first software that you write compiling, then yourself, unless those decompiling. algorithms are protected by a software patent. Leaning - You are not allowed to * You instantly have a slightly modify the [Image] plethora of examples program and then publish of basic and advanced it as if it were your own. uses of library That would be a violation classes. of copyrights. * Learn how to do spectacular graphics, nify networking, and other tricks of the trade from applets written by pro's. Security - * Check and possibly tighten the security managers shipped with browsers before installing them company-wide. * Check for existence of code that is (or tries to be) malicious, especially when moving code from the (relatively secure) applet environment to a standalone application. * Verify the code produced by the compiler in critical systems. Ok, that's a bit farfetched today, but it might not be tomorrow.