ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 40311] - Ant doesn´t compile java.util.Collection<? extends Class>
Date Mon, 28 Aug 2006 14:22:15 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGˇ
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40311>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDˇ
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40311





------- Additional Comments From luisbacca@gmail.com  2006-08-28 14:22 -------
(In reply to comment #1)
> Ant does not throw this exception - javac does.
> Please provide a .java file that contains the problem.

The source code that contains the problem is this :

public Collection<BaseSonVO> getCollectionsSon(){
  return getCollection();
}

The log says this :

incompatible types
found : java.util.Collection<capture of ? extends BaseVO>
required : java.util.Collection<BaseSonVO>

I think its a problem wiht the generics feature.

Thanks in advance.

PD : In the command line the same results.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message