On Friday, June 21, 2019 at 5:53:39 PM UTC+2, Marc R. Hoffmann wrote: > > Not sure what role Eclipse IDE plays here. > > Please compare the classpath used when run on command vs when launched > from Eclipse (select properties on the process object in the Debug view and > you will see the full command line created by Eclipse). I assume some > subtil differences like different JAR versions or ordering. >
And here is another hint: Your stacktrace claims that method "redefineMethods" of mockit/internal/startup/Startup.java is at line 159 : java.lang.UnsupportedOperationException: class redefinition failed: > attempted to change the class NestHost or NestMembers attribute > at > java.instrument/sun.instrument.InstrumentationImpl.redefineClasses0(Native > Method) > at > java.instrument/sun.instrument.InstrumentationImpl.redefineClasses(InstrumentationImpl.java:193) > at > mockit.internal.startup.Startup.redefineMethods(Startup.java:159) which is not the case for sources of JMockit 1.46 - http://repo1.maven.org/maven2/org/jmockit/jmockit/1.46/jmockit-1.46-sources.jar the latest version where this was the case is 1.41 - http://repo1.maven.org/maven2/org/jmockit/jmockit/1.41/jmockit-1.41-sources.jar whereas https://github.com/jmockit/jmockit1/issues/534 was resolved in 1.43. -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/bbb74f21-f3f6-4bf1-8405-53f37e393ff7%40googlegroups.com.
