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] New: - Ant doesn´t compile java.util.Collection<? extends Class>
Date Thu, 24 Aug 2006 20:09:42 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

           Summary: Ant doesn´t compile java.util.Collection<? extends
                    Class>
           Product: Ant
           Version: 1.6.5
          Platform: Other
        OS/Version: Windows 2000
            Status: NEW
          Severity: blocker
          Priority: P1
         Component: Core
        AssignedTo: dev@ant.apache.org
        ReportedBy: luisbacca@gmail.com


When i use Collection<? extends Class> in an interface, i later implements this 
interface with a Collection<Son> and Son extends Class, it compiles by the 
jdeveloper, or whatever ide.

But with ant throws an error in the task javac. The error is the following :

incompatyble types.
Found : java.util.Collection<capture of ? extends BaseVO>
Required : java.util.Collection<BaseSonVO>

And BaseSonVO extends BaseVO.

Thanks ind advance.

-- 
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