Bug#1011135: netty: FTBFS with OpenJDK 17 due to removed constants in sun.security.x509.AlgorithmId

Emmanuel Bourg ebourg at apache.org
Tue May 17 13:04:18 BST 2022


Source: netty
Version: 1:4.1.48-4
Severity: important
Tags: ftbfs sid bookworm
User: debian-java at lists.debian.org
Usertags: default-java17

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] -------------------------------------------------------------



More information about the pkg-java-maintainers mailing list