...
Allowing unauthorized calls to System.exit() may lead to denial of service.
Rule | Severity | Likelihood | Detectable | RepairableRemediation Cost | Priority | Level |
|---|---|---|---|---|---|---|
ERR09-J | Low | Unlikely | No | NoMedium | P2P1 | L3 |
Automated Detection
Tool | Version | Checker | Description | |||||||
|---|---|---|---|---|---|---|---|---|---|---|
| CodeSonar |
| PMD JAVA. J2EEDEBUG. DoNotCallSystemExitFB.BAD_PRACTICE.DM_EXIT CALL | Debug Call (Java Do not call System exitMethod invokes System.exit(... ) | |||||||
| Coverity | 7.5 | DC.CODING_STYLE | Implemented | |||||||
| Klocwork |
| SV.UMC.EXIT UMC.EXIT | ||||||||
| Parasoft Jtest |
| CODSTACERT. | BP.EXIT, SECURITY.EAB.JVMImplementedERR09.JVM CERT.ERR09.EXIT | Do not stop the JVM in a web component Do not call methods which terminates Java Virtual Machine | ||||||
| SonarQube |
| S1147 | Exit methods should not be called |
Related Guidelines
...