Switch to max JDK allowed to improve vulnerability scores #262
+2
−2
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Each of these GeoServer versions runs on 2 JDK versions. By switching the (internal to Docker) JDK version to the most recent of the 2, allows us to improve vulnerability scores.
For 2.28: runs on 17, 21 -> 21
For 2.27: runs on 11, 17 -> 17
e.g. for 2.28, Docker Scout reports 1 less High Severity and 14 less Medium Severity by switching from jdk17 to 21