Hi Attila,

Thanks for starting the discussion!  Could it be that only Recon requires
Java 21?  For Ozone in general, we could change it to require Java 11.

Tsz-Wo


On Fri, Nov 15, 2024 at 12:56 PM Attila Doroszlai <adorosz...@apache.org>
wrote:

> Hi Apache Ozone community,
>
> Ozone currently requires minimum Java 8 at both build and run time,
> but it compiles and runs fine with newer Java versions.  The GitHub CI
> workflow includes compilation with Java 11, 17 and 21. Tests are run
> with Java 17.
>
> Java 21 has been GA for more than a year, Java 17 for 3 years now. [1]
>
> Some third-party dependencies have stopped releasing fixes for
> versions that work with Java 8.
> - Derby requires Java 21 [2]
> - Spring and jOOQ require Java 17 [3], [4]
>
> These are used only by Recon.
>
> To continue receiving fixes for these dependencies, we would need to
> bump the minimum Java required for building Ozone.  We would also
> require the same version for running server components.  Client
> components should still be usable with Java 8.
>
> I think the next major version, 2.0 would be a good candidate to make
> such a move.  We should continue to support Java 8 with 1.4.x.
>
> What do you think?
>
> -Attila
>
> [1] https://www.oracle.com/java/technologies/java-se-support-roadmap.html
> [2] https://db.apache.org/derby/derby_downloads.html
> [3] https://docs.spring.io/spring-framework/reference/6.0/overview.html
> [4] https://www.jooq.org/download/versions#oss
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@ozone.apache.org
> For additional commands, e-mail: dev-h...@ozone.apache.org
>
>

Reply via email to