bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug classpath/24618] equals method for collections


From: subanark at gmail dot com
Subject: [Bug classpath/24618] equals method for collections
Date: 1 Nov 2005 19:02:06 -0000


------- Comment #4 from subanark at gmail dot com  2005-11-01 19:02 -------
1. Well Sun's implementation is argubly not incorrect, since in this case the
"contract" of equals is not followed (objects must be equal to themselves).

2. Existing non-well formed code may break if such a change was to hit the API.

3. From my understanding compadibility with Sun's code is desirable.

4. Getting a change (this one in paticular) to classpath is much easier then a
change to Sun's code.

In any case such compliance/non-compliance should be documented.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24618





reply via email to

[Prev in Thread] Current Thread [Next in Thread]