observesport / lince-plus

Lince plus
https://observesport.github.io/lince-plus/
GNU General Public License v3.0
7 stars 1 forks source link

Update JDK #29

Closed albertoSoto closed 1 year ago

albertoSoto commented 1 year ago

We currently include JDK8 but we should move forward to the latest JDK LTS. This concept will need refactoring due to removal of JavaFX libraries

albertoSoto commented 1 year ago

The update fails due to an Spring boot incompatibility. Updating to JDK17 is hard, due to removal of JavaFX and it has been migrated to OpenFX There is a problem right now that needs to be written down. When Spring module start it contains org.springframework.cglib.core.CodeGenerationException: java.lang.reflect.InaccessibleObjectException

This is documented here:

To solve it, we need to update Spring boot dependencies to latest and is an issue for ARM machines

More over it affects the junit testing and needs to be migrated from junit4 to junit5

https://www.baeldung.com/junit-5-migration https://stackoverflow.com/questions/12403497/maven-error-package-org-junit-does-not-exist

Migration to junit5 can be done with https://www.baeldung.com/junit-5-migration

albertoSoto commented 1 year ago

Done!