Versions Compared

Key

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

...

Recommendation

Severity

Likelihood

Remediation Cost

Priority

Level

ERR09-J

low

unlikely

medium

P2

L3

Related

...

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

Related Guidelines

MITRE CWE

CWE ID 382, "J2EE Bad Practices: Use of System.exit()"

...

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="9c28d84c0e6f7214-51f405cc-4c9f475e-8bbfbeae-56de71ed471c830436c6af2b"><ac:plain-text-body><![CDATA[

[[API 2006

AA. Bibliography#API 06]]

[method checkExit()

http://java.sun.com/j2se/1.4.2/docs/api/java/lang/SecurityManager.html#checkExit(int)], Class Runtime, method addShutdownHook

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

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="177fcb6491456a5d-164f3dc0-434a44da-8b1db4b4-f9160f31a40364e888555f27"><ac:plain-text-body><![CDATA[

[[Austin 2000

AA. Bibliography#Austin 00]]

[Writing a Security Manager

http://java.sun.com/developer/onlineTraining/Programming/JDCBook/signed2.html]

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

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="34253d64f444a860-6d694c01-44c84ca7-95eca8fa-3b59f17681fcfe57a2c788de"><ac:plain-text-body><![CDATA[

[[Darwin 2004

AA. Bibliography#Darwin 04]]

9.5 The Finalize Method

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

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="ba100e63de88d185-ea5c31c4-41a34cd6-a4b0bc2b-a6d1d81669e964ead539b37d"><ac:plain-text-body><![CDATA[

[[ESA 2005

AA. Bibliography#ESA 05]]

Rule 78: Restrict the use of the System.exit method

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

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="4bbffe99cd796de6-3429ae21-48ed48c6-aa22bd2a-4ab86b81112d8dfd9ab3037b"><ac:plain-text-body><![CDATA[

[[Goetz 2006

AA. Bibliography#Goetz 06]]

7.4. JVM Shutdown

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

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="3f5d710dabf80967-b94dc087-4f4f4a87-9e858e1e-83bb9bdc8309fd308fc50cd4"><ac:plain-text-body><![CDATA[

[[Kalinovsky 2004

AA. Bibliography#Kalinovsky 04]]

Chapter 16 Intercepting a Call to System.exit

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

...