jdk/src/java.base/share/classes/java/lang/Runtime.java
changeset 28750 a1dae439cdab
parent 27184 2996674bd701
child 28872 82a09f5a7ed6
--- a/jdk/src/java.base/share/classes/java/lang/Runtime.java	Fri Jan 30 12:56:12 2015 -0800
+++ b/jdk/src/java.base/share/classes/java/lang/Runtime.java	Fri Jan 30 16:13:04 2015 -0500
@@ -564,6 +564,9 @@
      * <code>cmdarray</code> as its argument. This may result in a
      * {@link SecurityException} being thrown.
      *
+     * <p>If the operating system does not support the creation of
+     * processes, an {@link UnsupportedOperationException} will be thrown.
+     *
      * <p>Starting an operating system process is highly system-dependent.
      * Among the many things that can go wrong are:
      * <ul>
@@ -597,6 +600,9 @@
      *          {@link SecurityManager#checkExec checkExec}
      *          method doesn't allow creation of the subprocess
      *
+     * @throws  UnsupportedOperationException
+     *          If the operating system does not support the creation of processes.
+     *
      * @throws  IOException
      *          If an I/O error occurs
      *