ControlSystemStudio / cs-studio

Control System Studio is an Eclipse-based collections of tools to monitor and operate large scale control systems, such as the ones in the accelerator community.
https://controlsystemstudio.org/
Eclipse Public License 1.0
111 stars 96 forks source link

Fix build on the latest version of Java 11 #2720

Closed rjwills28 closed 1 year ago

rjwills28 commented 1 year ago

I noticed that CS-Studio no longer builds on the latest version of Java 11 used by the CI job (Java 11.0.19). I investigated and as of Java 11.0.17 the version of JaCoCo that we used for tests and code coverage is no longer supported. I updated the version of JaCoCo to 0.8.3, which officially supports Java 11. This led to a few issues with some of the tests, which I have fixed so that CS-Studio now builds successfully and all of the tests pass.

rjwills28 commented 1 year ago

Hi @kasemir & @shroffk - would you mind having a look at this PR to fix the CI build on the latest Java version of 11? Changes only involve the running of the tests.