Debian Patches
Status for jsoup/1.23.2-1
| Patch | Description | Author | Forwarded | Bugs | Origin | Last update |
|---|---|---|---|---|---|---|
| netty-compatibility.patch | Use the netty 4.1 event loop API in the test servers jsoup builds its integration test servers on the event loop API introduced by netty 4.2, which Debian does not ship yet (libnetty-java is 4.1.48): . cannot find symbol: class MultiThreadIoEventLoopGroup cannot find symbol: class NioIoHandler location: package io.netty.channel.nio . netty 4.2 made the handler type of an event loop group a parameter, so MultiThreadIoEventLoopGroup(n, NioIoHandler.newFactory()) is what 4.1 spells NioEventLoopGroup(n). The translation is exact, not an approximation: the same NIO transport, the same thread counts. . This patch can be dropped as soon as Debian ships netty 4.2 or later. |
Emmanuel Bourg <ebourg@apache.org> | not-needed | 2026-09-18 | ||
| junit-compatibility.patch | Use the JUnit 5.10 test API Debian ships JUnit 5.10.3, and jsoup uses two APIs that came later. . @MethodSource became @Repeatable in JUnit 5.11, and jsoup stacks two of them on the same test method: . org.junit.jupiter.params.provider.MethodSource is not a repeatable annotation interface . @MethodSource also accepts an array of method names, which 5.10 understands and which selects exactly the same parameter sources. No test case is lost. . ArgumentsProvider.provideArguments() gained a ParameterDeclarations parameter in JUnit 5.13, and jsoup implements that signature: . cannot find symbol: class ParameterDeclarations location: package org.junit.jupiter.params.support MultiLocaleExtension is not abstract and does not override abstract method provideArguments(ExtensionContext) . The method ignores that parameter, so dropping it restores the 5.10 signature without changing what the provider returns. . This patch can be dropped as soon as Debian ships JUnit 5.13 or later. |
Emmanuel Bourg <ebourg@apache.org> | not-needed | 2026-09-18 |
