jcov seems to start ignoring methods called via reflection

XMLWordPrintable

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

      Spotted that some methods of class java.awt.print.Book that are called by the tests with help of reflection

          method = Book.class.getMethod("getPageFormat", new Class[]{int.class});

      lost JCov coverage.

      A sample HTML report screenshot attached.
      Also attached screenshots showing the general change of state for the class java.awt.print.Book

        1. Screenshot 2020-10-07 at 20.42.51.png
          52 kB
          Dmitry Bessonov
        2. Screenshot 2020-10-07 at 20.43.29.png
          36 kB
          Dmitry Bessonov
        3. Screenshot 2020-10-07 at 20.43.41.png
          36 kB
          Dmitry Bessonov

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

              Created:
              Updated:
              Resolved: