Uploaded image for project: 'Clover'
  1. Clover
  2. CLOV-1478

Double instrumentation error when running 'mvn site' on JDK8

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 4.0.1
    • 3.2.0
    • Maven plugin
    • None
    • JDK 1.8, Maven 2.2.1, Clover 3.2 or abovesmv

      Run 'mvn clean site' on the src/it/setTestFailureIgnore project using the JDK8 and Maven 2.2.1. It fails with an error:

      [INFO] Processing files at 1.8 source level.
      [INFO] Instrumentation error
      com.atlassian.clover.api.CloverException: Double instrumentation detected: f:\Work\release\release-maven-clover2-plugin-hg\src\it\setTestFailureIgnore\target\clover\src-instrumented\com\atlassian\maven\plugin\clover\samples\setTestFailureIgnore\Simple.java appears to have already been instrumented by Clover.
      	at com.atlassian.clover.instr.java.CloverTokenStreamFilter.guardAgainstDoubleInstrumentation(CloverTokenStreamFilter.java:66)
      ...
      

      The same site goal works correctly under JDK7.

              mparfianowicz Marek Parfianowicz
              mparfianowicz Marek Parfianowicz
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: