Bug#902861: axis: FTBFS with Java 10 due to com.sun.net.ssl removal

Emmanuel Bourg ebourg at apache.org
Mon Jul 2 14:35:46 BST 2018


Le 02/07/2018 à 14:51, Emmanuel Bourg a écrit :

> axis fails to build with Java 10 due to the removal of the com.sun.net.ssl API:
> 
>   ./axis/src/org/apache/axis/components/net/SunFakeTrustSocketFactory.java:24: error: package com.sun.net.ssl does not exist
>   import com.sun.net.ssl.SSLContext;

It looks like this error has been triggered by the upload of
ant/1.10.3-2 and the added --release parameter on javac invocations. The
same error can be seen on other Ant based packages using the com.sun APIs.

It turns out that using "--release 7" when compiling renders the
com.sun.* packages unavailable, but with "-source 7 -target 7" it works
fine.



More information about the pkg-java-maintainers mailing list