pub fn exit(mut self) -> int {
		self.intern_await_exit();
		self.exit_code.unwrap()
		// because we own `self`, the destructor drop() gets called
	}
// ----------------------------------------------
// Exit the VM if it is not EXITED. This interrupts all threads and
// therefore forces them to terminate. This method inherently races with
// running Java threads, which might as well terminate on their own.
//
// This is a blocking API. It returns the exit code of the Java program,
// i.e. the value given to System.exit(), a 0 if all threads exited normally,
// an implementation-defined negative value if a terminal exception caused the 
// exit, and, if at the time exit() performs its duties the VM is not EXITED 
// yet, another implementation-defined negative value.
//
// exit() is idempotent.
Exit the VM if it is not EXITED. This interrupts all threads and
therefore forces them to terminate. This method inherently races with
running Java threads, which might as well terminate on their own.

This is a blocking API. It returns the exit code of the Java program,
i.e. the value given to System.exit(), a 0 if all threads exited normally,
an implementation-defined negative value if a terminal exception caused the
exit, and, if at the time exit() performs its duties the VM is not EXITED
yet, another implementation-defined negative value.

exit() is idempotent.
Exit the VM if it is not EXITED . This interrupts all threads and therefore forces them to terminate . This method inherently races with running Java threads which might as well terminate on their own . This is a blocking API . It returns the exit code of the Java program i . e . the value given to System . exit () a 0 if all threads exited normally an implementation - defined negative value if a terminal exception caused the exit and if at the time exit () performs its duties the VM is not EXITED yet another implementation - defined negative value . exit () is idempotent .
pub fn exit(mut self) -> int {
		self.intern_await_exit();
		self.exit_code.unwrap()
		// because we own `self`, the destructor drop() gets called
	}
pub fn exit ( mut self ) -> int { self . intern_await_exit ( ) ; self . exit_code . unwrap ( ) // because we own `self`, the destructor drop() gets called }
Exit the VM if it is not EXITED.
Exit the VM if it is not EXITED .
mut self