[Debian-med-packaging] Bug#804091: artemis: FTBFS with Java 8: FastVector.sort(Comparator) cannot implement List.sort(Comparator<? super E>)
Andreas Tille
andreas at an3as.eu
Fri Nov 6 12:16:34 UTC 2015
Hi,
if I'm interpreting upstreams answer right this means: Patches from
experienced Java 8 developers welcome ... :-)
Kind regards
Andreas.
On Wed, Nov 04, 2015 at 10:35:08PM +0100, Emmanuel Bourg wrote:
> Package: artemis
> Version: 16.0.0+dfsg-1
> Severity: important
> User: debian-java at lists.debian.org
> Usertags: openjdk-8-transition
>
> Dear Maintainer,
>
> artemis fails to build with OpenJDK 8, there is a conflict with the sort()
> method in FastVector and the newly added sort() method in the java.util.List
> interface in Java 8 (the return type isn't the same):
>
> /home/ebourg/packaging/artemis/uk/ac/sanger/artemis/util/FastVector.java:94: error: sort(Comparator) in FastVector cannot implement sort(Comparator<? super E>) in List
> public FastVector sort(final Comparator cmp)
> ^
> return type FastVector is not compatible with void
> where E is a type-variable:
> E extends Object declared in interface List
> /home/ebourg/packaging/artemis/uk/ac/sanger/artemis/io/KeyVector.java:37: error: sort(Comparator) in FastVector cannot implement sort(Comparator<? super E>) in List
> public class KeyVector extends FastVector
> ^
> return type FastVector is not compatible with void
> where E is a type-variable:
> E extends Object declared in interface List
>
>
> You can test the build with OpenJDK 8 by installing default-jdk/0.53 from experimental.
>
> Emmanuel Bourg
>
> _______________________________________________
> Debian-med-packaging mailing list
> Debian-med-packaging at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-packaging
>
--
http://fam-tille.de
More information about the Debian-med-packaging
mailing list