jmxterm icon indicating copy to clipboard operation
jmxterm copied to clipboard

Fix tests for Java 17+

Open nyg opened this issue 5 months ago • 2 comments

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:

  1. updating jmock, Java 11 support was added in 2.10.0,
  2. removing jmock-legacy which used cglib by jmock-imposters which uses byte-buddy,
  3. 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

nyg avatar Feb 02 '24 23:02 nyg