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

System.java should provide a way to get original in, out, and err streams

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Not an Issue
    • Icon: P4 P4
    • None
    • 1.2.0, 1.3.0
    • core-libs
    • None
    • generic, sparc
    • generic, solaris_2.6

      From: ###@###.###
      To: ###@###.###
      Subject: In, Out & Err
      Date: Tue, 9 Feb 1999 09:12:34 -0000

      In java.lang.System there are three standard streams; in, out and err.
      Along with these are three methods to allow the user to set a new stream,
      these are; setIn(), setOut(), setErr().

      It seems strange that there are not complimentary getIn(), getOut(), and
      getErr() methods to return the current streams so that these streams can be
      reset to their original reference once tasks have been completed.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: