Description
Creating a feature request
Is your feature request related to a problem? Please describe:
OpenHAB 5.0.0 is scheduled for the summer release, and it is essential to align with modern Java versions to leverage the latest language enhancements, performance improvements, and security updates. Currently, OpenHAB 4.x is not optimized for Java 21, which is the latest LTS (Long-Term Support) version of Java but it's running under Java 21. This limitation may hinder developers from utilizing Java 21 features and maintaining compatibility with the ecosystem.
Describe the solution you'd like:
Ensure OpenHAB 5.0.0 is fully compatible with Java 21 by updating dependencies, libraries, and configurations to support the latest features and runtime.
Conduct extensive testing to ensure stability and reliability when running OpenHAB 5.0.0 on Java 21.
Provide clear documentation and guidelines to migrate from Java 17 to Java 21.
Describe alternatives you've considered:
Maintain dual compatibility with Java 17 and Java 21, but this increases maintenance overhead and could lead to inconsistencies in supported features.
Additional context
OpenHAB’s move to Java 21 aligns with the industry trend of utilizing the latest LTS versions for modern application development.
Activity