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

(thread spec) Thread.dumpStack output destination should be specified

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 6
    • 6
    • core-libs
    • b53
    • generic
    • generic

      Thread.dumpStack is just a convenient veneer around
      Throwable.printStackTrace. However, it is specified
      that Throwable.printStackTrace is printed to the standard error stream,
      but the destination stream for Thread.dumpStack is unspecified.
      It needs to be specified so that programs can redirect it or capture it
      reliably. The current implemented destination of the standard error stream
      is fine and should be specified.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: