Avoid additional members in instrumented classes

Instead of remembering the probe array in a new member and delegating
the runtime access to a new method the runtime access is done via
companion class, which contains static field with probe array and which
is generated for every instrumented class and injected into their
ClassLoader, except classes from Bootstrap ClassLoader, for which
previous strategy is used.
5 files changed
tree: 22d9a02649a0feb8a1180dfe69c36a9163168cec
  1. jacoco/
  2. jacoco-maven-plugin/
  3. jacoco-maven-plugin.test/
  4. org.jacoco.agent/
  5. org.jacoco.agent.rt/
  6. org.jacoco.agent.rt.test/
  7. org.jacoco.agent.test/
  8. org.jacoco.ant/
  9. org.jacoco.ant.test/
  10. org.jacoco.build/
  11. org.jacoco.core/
  12. org.jacoco.core.test/
  13. org.jacoco.doc/
  14. org.jacoco.examples/
  15. org.jacoco.examples.test/
  16. org.jacoco.report/
  17. org.jacoco.report.test/
  18. org.jacoco.tests/
  19. .travis.yml
  20. LICENSE.md
  21. pom.xml
  22. README.md
README.md

JaCoCo Java Code Coverage Library

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.