8072034: (process) ProcessBuilder.start and Runtime.exec UnsupportedOperationException editorial cleanup
Reviewed-by: alanb
--- a/jdk/src/java.base/share/classes/java/lang/ProcessBuilder.java Thu Feb 12 10:34:35 2015 -0500
+++ b/jdk/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/jdk/src/java.base/share/classes/java/lang/Runtime.java Thu Feb 12 10:34:35 2015 -0500
+++ b/jdk/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.