Bug#773372: async-http-client: FTBFS with Java 8: List<String> cannot be converted to FluentStringsMap

Emmanuel Bourg ebourg at apache.org
Wed Dec 17 16:12:40 UTC 2014


Source: async-http-client
Version: 1.6.5-2
Severity: important
User: debian-java at lists.debian.org
Usertags: openjdk-8-transition

async-http-client fails to build with Java 8, the new 'replace()' methods
added to the Map interface clash with the 'replace' methods in the
FluentStringsMap and FluentCaseInsensitiveStringsMap classes.

Here is the error displayed by Maven:

  [INFO] Compilation failure
  
  async-http-client/src/main/java/com/ning/http/client/FluentCaseInsensitiveStringsMap.java:[165,22] error: incompatible types: List<String> cannot be converted to FluentCaseInsensitiveStringsMap
  async-http-client/src/main/java/com/ning/http/client/FluentStringsMap.java:[151,22] error: incompatible types: List<String> cannot be converted to FluentStringsMap



More information about the pkg-java-maintainers mailing list