jcov seems to become ignoring static methods in interfaces

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • jcov_3.0
    • Affects Version/s: None
    • Component/s: tools
    • None
    • b07
    • b08

      It seems that some of the recent changes removed the coverage for static methods in interfaces like

      package java.util.function;

      @FunctionalInterface
      public interface IntUnaryOperator {
          static IntUnaryOperator identity() {
              return t -> t;
          }
      }

      The test code calling such method seems to be now ignored by JCov

      Please see the screenshot of JCov report

            Assignee:
            Leonid Kuskov
            Reporter:
            Dmitry Bessonov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: