Skip to content

Migrate integration test server from Jetty to Netty#2491

Merged
jhy merged 2 commits into
masterfrom
jetty2netty
Apr 19, 2026
Merged

Migrate integration test server from Jetty to Netty#2491
jhy merged 2 commits into
masterfrom
jetty2netty

Conversation

@jhy

@jhy jhy commented Apr 19, 2026

Copy link
Copy Markdown
Owner

We were using Jetty 9 as a test dependency, which was the last version of Jetty to support Java 8, our minimum target. However that version is no longer maintained other than under commercial terms. So I'm moving jsoup to use Netty instead, which does support Java 8 and is actively maintained including security updates. (This server is only executed during build tests and only on localhost, so is not security critical; but I believe it's good hygiene to keep dependencies up to date.)

Also refactor routes and endpoints to simplify server bring-up.

Also refactor routes and endpoints to simplify server bring-up.
@jhy jhy added this to the 1.22.2 milestone Apr 19, 2026
Comment thread src/test/java/org/jsoup/integration/TestAuth.java Dismissed
Comment thread src/test/java/org/jsoup/integration/TestAuth.java Dismissed
Comment thread src/test/java/org/jsoup/integration/netty/NettyProxyServer.java Dismissed
Comment thread src/test/java/org/jsoup/integration/ConnectTest.java Dismissed
Comment thread src/test/java/org/jsoup/integration/ConnectTest.java Dismissed
Comment thread src/test/java/org/jsoup/integration/ProxyTest.java Dismissed
Comment thread src/test/java/org/jsoup/integration/routes/EchoRoute.java Dismissed
Comment thread src/test/java/org/jsoup/integration/routes/RedirectRoute.java Dismissed
Comment thread src/test/java/org/jsoup/integration/routes/SlowRider.java Dismissed
@jhy jhy merged commit 45de7cb into master Apr 19, 2026
21 checks passed
@jhy jhy deleted the jetty2netty branch April 19, 2026 04:35
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