bug-classpath
[Top][All Lists]
Advanced

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

[Bug classpath/25727] Hashtable is not secure


From: pinskia at gcc dot gnu dot org
Subject: [Bug classpath/25727] Hashtable is not secure
Date: 9 Jan 2006 19:06:39 -0000


------- Comment #1 from pinskia at gcc dot gnu dot org  2006-01-09 19:06 -------
I think you are violating some rules here, a.equals(b) == b.equals(a). 
Hashtable and maybe others should be doing that checking and then just reject
it but I think this is just a violation of equals.

Also a.equals(a) should always be true though in your example it will never be
true for FakeKey.


-- 


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





reply via email to

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