-
Bug
-
Resolution: Won't Fix
-
Medium
-
2.3.2
-
None
-
1
-
Severity 2 - Major
The attached example works if one is instrumenting using the Eclipse Clover plugin.
However, it failed when building the project with Ant. The example of the build error:
build: [javac] Compiling 1 source file to <path>/workspace/TestProject/build [clover] Clover Version 2.3.2, built on July 15 2008 (build-732) [clover] Loaded from: <path>/clover-ant-2.3.2/lib/clover.jar [clover] Creating new database at '<path>/workspace/TestProject/.clover/clover2_3_2.db'. [clover] Processing files at 1.6 source level. [clover] Clover all over. Instrumented 1 file (1 package). [javac] /tmp/clover21186.tmp/CloverConstInitTest.java:17: variable l_lStart might not have been initialized [javac] __CLR2_3_200fmewemkh.R.E[10]++;System.out.println("l_lStart is definitely initialized here..., diff is " + (l_lEnd - l_lStart) + " ms"); [javac] ^ [javac] 1 error BUILD FAILED <path>/workspace/TestProject/build.xml:22: Compile failed; see the compiler error output for details.
[CLOV-355] Compilation error with Clover for ANT but Eclipse Clover plugin does not
Resolution | New: Won't Fix [ 2 ] | |
Status | Original: Open [ 1 ] | New: Closed [ 6 ] |
Assignee | Original: Marek Parfianowicz [ mparfianowicz ] |
Symptom Severity | New: Major [ 14431 ] |
Workflow | Original: New Clover Workflow [ 898218 ] | New: New Clover Workflow - Restricted [ 1474534 ] |
Workflow | Original: Clover Workflow [ 896573 ] | New: New Clover Workflow [ 898218 ] |
Workflow | Original: reviewflow [ 147033 ] | New: Clover Workflow [ 896573 ] |
Fix Version/s | New: long term roadmap [ 54394 ] | |
Fix Version/s | Original: 4.2.x [ 26216 ] |
Rank | New: Ranked higher |
Assignee | Original: Nick [ npellow ] | New: Marek Parfianowicz [ mparfianowicz ] |
Fix Version/s | New: 3.1.10 [ 26216 ] | |
Fix Version/s | Original: someday [ 23593 ] |