Thanks for kicking this thread off Seb.

A while back I also registered https://issues.apache.org/jira/browse/NUTCH-3045 
which details other considerations for upgrade to JDK17. Although these are not 
100% necessary, I would argue they are absolutely features of JDK17 we should 
seriously consider incorporating into Nutch.

On 2026/02/03 21:52:04 Sebastian Nagel wrote:

> the current Nutch development is ready for Java 17
> with NUTCH-2971 fixed - thanks Isabelle!

Yes thanks Isabelle!

> We now have the following options for the next release (1.22):

Thank you for laying out some options.

> 
> 1. stay on Java 11


RE #1: To me this presents the best risk averse option but my least favorable. 
I am not keen staying with JDK11 due to EOL. I would like to upgrade to JDK17. 
We could always roll a 1.21.1 with JDK11 support if we discover moving to JDK17 
breaks lots of deployments.

> 
> 2. require Java 17 at compile time, but compile using "-target 11"
>     to stay compatible with Java 11 at runtime

RE #2: I don't see much value in this approach over either 1 or 3.

> 
> 3. drop support for Java 11 and switch to Java 17
> 

RE #3: This is my preferred approach. It addresses the EOL issue, (should 
hopefully) unblock further development opportunities and allows us to move with 
the times. I understand the foundational JDK11 requirements levied by Hadoop 
3.X. We need to smoke/integration test with Nutch master branch with JDK17 and 
ensure interoperability with Hadoop JDK11.

> 
> I'm leaning in favor of option 1 and try to release Nutch 1.22
> during the next weeks.  After the release go to option 3.

I think this is a good compromise. We could even spin 1.23 fairly soon 
afterwards with scope limited strictly to JDK17 updates.

lewismc

Reply via email to