-
Bug
-
Resolution: Done
-
Major
-
4.0.0.Beta2
-
None
RESTEasy doesn't compile on JDK 10
The reason is slight change in JDK API - https://docs.oracle.com/javase/9/docs/api/javax/xml/namespace/NamespaceContext.html#getPrefixes-java.lang.String-:
Java 9: Iterator getPrefixes​(String namespaceURI) Java 10 and 11: Iterator<String> getPrefixes(String namespaceURI);
[ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /Users/rsvoboda/git/Resteasy/providers/jettison/src/main/java/org/jboss/resteasy/plugins/providers/jaxb/json/MappedConvention.java:[13,8] getPrefixes(java.lang.String) in org.codehaus.jettison.mapped.MappedNamespaceConvention cannot implement getPrefixes(java.lang.String) in javax.xml.namespace.NamespaceContext return type java.util.Iterator<java.lang.Object> is not compatible with java.util.Iterator<java.lang.String> [INFO] 1 error
Filed upstream issue https://github.com/jettison-json/jettison/issues/21
- blocks
-
RESTEASY-1845 Add JDK 10 runs to Travis
- Resolved