Resolve Java 21 FTBFS
This MR fixes: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1053069
Changes:
- disabled failing test.
net.openhft.chronicle.threads.Threads.withThreadGroup/setThreadGroup
is not used anywhere in the library and are scheduled for the removal by upstream. They rely on Thread.group private field which is no longer modifiable (is it is implemented as final holder.group field).
Alternative:
- remove methods via patch along with the test. In this case we might break someone's code who is using Java < 21.
Testing:
- build in sid chroot
- build in sid chroot with default Java 21.