Skip to content

chore: upgrade Jetty from 11.0.26 to 12.0.33 (ee10) to fix CVEs#144

Merged
sidharth-jain23 merged 1 commit intomainfrom
jetty-upgrade
Apr 17, 2026
Merged

chore: upgrade Jetty from 11.0.26 to 12.0.33 (ee10) to fix CVEs#144
sidharth-jain23 merged 1 commit intomainfrom
jetty-upgrade

Conversation

@sidharth-jain23
Copy link
Copy Markdown
Collaborator

Migrate from Jetty 11 to Jetty 12 using ee10 servlet compatibility layer:

  • Add Jetty 12.0.33 ee10 dependencies to local version catalog
  • Switch build scripts from commonLibs.jetty.* to localLibs.jetty.ee10.*
  • Update servlet imports from o.e.j.servlet.* to o.e.j.ee10.servlet.*
  • Update servlets imports from o.e.j.servlets.* to o.e.j.ee10.servlets.*
  • Fix setVirtualHosts(String[]) to setVirtualHosts(List)
  • Fix ErrorPageErrorHandler type (no longer extends ErrorHandler in Jetty 12)
  • Override jetty-bom to 12.0.33 via api(platform()) to propagate to consumers

Migrate from Jetty 11 to Jetty 12 using ee10 servlet compatibility layer:
- Add Jetty 12.0.33 ee10 dependencies to local version catalog
- Switch build scripts from commonLibs.jetty.* to localLibs.jetty.ee10.*
- Update servlet imports from o.e.j.servlet.* to o.e.j.ee10.servlet.*
- Update servlets imports from o.e.j.servlets.* to o.e.j.ee10.servlets.*
- Fix setVirtualHosts(String[]) to setVirtualHosts(List<String>)
- Fix ErrorPageErrorHandler type (no longer extends ErrorHandler in Jetty 12)
- Override jetty-bom to 12.0.33 via api(platform()) to propagate to consumers
- Regenerate all gradle lock files

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

AI-Session-Id: 8f5c969e-486a-4c9e-8229-95b5363e598d
AI-Tool: claude-code
AI-Model: unknown
@sidharth-jain23 sidharth-jain23 requested a review from a team as a code owner April 17, 2026 08:30
@github-actions
Copy link
Copy Markdown

Test Results

32 tests  ±0   32 ✅ ±0   16s ⏱️ ±0s
 9 suites ±0    0 💤 ±0 
 9 files   ±0    0 ❌ ±0 

Results for commit 9f716fc. ± Comparison against base commit 4e010fa.

@sidharth-jain23 sidharth-jain23 merged commit 6d60ebd into main Apr 17, 2026
4 checks passed
@sidharth-jain23 sidharth-jain23 deleted the jetty-upgrade branch April 17, 2026 11:39
sidharth-jain23 added a commit that referenced this pull request Apr 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants