Niclas Hedhman wrote:
On Thursday 05 February 2004 19:53, Leo Simons wrote:

Security management
can be turned of rather easily, and then clients can use the same
package name to gain access.

Well... Users can do Reflection to access private members as well...

uhm...yes. I'm a bit hazy on the details of package security. Isn't jar signing something that was added at some point much later than the original security stuff? I seem to recall it didn't work often, hence was not safe to assume. Hmm.


And in my case, I hardly ever have 'protected' in COP scenarios, SoC
quickly falls apart with inheritence.

yep. I tend to overuse 'protected', then hunt for usages (esp.
overriding methods) every once in a while.

Just to remind you, the "modifier hierarchy" is; public -> protected -> package -> private

but I can't s/ package / private / as 'package' is not a keyword! ;)


--
cheers,

- Leo Simons

-----------------------------------------------------------------------
Weblog              -- http://leosimons.com/
IoC Component Glue  -- http://jicarilla.org/
Articles & Opinions -- http://articles.leosimons.com/
-----------------------------------------------------------------------
"We started off trying to set up a small anarchist community, but
 people wouldn't obey the rules."
                                                        -- Alan Bennett



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to