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 40949] New: - compareTo method in CompressedResource does not take comparison with another CompressedResouce into account.
Date Sat, 11 Nov 2006 22:05:28 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=40949>.
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=40949

           Summary: compareTo method in CompressedResource does not take
                    comparison with another CompressedResouce into account.
           Product: Ant
           Version: 1.7.0Beta3
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core
        AssignedTo: dev@ant.apache.org
        ReportedBy: jkf@apache.org


The compareTo method of the CompressedResouce (used in equality checks) will not
return 0 even when comparing to self. This because always the resource inside
the compressedresource is compared to the supplied parameter. 

This leads to failing testcases when testing on JDK 1.3 as the hashmap
apparently does not check on == before equals, which is apparently done on JDK
1.4 and later.

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