Compiling my instrumented sources fails with a 'code too large' error.


Added by Edwin Dawson [Atlassian], last edited by Edwin Dawson [Atlassian] on Jan 10, 2008

Labels:

Enter labels to add to this page:
Wait Image 
Looking for a label? Just start typing.
Clover 2.0 Documentation

Index

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. As a work-around you can split your method into two smaller ones.