RFR: 7904057: com/sun/tdk/jcov/report/RecordContainerTest.java test is failing

Alexandre Iline shurailine at openjdk.org
Mon Aug 11 14:30:34 UTC 2025


On Mon, 4 Aug 2025 21:51:56 GMT, Leonid Kuskov <lkuskov at openjdk.org> wrote:

> [CODETOOLS-7904057](https://bugs.openjdk.org/browse/CODETOOLS-7904057): com/sun/tdk/jcov/report/RecordContainerTest.java test is failing

src/classes/com/sun/tdk/jcov/report/LineCoverage.java line 151:

> 149:             if (!wasHit && isHit) {
> 150:                 ++covered;
> 151:             } else if (wasHit && !isHit) {

I presume this may change the numbers for line coverage all around. Can you recommend any additional testing to the JCov users, such as myself, to make sure the reports are still valid. Or is this such a corner case so that we, the users of JCov, should not worry?

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

PR Review Comment: https://git.openjdk.org/jcov/pull/65#discussion_r2266953730


More information about the jcov-dev mailing list