I cloned Jacoco to my local windows machine. I have Maven 3.3.9 and I'm using a JDK 1.8.
Running mvn clean install produces some errors that seem to imply the code has to be compiled with source level = 1.8. *** [ERROR] \jacoco\org.jacoco.core.test\src\org\jacoco\core\test\validation\java8\InterfaceDefaultMethodsT arget.java:[23,1] error: default methods are not supported in -source 1.5 [ERROR] \jacoco\org.jacoco.core.test\src\org\jacoco\core\test\validation\java8\LambdaExpressionsTarget. java:[26,10] error: lambda expressions are not supported in -source 1.5 [ERROR] \jacoco\org.jacoco.core.test\src\org\jacoco\core\test\validation\java8\LambdaInInterfaceTarget. java:[21,39] error: lambda expressions are not supported in -source 1.5 *** I then created a toolchains.xml file per here - http://eclemma.org/jacoco/trunk/doc/build.html - and this indeed works if I use the command line mvn clean install -Djdk.version=1.8 -Dbytecode.version=1.8 However, if I use any of the other versions (5,6,7) it does not work. Is this expected? -- 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/cc8d7460-4cfb-4c14-ad30-5c00f6acb2dc%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
