-
Bug
-
Resolution: Won't Fix
-
Low
-
2.6.3
-
None
-
Clover 2.6.3 for Ant
Java 1.6.0_20
Linux
-
Severity 3 - Minor
-
- Error(s) occurred and the instrumentation process can't continue.
[18:15:19]: [javac] com.cenqua.clover.CloverException: /path/to/my/test/src/some/package/MyTest.java:21:1:expecting EOF, found 'import'
- Error(s) occurred and the instrumentation process can't continue.
It turns out that one of the import statements had an extra semi-colon, for example:
import java.util.Collections;;
^
I had not noticed this because javac accepted it and the test executed/passed locally without error. However, Clover's instrumentation crashed and failed on the build server.
[CLOV-963] Instrumentation failed when import statement has extra semicolon (works under javac)
Resolution | New: Won't Fix [ 2 ] | |
Status | Original: Open [ 1 ] | New: Closed [ 6 ] |
Assignee | Original: Marek Parfianowicz [ mparfianowicz ] |
Symptom Severity | New: Minor [ 14432 ] |
Workflow | Original: New Clover Workflow [ 898145 ] | New: New Clover Workflow - Restricted [ 1475114 ] |
Workflow | Original: Clover Workflow [ 896468 ] | New: New Clover Workflow [ 898145 ] |
Workflow | Original: reviewflow [ 221084 ] | New: Clover Workflow [ 896468 ] |
Fix Version/s | New: long term roadmap [ 54394 ] | |
Fix Version/s | Original: 4.3.x [ 29907 ] |
Fix Version/s | New: 3.2.xx [ 29907 ] | |
Fix Version/s | Original: 3.2.5 [ 29104 ] |
Instrumentation fails for fixes as attached. We'll have a look at this bug after upgrading ANTLR to 4.x (see
CLOV-1258)