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

Make toString() methods of "task" objects more useful

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10
    • Component/s: core-libs
    • Labels:
      None

      Description

      Several task objects (implementing Runnable, Callable, or Future) do not override toString, but should.

      Runnable -> Callable adapters in Executors and ForkJoinPool

      FutureTask should have a useful toString method like the one in CompletableFuture.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              martin Martin Buchholz
              Reporter:
              martin Martin Buchholz
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: