Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Search for vulnerabilities resulting from the violation of this rule on the CERT website.

Related Guidelines

MITRE CWE:

CWE-487 "Reliance on Package-level Scope"

SCG 2007

Guideline 1-1 Limit the accessibility of classes, interfaces, methods, and fields

Bibliography

<ac:structured-macro ac:name="unmigrated-wiki-markup

...

" ac:schema-version="1" ac:macro-id="a04408d5-a0d9-4e72-96c1-a9234a3a343c"><ac:plain-text-body><![CDATA[

[[JLS

...

2005

...

AA.

...

Bibliography#JLS

...

05]

...

]

...

[Section

...

8.4.8.3

...

http://java.sun.com/docs/books/jls/third_edition/html/classes.html#8.4.8.3],

...

"Requirements

...

in

...

Overriding

...

and

...

Hiding"

]]></ac:plain-text-body></ac:structured-macro>

...

MET15-J. Do not use deprecated or obsolete classes or methods      05. Methods (MET)      MET18-J. Do not use finalizers