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
2 files changed
tree: 90e5bca003a6d95e154221aeb2f94b4ca30b38ca
  1. .github/
  2. .travis/
  3. jacoco/
  4. jacoco-maven-plugin/
  5. jacoco-maven-plugin.test/
  6. org.jacoco.agent/
  7. org.jacoco.agent.rt/
  8. org.jacoco.agent.rt.test/
  9. org.jacoco.agent.test/
  10. org.jacoco.ant/
  11. org.jacoco.ant.test/
  12. org.jacoco.build/
  13. org.jacoco.cli/
  14. org.jacoco.cli.test/
  15. org.jacoco.core/
  16. org.jacoco.core.test/
  17. org.jacoco.doc/
  18. org.jacoco.examples/
  19. org.jacoco.examples.test/
  20. org.jacoco.report/
  21. org.jacoco.report.test/
  22. org.jacoco.tests/
  23. .appveyor.yml
  24. .gitignore
  25. .travis.sh
  26. .travis.yml
  27. Android.bp
  28. Android.mk
  29. config.mk
  30. LICENSE.md
  31. MODULE_LICENSE_EPL
  32. NOTICE
  33. pom.xml
  34. README.android
  35. README.md
  36. README.version
README.md

JaCoCo Java Code Coverage Library

Build Status Build status Maven Central

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.

Note: We do not answer general questions in the project's issue tracker. Please use our mailing list for this.