commit | 6c3ded30e516793d3bdfdead872ceb3700be8453 | [log] [tgz] |
---|---|---|
author | Pete Gillin <peteg@google.com> | Wed Jan 24 13:55:55 2018 +0000 |
committer | Pete Gillin <peteg@google.com> | Wed Jan 24 18:11:58 2018 +0000 |
tree | 90e5bca003a6d95e154221aeb2f94b4ca30b38ca | |
parent | 04f25e91a87fb5314e2e7ad979641dd453e43dda [diff] |
Further modify jacoco runtime to reduce deps on core libs. This changes it from eagerly creating an ExecutionDataStore to only eagerly creating a HashMap<Long, ExecutionData>, which was one of the two fields in ExecutionDataStore. This makes it possible to instrument 7 of the 10 previously blacklisted classes in java.util without creating a circular dependency at runtime. Bug: 64836607 Test: mvn clean install -Djdk.version=1.9 -Dbytecode.version=1.9 (in org.jacoco.build/) Test: `cts-tradefed run cts-dev -m CtsLibcoreTestCases --test-arg com.android.compatibility.testtype.LibcoreTest:coverage:true` on a build with EMMA_INSTRUMENT=true and EMMA_INSTRUMENT_FRAMEWORK=true Change-Id: I30dfeab8922b7d53f82fdab81020e4a7f0ef4e3e
JaCoCo is a free Java code coverage library distributed under the Eclipse Public License. Check the project homepage for downloads, documentation and feedback.
Please use our mailing list for questions regarding JaCoCo which are not already covered by the extensive documentation.