> My code calls a function in 3rd party library A, which in turn calls a > function in 3rd party library B. The lib B function uses blacklisted Java > classes, causing my app to crash when lib A calls it. I would like to > replace that function with a safe version, so that lib A is forced to use > the safe version instead, all without modifying any 3rd party code. Is this > possible?
That should be possible with your simple attempt using (binding); I'm surprised it hasn't worked. Can you post which libs you're using and which function you want to override? -- 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 Note that posts from new members are moderated - please be patient with your first post. 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