Package: artemis
Version: 16.0.0+dfsg-1
Severity: important
User: debian-j...@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

Reply via email to