I searched a bit through Google to find out how to install it, but I'm not sure if I did it correctly... I downloaded org.objectweb.asm_2.2.2, put it in my ...\eclipse_kepler\dropins folder, restarted my Eclipse with the -clean option. I was able to find the org.objectweb.asm_3.3.1.v201105211655.jar in my plugins folder, which I added to my classpath, the addition of which removed a compile error in the CoreTutorial file (the one that invokes Instrumenter).
When I try to run the example though, either normally or through Code Coverage,I get the following exceptions :
Exception in thread "main" java.lang.IncompatibleClassChangeError: class org.jacoco.core.internal.flow.ClassProbesVisitor has interface org.objectweb.asm.ClassVisitor as super class
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at org.jacoco.examples.CoreTutorial.execute(CoreTutorial.java:115)
at org.jacoco.examples.CoreTutorial.main(CoreTutorial.java:196)
I am using Kepler Service release 2 (x86)
Version: 4.3.2.v20140221-1852
Build id: M20140221-1700
OS : Windows 8.1 Enterprise, 64-bit
Thanks in advance for your help and I'll be ready to provide any other information that could help. Good day!
Arnaud