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

2018-08-23 Thread Markus Koschany
Am 24.08.2018 um 01:00 schrieb Emmanuel Bourg:
>> This issue was apparently fixed in version 1.10.4-2. Axis can be rebuilt
>> from source again.
> 
> Actually the issue was triggered by the automatic use of the --release
> javac option in ant/1.10.3-2, the flag removed the internal com.sun.net
> classes from the compilation classpath. The issue vanished once that was
> reverted in ant/1.10.4-2.

Yes, that's the same thing. The --release flag only works with Java9+
bytecode.

Markus




signature.asc
Description: OpenPGP digital signature


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

2018-08-23 Thread Emmanuel Bourg
> This issue was apparently fixed in version 1.10.4-2. Axis can be rebuilt
> from source again.

Actually the issue was triggered by the automatic use of the --release
javac option in ant/1.10.3-2, the flag removed the internal com.sun.net
classes from the compilation classpath. The issue vanished once that was
reverted in ant/1.10.4-2.

Emmanuel Bourg



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

2018-07-02 Thread Emmanuel Bourg
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.



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

2018-07-02 Thread Emmanuel Bourg
Source: axis
Severity: serious
Tags: sid buster
User: debian-j...@lists.debian.org
Usertags: default-java10

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;
^
  ./axis/src/org/apache/axis/components/net/SunFakeTrustSocketFactory.java:25: 
error: package com.sun.net.ssl does not exist
  import com.sun.net.ssl.TrustManager;
^
  ./axis/src/org/apache/axis/components/net/SunFakeTrustSocketFactory.java:26: 
error: package com.sun.net.ssl does not exist
  import com.sun.net.ssl.X509TrustManager;
^
  ./axis/src/org/apache/axis/components/net/SunJSSESocketFactory.java:26: 
error: package com.sun.net.ssl does not exist
  import com.sun.net.ssl.SSLContext;
^