This site is the archived OWASP Foundation Wiki and is no longer accepting Account Requests.
To view the new OWASP Foundation website, please visit https://owasp.org

Inner classes

From OWASP
Revision as of 18:32, 3 January 2007 by Jmanico (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Inner classes have been called "dangerous" by several Java security guidelines. However, there is no additional danger inherent in the use of inner classes that is not inherent in the use of other types of polymorphism. In general, use as little polymorphism as possible since it, by default, it exposes data.