Vantiq / vantiq-extension-sources

Contains source code for VANTIQ Extension sources as well as SDKs for building these sources.
Other
13 stars 6 forks source link

Upgrade code & environment for JDK 17. But not using it yet. #510

Closed fhcarter closed 2 months ago

fhcarter commented 3 months ago

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.

fhcarter commented 3 months ago

Jenkins run (clean)

fhcarter commented 3 months ago

(Changes tested using Javas 11 & 17. 17 required for a separate upgrade (to be commenced soon))