Skip to content

Commit

Permalink
Use proper exception type in documentation (bazelbuild#557)
Browse files Browse the repository at this point in the history
As the outermost exception seen by the user is actually
NoClassDefFoundError the FAQ entry should also mention this type.
  • Loading branch information
marchof authored and Godin committed Jul 18, 2017
1 parent 31575a3 commit 86856fe
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion org.jacoco.doc/docroot/doc/faq.html
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,9 @@ <h3>Does JaCoCo run on the IBM JRE J9 and WebSphere?</h3>
<code>-Xshareclasses:none</code>.
</p>

<h3>Why do I get an error "<code>ClassNotFoundException: org.jacoco.agent[...]Offline</code>"?</h3>
<h3>Why do I get a <code>NoClassDefFoundError</code> or
<code>ClassNotFoundException</code> for class
<code>org.jacoco.agent[...]Offline</code>?</h3>
<p>
If you use <a href="offline.html">offline instrumentation</a> the instrumented
classes get a direct dependency on the JaCoCo runtime. Therefore
Expand Down

0 comments on commit 86856fe

Please sign in to comment.