Task 'jmhRunBytecodeGenerator' does not clean output
lennartfricke opened this issue · comments
lennartfricke commented
Describe the bug
When benchmark method names change, "jmhCompileGeneratedClasses" fails because of stale class files.
It seems that the "jmhRunBytecodeGenerator" task does not clean its output.
To Reproduce
- Create simple jmh benchmark in jmh sourceSet
- run
gradle jmhCompileGeneratedClasses
- change benachmark method name
- run
gradle jmhCompileGeneratedClasses
again - observe compilation failures
Found with version 0.6.5, possible related #132