Hi,
I'm currently using a web development framework that compiles source code on-the-fly, to Java bytecode (the Play! framework). To integrate cobertura test coverage into the testing process, I need to instrument the generated bytecode via a Java call to cobertura's libraries.
I have acheived this using the net.sourceforge.cobertura.instrument.ClassInstrumenter class. However, this class is not public. By making it public via the attached patch, and re-building the cobertura jar, all is fine, and my java classes can be compiled, instrumented and tested on the fly.
Would you consider this patch for inclusion in Cobertura? If there are any feeling that this class should remain private, I would be very open to discuss alternatives.
Regards,
Jonathan Clarke