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

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

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 10
    • None
    • core-libs
    • None

      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.

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

              Created:
              Updated:
              Resolved: