On 28 Sep 2005 05:35:25 -0700, Paul Rubin <"http://phr.cx"@nospam.invalid> wrote: > I don't see anything on the CGLIB web page (in about 1 minute of > looking) that says it can get around private and protected. It looks > like something that disassembles class files and reassembles them into > new classes from them with additional interfaces. That's a lot > different than being able to reach into an already-existing class > instance and get at its private variables.
I've never directly used CGLIB myself, but I do use JMock and Hibernate, and AFAIK both use CGLIB to modify private and protected members. I could certainly be wrong, though. Anyway, this is getting a bit OT... -- Cheers, Simon B, [EMAIL PROTECTED], http://www.brunningonline.net/simon/blog/ -- http://mail.python.org/mailman/listinfo/python-list