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

Clover fails to find coverage snapshot files when IBM JRE is used

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • 3.1.8
    • 3.1.7
    • Instrumentation
    • None

      Problem: it seems that IBM JRE implementation differs from Oracle JRE in such way that Object.hashCode() can return a negative value. As a consequence, file name suffix generated for coverage snapshot and test slice snapshot may be composed not only of '0-9a-z_' characters, but also have minus "-" sign in it.

      As a result such file name does not match regular expression used for searching of coverage files and coverage is not read.

      Workaround: rename coverage snapshot file(s) and remove "-" character.

            [CLOV-1151] Clover fails to find coverage snapshot files when IBM JRE is used

            There are no comments yet on this issue.

              mparfianowicz Marek Parfianowicz
              mparfianowicz Marek Parfianowicz
              Affected customers:
              0 This affects my team
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - 4h
                  4h
                  Remaining:
                  Remaining Estimate - 4h
                  4h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified