Re: TransactionalHashMap hash computation bug

2010-04-26 Thread Rich Hickey
On Apr 25, 2010, at 8:33 PM, John wrote: I got no response since I posted the previous message. Should I be posting bugs to assembla space instead of here ? Yes, please create an issue. Do I need to be a member to do that ? No, you can use the support tab if you are not a member. Note t

Re: TransactionalHashMap hash computation bug

2010-04-25 Thread John
I got no response since I posted the previous message. Should I be posting bugs to assembla space instead of here ? Do I need to be a member to do that ? On Apr 24, 7:38 pm, John wrote: > Hi all, > > I think I found my first bug in Clojure. It's in the > TransactionalHashMap computation of the "b

TransactionalHashMap hash computation bug

2010-04-24 Thread John
Hi all, I think I found my first bug in Clojure. It's in the TransactionalHashMap computation of the "bin" at line 30. return h % bins.length; should be replaced by return (h & 0x7FFF) % bins.length; to avoid array out of bound exceptions. -- You received this message because you are sub