Name: gm110360 Date: 06/28/2004
A DESCRIPTION OF THE PROBLEM :
Since, as java.util.concurrent .Callable's documentation says:
The Callable interface is similar to Runnable, in that both are designed for
classes whose instances are potentially executed by another thread. A
Runnable, however, does not return a result and cannot throw a checked
exception.
the documentation for java.lang.Runnable should probably point to
java.java.util.concurrent .Callable.
URL OF FAULTY DOCUMENTATION :
http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Runnable.html
(Incident Review ID: 281519)
======================================================================
A DESCRIPTION OF THE PROBLEM :
Since, as java.util.concurrent .Callable's documentation says:
The Callable interface is similar to Runnable, in that both are designed for
classes whose instances are potentially executed by another thread. A
Runnable, however, does not return a result and cannot throw a checked
exception.
the documentation for java.lang.Runnable should probably point to
java.java.util.concurrent .Callable.
URL OF FAULTY DOCUMENTATION :
http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Runnable.html
(Incident Review ID: 281519)
======================================================================