Bug#982053: commons-httpclient: FTBFS with OpenJDK 17 due to com.sun.net.ssl removal
Emmanuel Bourg
ebourg at apache.org
Sat Feb 6 00:29:03 GMT 2021
Source: commons-httpclient
Severity: important
Tags: ftbfs sid bookworm
User: debian-java at lists.debian.org
Usertags: default-java17
commons-httpclient fails to build with OpenJDK 17 due to the removal of the com.sun.net.ssl package:
[INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ commons-httpclient ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 102 source files to /<<PKGBUILDDIR>>/target/test-classes
Use of target 1.6 is no longer supported, switching to 7
Use of source 1.6 is no longer supported, switching to 7
[INFO] /<<PKGBUILDDIR>>/src/test/org/apache/commons/httpclient/TestHttpVersion.java: Some input files use or override a deprecated API that is marked for removal.
[INFO] /<<PKGBUILDDIR>>/src/test/org/apache/commons/httpclient/TestHttpVersion.java: Recompile with -Xlint:removal for details.
[INFO] /<<PKGBUILDDIR>>/src/test/org/apache/commons/httpclient/auth/TestChallengeProcessor.java: Some input files use unchecked or unsafe operations.
[INFO] /<<PKGBUILDDIR>>/src/test/org/apache/commons/httpclient/auth/TestChallengeProcessor.java: Recompile with -Xlint:unchecked for details.
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /<<PKGBUILDDIR>>/src/test/org/apache/commons/httpclient/ssl/SimpleSSLTestProtocolSocketFactory.java:[49,23] package com.sun.net.ssl does not exist
[ERROR] /<<PKGBUILDDIR>>/src/test/org/apache/commons/httpclient/ssl/SimpleSSLTestProtocolSocketFactory.java:[50,23] package com.sun.net.ssl does not exist
[ERROR] /<<PKGBUILDDIR>>/src/test/org/apache/commons/httpclient/ssl/SimpleSSLTestProtocolSocketFactory.java:[51,23] package com.sun.net.ssl does not exist
[ERROR] /<<PKGBUILDDIR>>/src/test/org/apache/commons/httpclient/ssl/SimpleSSLTestProtocolSocketFactory.java:[57,20] cannot find symbol
symbol: class SSLContext
location: class org.apache.commons.httpclient.ssl.SimpleSSLTestProtocolSocketFactory
[ERROR] /<<PKGBUILDDIR>>/src/test/org/apache/commons/httpclient/ssl/SimpleSSLTestProtocolSocketFactory.java:[59,20] cannot find symbol
symbol: class SSLContext
location: class org.apache.commons.httpclient.ssl.SimpleSSLTestProtocolSocketFactory
[ERROR] /<<PKGBUILDDIR>>/src/test/org/apache/commons/httpclient/ssl/SimpleSSLTestProtocolSocketFactory.java:[87,20] cannot find symbol
symbol: class SSLContext
location: class org.apache.commons.httpclient.ssl.SimpleSSLTestProtocolSocketFactory
[ERROR] /<<PKGBUILDDIR>>/src/test/org/apache/commons/httpclient/ssl/SimpleSSLSocketFactory.java:[45,23] package com.sun.net.ssl does not exist
[ERROR] /<<PKGBUILDDIR>>/src/test/org/apache/commons/httpclient/ssl/SimpleSSLSocketFactory.java:[46,23] package com.sun.net.ssl does not exist
[ERROR] /<<PKGBUILDDIR>>/src/test/org/apache/commons/httpclient/ssl/SimpleSSLSocketFactory.java:[47,23] package com.sun.net.ssl does not exist
More information about the pkg-java-maintainers
mailing list