RFR: 7902878: JCov loses module hashes
Leonid Kuskov
lkuskov at openjdk.java.net
Sat Apr 17 01:17:56 UTC 2021
This is the fix for https://bugs.openjdk.java.net/browse/CODETOOLS-7902878
JREInstr writes empty ModuleHashes attribute into java.base/module-info that cause
a failure of the check of unavailability of qualified exports to upgradeable modules.
The fix removes ModuleHashes attribute from java.base/module-info which isn't needed
for an instrumented JDK.(File: JREInstr.java)
Also the update contains minor code cleanup found during fixing.
-------------
Commit messages:
- 7902878: JCov loses module hashes
Changes: https://git.openjdk.java.net/jcov/pull/14/files
Webrev: https://webrevs.openjdk.java.net/?repo=jcov&pr=14&range=00
Issue: https://bugs.openjdk.java.net/browse/CODETOOLS-7902878
Stats: 281 lines in 8 files changed: 60 ins; 141 del; 80 mod
Patch: https://git.openjdk.java.net/jcov/pull/14.diff
Fetch: git fetch https://git.openjdk.java.net/jcov pull/14/head:pull/14
PR: https://git.openjdk.java.net/jcov/pull/14
More information about the jcov-dev
mailing list