Update to Java 25 🚀#3544
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #3544 +/- ##
=============================================
- Coverage 60.60% 60.58% -0.02%
Complexity 105 105
=============================================
Files 3496 3496
Lines 153207 153262 +55
Branches 11691 11694 +3
=============================================
- Hits 92837 92832 -5
- Misses 56884 56942 +58
- Partials 3486 3488 +2 🚀 New features to boost your workflow:
|
|
HI @da-Kai 👍 please look at my Considerations: Java 25 Compiler WarningsAfter testing this update, I noticed that Java 25's compiler is significantly stricter than Java 21, generating a large number of
Option A (Recommended):
Option B:
Option C (Not Recommended):
Related Issues: The Medium article "https://medium.com/@maahisoft20/i-banned-java-lambdas-in-2025-after-one-production-incident-c68daaaaf135" describes a similar scenario where unclear lambda intent caused a production bug. While our warnings are false positives, marking unused parameters explicitly prevents similar confusion. What's your preference @da-Kai @sfeilmeier? Happy to implement Option A if approved. References:
|
@Sn0w3y: I would start with merging this PR and then fix the warnings in follow-up PRs. There is still the question open, when to merge this PR. We were thinking to merge it e.g. just after |
We would also prefer to wait a bit. Releasing |
Lets update to the latest LTS version Java 25, released on 16th September 2025 (https://en.wikipedia.org/wiki/Java_version_history#Release_table).
If you happen to receive a Eclipse warning bnd has '25' while Eclipse has '21' please update your IDE settings: https://bnd.bndtools.org/chapters/910-warnings.html
We recommend using JDK 25 from the Eclipse Temurin project: https://adoptium.net/de/temurin/releases?version=25
If you need a compatible Java 25 JRE or JDK for
ARM32, we are providing prebuilt Debian packages:[Note] these are compatible with debian jessie and newer