Compiling my instrumented sources fails with a 'code too large' error.
A single Java method cannot compile to more than 64KB of byte code. As Clover adds statements to record code coverage to every statement in your source file, a method which is close to this limit may exceed it when instrumented. The solutions at present are:
- As a work-around, split your method into two smaller ones. Or;
- Exclude the entire file using the <files> element of <clover-setup>.