diff -r fa61a37ed42b -r c17100862d86 jdk/src/share/classes/java/lang/Thread.java --- a/jdk/src/share/classes/java/lang/Thread.java Wed Jul 03 19:47:15 2013 -0400 +++ b/jdk/src/share/classes/java/lang/Thread.java Wed Jul 03 17:08:14 2013 -0700 @@ -865,8 +865,8 @@ * will receive an {@link InterruptedException}. * *
If this thread is blocked in an I/O operation upon an {@link
- * java.nio.channels.InterruptibleChannel interruptible
- * channel} then the channel will be closed, the thread's interrupt
+ * java.nio.channels.InterruptibleChannel InterruptibleChannel}
+ * then the channel will be closed, the thread's interrupt
* status will be set, and the thread will receive a {@link
* java.nio.channels.ClosedByInterruptException}.
*
@@ -1883,6 +1883,7 @@
* there is no default.
* @since 1.5
* @see #setDefaultUncaughtExceptionHandler
+ * @return the default uncaught exception handler for all threads
*/
public static UncaughtExceptionHandler getDefaultUncaughtExceptionHandler(){
return defaultUncaughtExceptionHandler;
@@ -1895,6 +1896,7 @@
* ThreadGroup object is returned, unless this thread
* has terminated, in which case null is returned.
* @since 1.5
+ * @return the uncaught exception handler for this thread
*/
public UncaughtExceptionHandler getUncaughtExceptionHandler() {
return uncaughtExceptionHandler != null ?