RFR: 7902535: Code coverage does not work in JDK 8

Leonid Kuskov lkuskov at openjdk.java.net
Wed Jul 15 02:48:19 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

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

Commit messages:
 - 7902535: Code coverage does not work in JDK 8

Changes: https://git.openjdk.java.net/jcov/pull/1/files
 Webrev: https://webrevs.openjdk.java.net/jcov/1/webrev.00
  Issue: https://bugs.openjdk.java.net/browse/CODETOOLS-7902535
  Stats: 293 lines in 6 files changed: 76 ins; 120 del; 97 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