In prep for some other work to be done soon, upgrade things to run with JDK 17. This is mostly changes to use of the Java security manager (which is now deprecated) that we were using in tests. Replaced with try-finally & a so-called ExitProcessor that allows us to through exceptions rather than exit (useful in testing). This is a test-only change.
Upgraded/changed Lombok plugin since the one in use is in maintenance-only mode and doesn't support Java 17.
Upgrade source to JDK 17 level without warnings.
In prep for some other work to be done soon, upgrade things to run with JDK 17. This is mostly changes to use of the Java security manager (which is now deprecated) that we were using in tests. Replaced with try-finally & a so-called
ExitProcessor
that allows us to through exceptions rather than exit (useful in testing). This is a test-only change.Upgraded/changed Lombok plugin since the one in use is in maintenance-only mode and doesn't support Java 17.
Other minor tweaks.