Thanks for correcting me.  I agree you would need to hang on to the
Method object.

On Jan 24, 5:09 pm, "Steven E. Harris" <s...@panix.com> wrote:
> ".Bill Smith" <william.m.sm...@gmail.com> writes:
> > you can use java.lang.reflect.Method.setAccessible to make an
> > otherwise protected method available for public access.
>
> It looks like one would have to hang on to the Method object and reuse
> it, as setting one Method instance's accessibility has no influence over
> /other/ instances of the same Method. Changing the accessibility doesn't
> seem to have global effect throughout the program.
>
> --
> Steven E. Harris

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