RFR: 7903240: Unable to gather JCov coverage for JCK19 vs JDK19/20
Alexandre Iline
shurailine at openjdk.org
Mon Aug 8 19:46:22 UTC 2022
On Fri, 5 Aug 2022 22:35:44 GMT, Leonid Kuskov <lkuskov at openjdk.org> wrote:
> This is the fix for https://bugs.openjdk.org/browse/CODETOOLS-7903240
src/classes/com/sun/tdk/jcov/runtime/CollectDetect.java line 162:
> 160: public static void hit(int slot, int hash, int fullHash) {
> 161: if (isVMReady()) {
> 162: Thread t = Thread.currentThread();
Perhaps implement an enhancement later to save into on what coverage is lost because of VM not been ready.
-------------
PR: https://git.openjdk.org/jcov/pull/20
More information about the jcov-dev
mailing list