Description
Clover will fall over if there are double semicolons on imports.
The error looks like:
[INFO] Clover free edition. [INFO] Updating existing database at '/Users/ehiggs/src/hadoop/hadoop-common-project/hadoop-common/target/clover/clover.db'. [INFO] Processing files at 1.8 source level. [INFO] /Users/ehiggs/src/hadoop/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/io/TestIOUtils.java:43:1:expecting EOF, found 'import' [INFO] Instrumentation error com.atlassian.clover.api.CloverException: /Users/ehiggs/src/hadoop/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/io/TestIOUtils.java:43:1:expecting EOF, found 'import'
Thankfully we only have one location with this:
$ find . -name \*.java -exec grep '^import .*;;' {} + ./hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/io/TestIOUtils.java:import org.apache.commons.io.FileUtils;;
Attachments
Attachments
Issue Links
- is broken by
-
HADOOP-14788 Credentials readTokenStorageFile to stop wrapping IOEs in IOEs
- Resolved