https://bz.apache.org/bugzilla/show_bug.cgi?id=66552
Joerg Michelberger <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #1 from Joerg Michelberger <[email protected]> --- Created attachment 38539 --> https://bz.apache.org/bugzilla/attachment.cgi?id=38539&action=edit A project demonstrating the problem. Attachment contains a NetBeans demo project based on the project of Jan Lahoda (https://bz.apache.org/bugzilla/show_bug.cgi?id=54090). The issue appears in combination with junit test and Jacoco pre-instrumented class files put in the directory location beside the test class. The demo contains the class and a test. The preparation phase for test execution put the pre-instrumented class file in the directory scope of the test class, so ANT Depend task will pick it up in build/test/classes. The project is (manually) extended doing the Jacoco pre-instrumenting task by overwriting the -pre-init target in build.xml defining the taskdef for jacocoant and extending the -init-macrodef-junit-prototype-without-module and -init-macrodef-junit-prototype-with-module target with the jacoco:instrument phase in nbproject/build-impl.xml. Java source and target is set to JDK11, Compiler is JDK17. Download current https://search.maven.org/remotecontent?filepath=org/jacoco/jacoco/0.8.9/jacoco-0.8.9.zip and copy jacocoant.jar in the projects root. Execute Test and Test again to rise the bug. -- You are receiving this mail because: You are the assignee for the bug.
