Bug#905013: libquartz2-java: FTBFS with Java 10 due to return type change of =?UTF-8?Q?javax.xml.namespace.NamespaceContext.getPrefixes=E2=80=8B?=()

Emmanuel Bourg ebourg at apache.org
Mon Jul 30 15:28:55 BST 2018


Package: libquartz2-java
Version: 2.2.3-3
Severity: serious
Tags: sid buster
User: debian-java at lists.debian.org
Usertags: default-java10

libquartz2-java fails to build with Java 10 due to a change in the signature
of the getPrefixes​() method in javax.xml.namespace.NamespaceContext:

  [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.6.2:compile (default-compile) on project quartz-core: Compilation failure: Compilation failure: 
  [ERROR] quartz-core/src/main/java/org/quartz/xml/XMLSchedulingDataProcessor.java:[182,8] error: <anonymous org.quartz.xml.XMLSchedulingDataProcessor$1> is not abstract and does not override abstract method getPrefixes(String) in NamespaceContext
  [ERROR] quartz-core/src/main/java/org/quartz/xml/XMLSchedulingDataProcessor.java:[198,29] error: getPrefixes(String) in <anonymous org.quartz.xml.XMLSchedulingDataProcessor$1> cannot implement getPrefixes(String) in NamespaceContext
  [ERROR]   return type Iterator<?> is not compatible with Iterator<String>


More information about the pkg-java-maintainers mailing list