Thanks Dane for once again pushing the topic on Java language support.
In terms of project maintenance and long term growth, I am happy with this
change.

Regarding the usage of `--add-opens`, it would still be okay, given the
fact that we provided that option either way.
But in future, I think we should figure out a way to do this better.

Although as you suggested, it would be best to gather feedback from the
community,
specifically that we have already done a minimum version upgrade very
recently.
Also, it would be better to do this around v20 or v21 if we agree to move
forward. The reason
is it would at least give enough time for some users to get ready for a
change. Again this may require
consensus in the community.  Also we can take another consensus from the
github dependabot PRs,
it provides a hint on how much technical burden and vulnerabilities we have
to keep up when we don't
upgrade the minimal supported Java version. I think we had a good
experience in gathering those details for Java 8 [1] (citing once more).

+1 for this proposed change.

[1] https://github.com/apache/arrow/issues/38051

On Thu, Aug 1, 2024 at 2:17 AM Jacob Wujciak <assignu...@apache.org> wrote:

> Thanks Dane for starting the discussion!
> I would be +1 but I am neither a Java user nor familiar with the space but
> seeing spark go 17+ is encouraging.
>
> Also worth mentioning is that people that can't drop 11 can always continue
> using the versions that still support it.
>
> Best
> Jacob
>
> Am Mi., 31. Juli 2024 um 19:00 Uhr schrieb Dane Pitkin <dpit...@apache.org
> >:
>
> > Hi all,
> >
> > I'd like to bring up for discussion dropping Java 11 and supporting Java
> 17
> > as the minimum version[1]. Earlier this year we agreed to drop Java 8 and
> > support Java 11 as the min version[2]. That has now been completed and
> will
> > be released in Arrow v18 [3].
> >
> > My suggestion would be to drop Java 11 in Arrow v19 (~Jan 2025). If we
> want
> > to wait for feedback from users after we release removal of Java 8, then
> > perhaps Arrow v20 (~Apr 2025).
> >
> >
> > Some reasonings:
> > - Java 11 is now in Extended Support for the remainder of its lifecycle
> > - Apache Spark only supports Java 17+ in v4.X
> >
> > Some drawbacks:
> > - Users will be required to add java command line arguments
> > (--add-opens)[4].
> >
> >
> > Overall, this could be a big step towards modernizing the Arrow Java
> > project.
> >
> > Thanks,
> > Dane
> >
> >
> > [1]https://github.com/apache/arrow/issues/43307
> > [2]https://lists.apache.org/thread/65vqpmrrtpshxo53572zcv91j1lb2y8g
> > [3]https://github.com/apache/arrow/issues/38051
> > [4]https://arrow.apache.org/docs/java/install.html#id3
> >
>

Reply via email to