Fwd: Updating jetty, java and moving from javax.servlet to jakarta.servlet

907 views
Skip to first unread message

Matthias Sohn

unread,
Apr 22, 2024, 4:28:29 PM4/22/24
to Repo and Gerrit Discussion
FYI

---------- Forwarded message ---------
From: Matthias Sohn <matthi...@gmail.com>
Date: Mon, Apr 22, 2024 at 9:09 PM
Subject: Updating jetty, java and moving from javax.servlet to jakarta.servlet
To: JGit Developers list <jgit...@eclipse.org>

Hi,

I think it's time to consider some major updates
Please provide feedback on these proposed updates.

-Matthias

David Ostrovsky

unread,
May 1, 2024, 4:20:08 PM5/1/24
to Repo and Gerrit Discussion
Thanks for starting this discussion.

I think we should take this upgrade path:

Jetty 9.x => Jetty 10.x => Jetty 11.x => Jetty 12.x

During the upgrade to Jetty 11.x we should migrate to jakarta.servlet and servlet-api 5.x and
migrate off javax.inject dependency, that would allow us to upgrade to Google Guice 7.0.

I've tried the upgrade to Jetty 11 already. Here is the JGit change: [1] and the Gerrit series: [2].
I've also updated the affected gerrit plugins except gitiles-plugin, that relies on gitiles-servlet
(it looks good, only some binding tests are failing).

A good question is: would all Gerrit stack holders support this migration path?



-Matthias
Reply all
Reply to author
Forward
0 new messages