On Mon, Nov 6, 2023 at 4:22 AM Chris Hegarty <christopher.hega...@elastic.co.invalid> wrote: > > Hi, > > Great discussion, I agree with all that you have said. And that we will have > to deal with the intricacies of the MR-JAR regardless of the outcome here, > which is doable. > > I would very much like to avoid supporting Java 17 (released in Sep 2021) in > 2025. So far we have two possible approaches: > > 1. Release Lucene 10.0.0 now with Java 17 minimum. Bump _main_ to Java 21. > > 2. Release Lucene 9.9.0 soon(ish) with Java 11 minimum. Bump _main_ to Java > 21, and release 10.0.0 in the first quarter of 2024. > > Have I captured this correctly? Are there other alternatives that should be > considered? > > My issue with no.1 is that the 10.x train will likely live on for ~2yrs? In > which case we’ll be supporting Java 17 until some time in late 2025, when > Java 25 is released. This could be mitigated by releasing Lucene 11.0.0 > earlier than 2yrs, say 1yr after 10.0.0. > > The only concern I have with no.2 is that it could be considered an > “aggressive” adoption of Java 21 - adoption sooner than the ecosystem can > handle, e.g. are environments in which Lucene is deployed, and their > transitive dependencies, ready to run on Java 21? By the time we’re ready to > release 10.0.0, say March 2023, then I expect no issue with this.
The problem is worse, historically jdk version X isn't adopted as a minimum until it is already EOL. And the lucene major versions take an eternity to get out there, code just sits in "main" branch for years unreleased to nobody. It is really discouraging as a contributor to contribute code that literally sits on the shelf for years, for no good reason at all. So why delay? The argument of "moving sooner than ecosystem can handle" is also bogus in the same way. You mean versus the code sitting on the shelf and being released to nobody? --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org