--- old/src/java.base/share/classes/sun/misc/Signal.java 2015-05-18 19:54:31.944747450 +0400 +++ new/src/java.base/share/classes/sun/misc/Signal.java 2015-05-18 19:54:31.796747451 +0400 @@ -50,7 +50,7 @@ * Signal objects are created based on their names. For example: *
+ * * constructs a signal object corresponding to* new Signal("INT"); - *
SIGINT
, which is
* typically produced when the user presses Ctrl-C
at the command line.
* The Signal
constructor throws IllegalArgumentException
@@ -64,7 +64,7 @@
* }
* };
* Signal.handle(new Signal("INT"), handler);
- *
+ *
*
* @author Sheng Liang
* @author Bill Shannon
@@ -149,7 +149,7 @@
*
* @param sig a signal
* @param handler the handler to be registered with the given signal.
- * @result the old handler
+ * @return the old handler
* @exception IllegalArgumentException the signal is in use by the VM
* @see sun.misc.Signal#raise(Signal sig)
* @see sun.misc.SignalHandler