-
-
Notifications
You must be signed in to change notification settings - Fork 429
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
Support Java 21 #4161
Support Java 21 #4161
Conversation
Have you considered to use maven.compiler.release instead of source/target? |
@calle2010 Thanks. This seems reasonable. For core it allows to drop the definition of |
* Support Java 17 and 21, default compilation to Java 17 class files, use maven.compiler.release instead of source and target * Add profile "j21" to compile to Java 21 class files * Upgrade SAT to 0.16.0, adapt code which breaks build with new SAT checks * Use model-specific-profile to pin xtend to Java 17 Signed-off-by: Holger Friedrich <[email protected]>
71a04cc
to
52ab43f
Compare
@wborn Changes are now implemented as proposed. Now the PR is down to a few files. Thanks for directing me towards |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! 👍
openhab-core can now be compiled an run both on Java 17 and Java 21.
Refs: openhab/openhab-distro#1590