Skip to content

Add JDK25 generating Java21 bytecode#5290

Merged
kaikreuzer merged 1 commit into
openhab:mainfrom
holgerfriedrich:pr-second-build-job
Jan 23, 2026
Merged

Add JDK25 generating Java21 bytecode#5290
kaikreuzer merged 1 commit into
openhab:mainfrom
holgerfriedrich:pr-second-build-job

Conversation

@holgerfriedrich

Copy link
Copy Markdown
Member

This will add a second build job, using a Java 25 compiler (and ecj set to 24, as we don't have a working ecj with Java 25 support yet).
Target byte code is still set to Java 21.
So this is basically just validating that our code works with latest ecj.

Depends on #5279

@holgerfriedrich holgerfriedrich requested a review from a team as a code owner January 20, 2026 17:52
@kaikreuzer kaikreuzer removed the awaiting other PR Depends on another PR label Jan 23, 2026
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
@holgerfriedrich

Copy link
Copy Markdown
Member Author

seems to work after rebase

@kaikreuzer

Copy link
Copy Markdown
Member

Hooray. 😄

@kaikreuzer kaikreuzer merged commit 1b77da1 into openhab:main Jan 23, 2026
5 checks passed
@kaikreuzer kaikreuzer added this to the 5.2 milestone Jan 23, 2026
@holgerfriedrich

Copy link
Copy Markdown
Member Author

Thanks, @kaikreuzer, for merging all the PRs today. I think core is in good shape now. Progress in #5256 is good.
Java25 is still far, especially as Karaf 4.4 does not run in JDK 25. But our code base seems to work with ecj/Java24 (latest ecj was skipped due to isses, will have to wait another 2 months for next one to get Java25 in). Good for now.
🎉

@holgerfriedrich holgerfriedrich mentioned this pull request Jan 24, 2026
14 tasks
@holgerfriedrich holgerfriedrich deleted the pr-second-build-job branch January 24, 2026 08:12
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.

2 participants