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


Added by Tom Davies, last edited by Tom Davies on Sep 04, 2007

Labels:

Enter labels to add to this page:
Wait Image 
Looking for a label? Just start typing.
Clover 2.0 Beta 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.