You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Benchmark classes should not be final.
[org.apache.jmeter.testelement.property.PropertyGetBenchmarkKotlin]
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':src:core:jmhRunBytecodeGenerator'.
> Process 'command '/.../java/17.0.7-librca/bin/java'' finished with non-zero exit value 1
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
* Get more help at https://help.gradle.org
Of course, the output does include "Benchmark classes should not be final", however it was not that obvious.
It would be much better if "what went wrong" highlighted the true error rather than "non-zero exit code".
To Reproduce
Generate a benchmark within a final class.
JMH wants benchmark classes to be non-final, so it fails the compilation.
The failure reason should have compilation errors or something like that.
The text was updated successfully, but these errors were encountered:
Describe the bug
Sample output:
Of course, the output does include "Benchmark classes should not be final", however it was not that obvious.
It would be much better if "what went wrong" highlighted the true error rather than "non-zero exit code".
To Reproduce
Generate a benchmark within a
final
class.JMH wants benchmark classes to be non-final, so it fails the compilation.
The failure reason should have compilation errors or something like that.
The text was updated successfully, but these errors were encountered: