Bug#1011135: netty: FTBFS with OpenJDK 17 due to removed constants in sun.security.x509.AlgorithmId
tony mancill
tmancill at debian.org
Mon May 23 15:06:02 BST 2022
On Tue, May 17, 2022 at 02:04:18PM +0200, Emmanuel Bourg wrote:
> Source: netty
> Version: 1:4.1.48-4
>
> netty fails to build with Java 17, it uses a constant from an internal class that was removed:
>
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR] /<<PKGBUILDDIR>>/handler/src/main/java/io/netty/handler/ssl/util/OpenJdkSelfSignedCertGenerator.java:[69,70] error: cannot find symbol
> symbol: variable sha256WithRSAEncryption_oid
> location: class AlgorithmId
> [INFO] 1 error
> [INFO] -------------------------------------------------------------
This use was removed from the upstream sources in release 4.1.52 and
later, so this can be resolved with an upstream version update.
https://github.com/netty/netty/commit/bb184794341255cf02f9b7156c5ad828b172fdab
More information about the pkg-java-maintainers
mailing list