Welcome! Please see the About page for a little more info on how this works.

0 votes
in Clojure by

TransactionalHashMap computation of the bin is buggy. The implementation doesn't unset the sign bit before using it in accessing the bin array which in some cases cause an ArrayOutOfBoundException to be thrown.

As Rich Hickey has pointed out, this is an unsupported experimental Class and won't be fixed unless I provided a patch, so attached is the patch file.

4 Answers

0 votes
by

Comment made by: importer

megabyte2021 said: (link: [file:cuuZnsuuWr36H0eJe5dVir)]: The patch file

0 votes
by
0 votes
by

Comment made by: importer

stu said: Please add a test case.

0 votes
by
Reference: https://clojure.atlassian.net/browse/CLJ-319 (reported by alex+import)
...