Hi Everyone , I m using Jacoco (Version : 0.7.9) for Code Coverage and Jmockit (Version :1.28) for Mocking purpose while running my unit test cases. But is see a peculiar exception when execute my test cases with this combination of Jacoco and Jmockit. Here is the Exception : "*java.lang.UnsupportedOperationException: class redefinition failed: attempted to change the schema (add/remove fields)".*
I have used jmockit for mocking in my unti testcases. I see this exception in only those test cases where Jmockit mocking being used. Other Test cases which does not use any jmockit mocking are going fine.Hence this is a issue between jmockit and jacoco. I was trying to solve this issue for long time. I tried changing maven surefire plugin version, and i saw that in this link "http://www.jacoco.org/jacoco/trunk/doc/changes.html" that this same issue has been solved in 0.7.3 .So i downgraded the version from 0.7.9 to 0.7.3 .But this also could not solve the issue . As per my understanding , there is a conflict when we use jacoco and jmockit simultaneously . So i want to know how to solve this issue and what is the solution for the conflict between jacoco and Jmockit. *can anyone help me on this ..Please..!! * Thank You -Praveen -- You received this message because you are subscribed to the Google Groups "JaCoCo and EclEmma Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jacoco+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/34fcf6f9-d663-458b-84e3-d71ff8a3891d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.