What do I need to do to control whether my classes compiled with a JavaCompiler will include debug information or not?
I’m thinking it has something to do with the getTask()-method’s options parameter, but I can’t find any references on whether that assumption is correct to start with, and if so, what is the correct way to control that?
Maybe you could search further in the “options” argument of the getTask() method, which allows to pass options to the compiler; in your case it would be some “-g:none” option as detailed in http://java.sun.com/javase/6/docs/technotes/tools/windows/javac.html#options