Hi Andor,

Many thanks for your response and for extracting the information for me.
I'd be happy to work on this.

Is it OK to do this under the Mockito upgrade ticket (ZOOKEEPER-5039) and
(#2376) PR or would you prefer separately?

Thanks,
Dávid

Andor Molnár <[email protected]> ezt írta (időpont: 2026. ápr. 30., Cs,
1:14):

> I’m trying to extract the relevant information from the thread for you.
> Previously I wrote something like:
>
> “… we could make a leap and make JDK 17 the minimum runtime and compile
> versions for the master branch.
>
> Once the change is merged to master, we'll backport it to branch-3.9 as
> follows:
>
>  * minimum JDK for building: 17
>  * minimum JRE for running: 8 (no change) “
>
> As far as I know, that’s what we agreed on, but unfortunately, no one has
> been willing to create a PR for it since then. Are you happy to work on it?
>
> Andor
>
>
>
> > On Apr 29, 2026, at 13:12, Andor Molnár <[email protected]> wrote:
> >
> > Hi David,
> >
> > Thank you, your efforts are much appreciated.
> >
> > Yes. At the moment we still support Java 8 on all active branches.
> > There’s only one exception: Owasp build process requires Java 11 to run.
> >
> > There was a bunch of discussions [1] and [2] recently regarding how
> should we
> > upgrade and which JDK versions should we support on our branches. You
> might
> > want to review them before going forward.
> >
> > [1] https://lists.apache.org/thread/42537mr70g3n8srzxg406xlssbcsqr7w
> > [2] https://lists.apache.org/thread/ng8gq261ts5znzt6wb3zgjwqpsoqfftv
> >
> > Regards,
> > Andor
> >
> >
> >
> >
> >> On Apr 29, 2026, at 07:57, Dávid Paksy <[email protected]> wrote:
> >>
> >> Hi ZooKeeper devs,
> >>
> >> I started to work on JDK25 support in ZooKeeper. The compilation works
> fine
> >> but for the tests to work I created ZOOKEEPER-5039 to upgrade Mockito to
> >> 5.23.0.
> >>
> >> I put up #2376 PR and I saw, the GH: Action builds at the moment are
> done
> >> using Java 8 and Java 11.
> >>
> >> Mockito 5.x requires Java 11 or higher. It will not work with Java 8.
> >> Mockito 4.x supported Java 8 but Mockito 4.x does not support Java 25.
> >>
> >> Do we have to support Java 8 on ZooKeeper master branch? I did not found
> >> any documentation regarding this.
> >>
> >> Thanks in advance,
> >> Dávid
> >
>
>

Reply via email to