Summary: | JaCoCo 0.8.4 and Java 11 Agent Conflict | ||
---|---|---|---|
Product: | [Tools] AspectJ | Reporter: | Matthew Pearsall <mjp91> |
Component: | LTWeaving | Assignee: | aspectj inbox <aspectj-inbox> |
Status: | NEW --- | QA Contact: | |
Severity: | major | ||
Priority: | P3 | CC: | Alexander, bkalas, pyvesdev |
Version: | 1.9.4 | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: |
Description
Matthew Pearsall
2019-07-20 07:55:16 EDT
Can confirm, facing the same problem with Java 11, JaCoCo 0.8.5 and AspectJ 1.9.5. Confirming same problem , jacoco > 0.8.3 , JDK11, aspectJ >=1.9.5 we are getting error java.lang.ClassFormatError: Method "$jacocoData" in class xxx has illegal signature "Ljava/lang/Object;" This is not enough to reproduce the problem. There is no actual application code, no aspects, no LTW configuration, no JaCoCo configuration and "..." instead of includes and excludes. Please either upload a full sample Maven project here or publish one on GitHub. If I just use the POM in an empty project, there is no build error. Andy, please close this with target 1.9.7. I answered the question here: https://github.com/eclipse/org.aspectj/issues/68 Sample project, both reproducing and solving the problem: https://github.com/kriegaex/AJ_LTWJacocoWeavingProblem_549438 |