Update to Java 17

Description

Aim of this status: Epic is to discuss and group all the tasks needed to migrate from Java11 to Java17 (LTS)

This will allow to adopt:

→ dcm4che 5.31.2
→ Spring Framework 6.x
→ Spring Boot 3.x
→ Tomcat 10 / Jetty 11 (for Jakarta EE 9 compatibility)

Open Hospital compatibility matrix status: TESTING...

O.S.

O.S. arch

DICOM

SMS (gsm)

Webcam

Ubuntu 22.10

64bit

status: OK

status: NOT TESTED

status: OK

Windows 10/11

64bit

status: OK*

status: OK **

status: OK

Ubuntu 22.10

32bit

status: NOT TESTED

status: NOT TESTED

status: NOT TESTED

Windows 10/11

32bit

status: OK *

status: OK **

status: OK

 

* since Java16 it needs -XX:+IgnoreUnrecognizedVMOptions --add-opens=java.desktop/javax.imageio.stream=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED in order to render in the GUI [source] to check again after https://openhospital.atlassian.net/browse/OP-1164

** needs https://openhospital.atlassian.net/browse/OP-1160

 

Afterwards, to address in other issues:

Environment

None
100% Done
Loading...

Activity

Show:

Alessandro Domanico January 25, 2024 at 10:20 PM

All PRs merged into develop branch except https://github.com/informatici/openhospital/pull/207 that is waiting on a “release” branch as for now.

Thanks and everyone for the effort!

Alessandro Domanico December 7, 2023 at 12:07 AM
Edited

Did a whole review with some testing (see matrix in the description) and commits pushed directly in the PRs.

Needs to be tested on Linux with Java32/64.

Comments left on the PRs.

Alessandro Domanico December 3, 2023 at 10:09 PM
Edited

Changes to the code in a separated issue https://openhospital.atlassian.net/browse/OP-1157

Done

Details

Assignee

Reporter

Labels

Components

Fix versions

Original estimate

Time tracking

1d 2h logged2w remaining

Priority

Epic Name

Created December 20, 2022 at 10:24 PM
Updated September 19, 2024 at 10:08 AM
Resolved January 25, 2024 at 10:19 PM