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

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="dde4ff68-9ac9-473c-849e-d5ee71034f2c"><ac:plain-text-body><![CDATA[

[[MITRE 2009

AA. Bibliography#MITRE 09]]

[CWE ID 382

http://cwe.mitre.org/data/definitions/382.html] "J2EE Bad Practices: Use of System.exit()"

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

Bibliography

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

...

" ac:schema-version="1" ac:macro-id="615a8611-14f6-454a-b050-9523a2d391d8"><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="3ac47eea-07cf-4f2d-8b00-a1b071d09bbd"><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="109463c9-f833-4d44-9ba5-649d78b932cd"><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="a32ce2ad-ccd5-4071-ae2c-756f7ddd03cd"><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="43b0cc81-9132-448d-a3ce-9ebac56aebc4"><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="49876cd2-22a2-44a6-92fa-7f6031d5f1d2"><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>

...

ERR07-J. Prevent exceptions while logging data      06. Exceptional Behavior (ERR)      ERR10-J. Do not let code throw undeclared checked exceptions