Simon Brunning <[EMAIL PROTECTED]> writes:
> Oh, there are ways around private and protected, even in Java. CGLIB
> spings to mind. But you'd be wise to follow the rules, especially if
> you work in a team.

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.

The Sun JVM has some setting that turns off strict enforcement but
with enforcement on, private is supposed to be private.  The whole
concept of applet security depends on that.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to