From 86856fef9959d90acdddc9d15c7b3c5f587fe086 Mon Sep 17 00:00:00 2001
From: "Marc R. Hoffmann"
Date: Tue, 18 Jul 2017 22:55:38 +0200
Subject: [PATCH] Use proper exception type in documentation (#557)
As the outermost exception seen by the user is actually
NoClassDefFoundError the FAQ entry should also mention this type.
---
org.jacoco.doc/docroot/doc/faq.html | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/org.jacoco.doc/docroot/doc/faq.html b/org.jacoco.doc/docroot/doc/faq.html
index 5c5275ab3..a1e2e2f9c 100644
--- a/org.jacoco.doc/docroot/doc/faq.html
+++ b/org.jacoco.doc/docroot/doc/faq.html
@@ -141,7 +141,9 @@ Does JaCoCo run on the IBM JRE J9 and WebSphere?
-Xshareclasses:none
.
-Why do I get an error "ClassNotFoundException: org.jacoco.agent[...]Offline
"?
+Why do I get a NoClassDefFoundError
or
+ ClassNotFoundException
for class
+ org.jacoco.agent[...]Offline
?
If you use offline instrumentation the instrumented
classes get a direct dependency on the JaCoCo runtime. Therefore