After more experimenting, it seems like a potentially difficult bug to
resolve. Clojure attempts to treat all numbers as objects, but in this
case, the choice of whether a number is an object or a primitive
affects which method is called.

(let [temp [(java.util.ArrayList. ["foo"])]]
  (.remove (first temp) (int 0)))

=> also incorrectly returns false.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to clojure@googlegroups.com
To unsubscribe from this group, send email to 
clojure+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to