Files
openide/java/java-impl/resources/inspectionDescriptions/SystemExit.html
Leonid Shalupov 40795fe787 IJI-2422: community/java: move resources under resources root
GitOrigin-RevId: 8b2b63fc6db476ca0c2cfe5cadd84db6c4236d0f
2025-02-05 04:43:28 +00:00

19 lines
644 B
HTML

<html>
<body>
Reports calls to <code>System.exit()</code>, <code>Runtime.exit()</code>,
and <code>Runtime.halt()</code>.
<p>
Invoking <code>System.exit()</code> or <code>Runtime.exit()</code>
calls the shutdown hooks and terminates the currently running Java
virtual machine. Invoking <code>Runtime.halt()</code> forcibly
terminates the JVM without causing shutdown hooks to be started.
Each of these methods should be used with extreme caution. Calls
to these methods make the calling code unportable to most
application servers.
</p>
<!-- tooltip end -->
<p>
Use the option to ignore calls in main methods.
<p>
</body>
</html>