> 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?
>

I don't think it is...most likely all your libraries are aot compiled,
which means you're basically asking to change the bytecode within the
compiled .class files. I think your only choice is to patch the
libraries. If it's really this serious of an issue, then perhaps the
makers of the libraries will at least accept a patch from you that
adds a hook that will swap out parts of the libraries.


Timothy

-- 
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

Reply via email to