changeset 11396:e0ebd5754629

8072034: (process) ProcessBuilder.start and Runtime.exec UnsupportedOperationException editorial cleanup Reviewed-by: alanb
author rriggs
date Thu, 12 Feb 2015 12:06:36 -0500
parents e276aa5b8a4b
children a0dad230aeb3
files src/java.base/share/classes/java/lang/ProcessBuilder.java src/java.base/share/classes/java/lang/Runtime.java
diffstat 2 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.base/share/classes/java/lang/ProcessBuilder.java	Thu Feb 12 10:34:35 2015 -0500
+++ b/src/java.base/share/classes/java/lang/ProcessBuilder.java	Thu Feb 12 12:06:36 2015 -0500
@@ -951,9 +951,6 @@
      * {@code command} array 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>
@@ -967,6 +964,9 @@
      * of the exception is system-dependent, but it will always be a
      * subclass of {@link IOException}.
      *
+     * <p>If the operating system does not support the creation of
+     * processes, an {@link UnsupportedOperationException} will be thrown.
+     *
      * <p>Subsequent modifications to this process builder will not
      * affect the returned {@link Process}.
      *
--- a/src/java.base/share/classes/java/lang/Runtime.java	Thu Feb 12 10:34:35 2015 -0500
+++ b/src/java.base/share/classes/java/lang/Runtime.java	Thu Feb 12 12:06:36 2015 -0500
@@ -564,9 +564,6 @@
      * <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>
@@ -579,6 +576,9 @@
      * of the exception is system-dependent, but it will always be a
      * subclass of {@link IOException}.
      *
+     * <p>If the operating system does not support the creation of
+     * processes, an {@link UnsupportedOperationException} will be thrown.
+     *
      *
      * @param   cmdarray  array containing the command to call and
      *                    its arguments.