...
Wiki Markup |
---|
Also, according to the Java Language Specification \[[JLS 2005|AA. Java References#JLS 05]\], section 8.3 "Field Declarations": |
Note that a
private
field of a superclass might be accessible to a subclass (for example, if both classes are members of the same class). Nevertheless, aprivate
field is never inherited by a subclass.
...
The Java Language System weakens the accessibility of sensitive, private
entities in inner classes which may result in a security weakness.
Rule Guideline | Severity | Likelihood | Remediation Cost | Priority | Level |
---|---|---|---|---|---|
SCP03- J | medium | probable | medium | P8 | L2 |
...