Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-5069132

(spec) Runnable should have "see also" to Callable

XMLWordPrintable

    • b55
    • x86
    • windows_xp

      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)
      ======================================================================

            martin Martin Buchholz
            gmanwanisunw Girish Manwani (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: