MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / exit

Method exit

vm/JavaAPI/src/java/lang/System.java:128–128  ·  view source on GitHub ↗

Terminates the currently running Java application. The argument serves as a status code; by convention, a nonzero status code indicates abnormal termination. This method calls the exit method in class Runtime. This method never returns normally. The call System.exit(n) is effectively equivalent to t

(int status)

Source from the content-addressed store, hash-verified

126 * Runtime.getRuntime().exit(n)
127 */
128 public static native void exit(int status);
129
130 /**
131 * Runs the garbage collector.

Callers 15

runTestsMethod · 0.95
_mainMethod · 0.95
migrateGuiBuilderMethod · 0.95
mainMethod · 0.95
runMethod · 0.95
mainMethod · 0.95
mainMethod · 0.95
runMethod · 0.95
mainMethod · 0.95
mainMethod · 0.95
mainMethod · 0.95
mainMethod · 0.95

Calls

no outgoing calls

Tested by 15

runTestsMethod · 0.76
mainMethod · 0.76
mainMethod · 0.76
mainMethod · 0.76
mainMethod · 0.76
mainMethod · 0.76
mainMethod · 0.76
mainMethod · 0.76
mainMethod · 0.76
mainMethod · 0.76
mainMethod · 0.76
mainMethod · 0.76