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:

  1. As a work-around, split your method into two smaller ones. Or;
  2. Exclude the entire file using the <files> element of <clover-setup>.
最終更新日: 2008 年 12 月 4 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.