Open l0rinc opened 5 years ago
This is probably an issue with JMH itself. Did you try to upgrade to the latest version?
You mean compile it from https://hg.openjdk.java.net/code-tools/jmh? No, used the version from the plugin.
No, I mean the plugin lets you choose the version of JMH to use.
Likely, yes.
https://docs.oracle.com/javase/specs/jvms/se11/html/jvms-4.html#jvms-4.2.1 also suggests it should accept spaces.
In Kotlin you can create method names with spaces - they're supported in JUnit already. E.g.
The bytecode will actually contain spaces, so it's possible the problem is actually in JMH generators, not your plugin:
The error I'm getting when using such a method is the following:
If the problem is indeed in JMH, could we provide a workaround from the plugin to e.g. add underlines to the method names before generation or something?
Thanks!