jmxterm
jmxterm copied to clipboard
Fix tests for Java 17+
Hello,
I have not able to run mvn clean install with Java 21. The issue was due to unit tests failing. I fixed it by:
- updating jmock, Java 11 support was added in 2.10.0,
- removing jmock-legacy which used cglib by jmock-imposters which uses byte-buddy,
- specify latest version of byte-buddy for Java 11+ support.
So now jmxterm can be built using Java 21, but running it still fails when listing JVM (due to other issues).
Best, nyg