Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-60388

Incorrect reporting of Kotlin not null assertion operator

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Minor Minor
    • jacoco-plugin
    • None

      Jacoco was modified to filter out changes from the not null assertion operator in 0.8.3

      https://github.com/jacoco/jacoco/pull/815

       

      When looking at the report generated by the jacoco gradle plugin, it shows 100% coverage even though the '!!' is never throwing an exception.

       

      With the plugin, the report shows missing coverage there, but when you drive to the source code it shows the lines in green.

      My guess is that this is caused by the plugin using jacoco 0.8.2.

          [JENKINS-60388] Incorrect reporting of Kotlin not null assertion operator

          centic added a comment -

          Latest versions of the plugin use JaCoCo 0.8.6, so hopefully this issue does not happen any more now.

          centic added a comment - Latest versions of the plugin use JaCoCo 0.8.6, so hopefully this issue does not happen any more now.

            ognjenb Ognjen Bubalo
            mkrussel Michael Krussel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: