RFR: 7903842: Negative coverage in report for records

Alexandre Iline shurailine at openjdk.org
Wed Oct 16 20:59:21 UTC 2024


On Mon, 7 Oct 2024 20:10:03 GMT, Leonid Kuskov <lkuskov at openjdk.org> wrote:

> The Javap report had several issues marked in the picture below, which have been fixed:
> ![defectReport](https://github.com/user-attachments/assets/b8de7fc9-c59b-41f9-8300-700a1e24b533)
> The expected report is:
> ![fixedReport](https://github.com/user-attachments/assets/e7aa1ef4-3bed-46d8-80eb-a6e2c87a6da2)

Can you please add a test similar to one added by https://bugs.openjdk.org/browse/CODETOOLS-7903867?

Please note that the regular report is also showing negative coverage, not only the javap report. 

Does this fix addresses both reports? Is the root cause the same for the two reports or different?

If you will integrate this, you will need to open another bug for the regular report.

-------------

PR Comment: https://git.openjdk.org/jcov/pull/48#issuecomment-2417944661
PR Comment: https://git.openjdk.org/jcov/pull/48#issuecomment-2417948043


More information about the jcov-dev mailing list