Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Future
-
None
-
Windows 7, Oracle Java 7u3 x64 and 7u4 x64
Description
httpclient/trunk@1301572 builds fine, but the next commit httpclient/trunk@1302360 as well as the latest httpclient/trunk@1329811 fail to compile for me:
C:\x\httpclient\httpclient\src\main\java\org\apache\http\client\utils\URLEncodedUtils.java:108: error: no suitable method found for parse(List<NameValuePair>,Scanner,Comparable<CAP#1>)
parse(result, scanner, contentType.getCharset() != null ?
^
method URLEncodedUtils.parse(String,String) is not applicable
(actual and formal argument lists differ in length)
method URLEncodedUtils.parse(List<NameValuePair>,Scanner,String) is not applicable
(actual argument Comparable<CAP#1> cannot be converted to String by method invocation conversion)
method URLEncodedUtils.parse(HttpEntity) is not applicable
(actual and formal argument lists differ in length)
method URLEncodedUtils.parse(URI,String) is not applicable
(actual and formal argument lists differ in length)
where CAP#1 is a fresh type-variable:
CAP#1 extends Comparable<?> from capture of ? extends Comparable<?>
$ javac -version
javac 1.7.0_04
Same result in Oracle Java 7u3 and 7u4. My httpcore is the latest, httpcore/trunk@1331596.