Hello,

I was going to extend java.util.regex.Matcher for named groups and
came to a point where I wanted to proxy the Matcher-class so that my
extension was usable in-place of the original implementation.

I realized - via "java.lang.VerifyError: Cannot inherit from final
class" - that it isn't possible to do that.

Is there another way to 'inject' the extended implementation in common
code?

Maybe 'proxy' should be able to handle even final classes?


best,
Steffen
--~--~---------~--~----~------------~-------~--~----~
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