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 35111] New: - Does not compile under Java 1.5 because not recogize generic <cast> and new loops (with : )
Date Fri, 27 May 2005 19:40:34 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=35111>.
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=35111

           Summary: Does not compile under Java 1.5 because not recogize
                    generic <cast> and new loops (with : )
           Product: Ant
           Version: 1.6.4
          Platform: PC
               URL:
                    http://java.sun.com/j2se/1.5.0/docs/guide/language/index
                    .html
        OS/Version: All
            Status: NEW
          Keywords: JDK1.5
          Severity: normal
          Priority: P2
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: akoliber@poczta.onet.pl


Not recognize enhancements in JDK 5
-generic 
Example:
 private Vector<MyClass> myvector;
               ^^^^^^^^^
-Enhanced for Loop
Example:
for (MyClass p : myvector) {
               ^

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