Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Java11 compatibility and Spring 5 updates #7186

Merged
merged 19 commits into from
Aug 16, 2023
Merged

Java11 compatibility and Spring 5 updates #7186

merged 19 commits into from
Aug 16, 2023

Conversation

fxprunayre
Copy link
Member

Contains #6276 with library updates (Spring, Hibernate).
Address some security vulnerabilities reported by Trivy tool.

To be discussed:

pmauduit and others added 8 commits June 26, 2023 09:31
This was a first try to address the following:
#4668

Tested so far:

Compilation OK using both jdk 11 & 8 available for debian sid
Tests: failure with jdk11, OK with jdk8

Runtime: Ok with a very basic usage on JRE11. Webapp was able to
bootstrap, loading default schemas + samples MD, browsing the admin UI
interface ...

Skimming the wiki page:
https://github.com/geonetwork/core-geonetwork/wiki/Java-11-Compatibility

it seems that the leg work will be to actually clean up the classloader
from the different dependencies being in several versions in the
classpath, but as a first shot, it sounds mainly OK.
testing both versions, one with extra "/" or without.
Does not work yet, I'd like to find some german dates which could be
parsed using the java.time API.
* keeping the jdk8 test when runtime is compatible
* deactivating the other one when jdk11

tests: ok on both jdk8 and 11.
@fxprunayre fxprunayre added this to the 4.4.0 milestone Jun 26, 2023
@josegar74 josegar74 requested a review from juanluisrp July 13, 2023 12:30
@sonarqubecloud
Copy link

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 3 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

idea Catch issues before they fail your Quality Gate with our IDE extension sonarlint SonarLint

@fxprunayre fxprunayre merged commit 93b22a2 into main Aug 16, 2023
@fxprunayre fxprunayre deleted the lib-spring5java11 branch August 18, 2023 07:12
@fxprunayre fxprunayre mentioned this pull request Aug 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants