RFR: 7902535: Code coverage does not work in JDK 8 [v2]

Leonid Kuskov lkuskov at openjdk.java.net
Wed Jul 15 03:30:51 UTC 2020


> This is the fix for https://bugs.openjdk.java.net/browse/CODETOOLS-7902535
> 
> In JDK 8 Collect.hit method is called prior to the Collect class initialization.
> This causes cyclic throwing NPE.
> Also added cosmetic fix to RepGen to avoid double report about internal failures

Leonid Kuskov has refreshed the contents of this pull request, and previous commits have been removed. The incremental
views will show differences compared to the previous content of the PR. The pull request contains one new commit since
the last revision:

  7902535: Code coverage does not work in JDK 8

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

Changes:
  - all: https://git.openjdk.java.net/jcov/pull/1/files
  - new: https://git.openjdk.java.net/jcov/pull/1/files/e45c306d..8d7c7261

Webrevs:
 - full: https://webrevs.openjdk.java.net/jcov/1/webrev.01
 - incr: https://webrevs.openjdk.java.net/jcov/1/webrev.00-01

  Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
  Patch: https://git.openjdk.java.net/jcov/pull/1.diff
  Fetch: git fetch https://git.openjdk.java.net/jcov pull/1/head:pull/1

PR: https://git.openjdk.java.net/jcov/pull/1


More information about the jcov-dev mailing list