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

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

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

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