Generated by
JDiff

Class java.lang.Runtime

Documentation changed from old to new.

Removed Methods
Process exec(String[]) Executes the specified command and arguments in a separate process.
Process exec(String[], String[]) Executes the specified command and arguments in a separate process with the specified environment.
 

Added Methods
void addShutdownHook(Thread) Registers a new virtual-machine shutdown hook.
Process exec(String, String[], File) Executes the specified string command in a separate process with the specified environment and working directory.
Process exec(String[]) Executes the specified command and arguments in a separate process.
Process exec(String[], String[]) Executes the specified command and arguments in a separate process with the specified environment.
Process exec(String[], String[], File) Executes the specified command and arguments in a separate process with the specified environment and working directory.
void halt(int) Forcibly terminates the currently running Java virtual machine.
boolean removeShutdownHook(Thread) De-registers a previously-registered virtual-machine shutdown hook.
 

Changed Methods
void exit(int) Documentation changed from old to new.
Terminates the currently running Java virtual machine by initiating its shutdown sequence.
InputStream getLocalizedInputStream(InputStream) Documentation changed from old to new.
As of JDK 1.1, the preferred way translate a byte stream in the local encoding into a character stream in Unicode is via the InputStreamReader and BufferedReader classes.
OutputStream getLocalizedOutputStream(OutputStream) Documentation changed from old to new.
As of JDK 1.1, the preferred way to translate a Unicode character stream into a byte stream in the local encoding is via the OutputStreamWriter, BufferedWriter, and PrintWriter classes.
void runFinalizersOnExit(boolean) Documentation changed from old to new.
This method is inherently unsafe.
Process exec(String) Documentation changed from old to new.
Executes the specified string command in a separate process.
Process exec(String, String[]) Documentation changed from old to new.
Executes the specified string command in a separate process with the specified environment.