Closed GlenKPeterson closed 6 years ago
I fixed everything that seemed to have a clear solution. Thanks for letting me know about this! At least one was a real bug - an exposed mutable array. It had a note like, "Fix this before a release" next to it. Oops! There was a "possible circular instantiation" issue that I've eliminated, though it never caused problems. I also was able to delete a very small amount of duplicated or unnecessary code to get rid of a few other issues. I think this is a significant improvement!
There are a few things I don't know what to do about. The Comparator issues are complicated and appear to work as is. I actually agree with the error, but don't want to fix it because I think the behavior might be useful (you might want to sort Comparables that contains nulls).
I think the serialization issues are false positives. Write a unit test that proves me wrong and I'll fix it!
Thanks again!
@cprice404 says (in issue #24):
Thanks for reporting this @cprice404! One quick thought is that these collections come from Clojure and are designed to be fast. They break many rules about type-safety internally, but are tested very carefully to enforce all relevant rules externally. So without seeing the report, I'm concerned that there may be some issues I just can't fix.
On the other hand, actual bugs are not allowed and I hope to be able to fix any soon!