Hello everyone,

we saw the release on a new Java LTS version in September, so it is high time we discuss its adoption.

As it currently stands (odlparent-13.0.10), we are targeting Java 17 and do not execute SFT when running with Java 21.

That will change with karaf-4.4.5, slated for odlparent-13.0.11, in that we do execute SFT with Java 21 and expect it to pass.a

Targeting maven.compiler.release=21 does not work, but that will be fixed in karaf-4.4.6. That is the only blocker I know of to have both YANG Tools and MD-SAL build passing when targeting Java 21.

From development environment perspective:
- Fedora 40 is expected to ship Java 21
- Ubuntu 2020.04 and 2022.04 both can support Java 21
- there is SDKMAN! allowing you to choose from any number of suppliers (https://sdkman.io/jdks) with very much up-to-date builds

With this perspective, I think our plan should be:
- support running on Java 21 from odlparent-13.0.11 onwards, i.e. 2023.09 Potassium SR3 or later - build with both Java 17 (for release) and Java 21 (for validation) on 2024.03 Calcium SR1 or later, contingent on https://jira.linuxfoundation.org/plugins/servlet/desk/portal/2/IT-26285
- require Java 21 for 2024.09 Scandium onwards

Unless there are serious objections raised before March 15th 2024, this transition will be part of odlparent-14 integrated into 2024.09 Scandium.

Regards,
Robert[*]

[*] looking forward to all the Java 21 goodies we will be allowed to use :)


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#9072): https://lists.opendaylight.org/g/Discuss/message/9072
Mute This Topic: https://lists.opendaylight.org/mt/103990064/21656
Group Owner: discuss+ow...@lists.opendaylight.org
Unsubscribe: 
https://lists.opendaylight.org/g/Discuss/leave/4219721/21656/1056093597/xyzzy 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to