Hi All,

Currently, we compile and verify Ozone only with Java 8. As far as I know,
we haven't tested Ozone either with Java 11 or 17.
We should start compiling and testing Ozone with higher versions of Java to
make the version upgrade easier in the future.

This will enable us to upgrade the Java version whenever required and
deprecate older version(s) of Java if needed.

The plan here is to add support to choose the Java version (8, 11 & 17) to
compile Ozone.
With this, we will have the option to compile and run Ozone with


   - Java 8
   - Java 11
   - Java 17

We can also add pre-commit checks to make sure that all the changes made to
Ozone work on all the supported Java versions.

Note: We will not be able to use new features of Java until we
deprecate and remove the older version(s).

Oracle Java SE Support Roadmap
Release (LTS) GA Date Premier Support Until Extended Support Until
8 March 2014 March 2022 December 2030
11 September 2018 September 2023 September 2026
17 September 2021 September 2026 September 2029
21 September 2023 September 2028 September 2031
Open JDK Redhat Support Roadmap
Release (LTS) Extended Support Until
8 November 2026
11 October 2024
17 October 2027

P.S.: Is there anyone who tested Ozone with Java 11 or 17?

Thanks,
Nanda

Reply via email to