> I have been seeking a way to remove assert statements from > source code > (... a copy of the source code, of course ...) so that I can compile > JVM1.1 compatible class files. The JDK1.4 compiler will only generate > JVM1.1 class files from source code without assert > statements, alas. So I've been thinking about how this might be done using > Ant.
Any reason why you have to do it on the source code? I once wrote something to remove assertions from the class files instead. It's a bit hacky, but you *might* be able to do something with it. It uses BCEL, IIRC. Jon -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>