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

RFE: Need -Xstdout option for java command

    XMLWordPrintable

Details

    • Enhancement
    • Status: Closed
    • P4
    • Resolution: Duplicate
    • 1.4.1
    • None
    • hotspot
    • x86
    • windows_xp

    Description



      Name: rmT116609 Date: 10/30/2002


      FULL PRODUCT VERSION :
      java version "1.4.1_01"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-b01)
      Java HotSpot(TM) Client VM (build 1.4.1_01-b01, mixed mode)

      A DESCRIPTION OF THE PROBLEM :
      The javac command line tool has an excellent option, -Xstdout <someFileName>
      which allows you to specify a redirection of its output to a named file, as opposed to merely going to the console by default.

      The java command (and other commands, like javadoc etc) needs the exact same option.

      CUSTOMER WORKAROUND :
      Sure, you can modify your Java code to redirect System.out, but what if you do not have access to the source? Or do not want to modify it? Introducing a -Xstdout option at the command line would make things simpler.
      (Review ID: 166382)
      ======================================================================

      Attachments

        Issue Links

          Activity

            People

              jloizeausunw Jane Loizeaux (Inactive)
              rmandalasunw Ranjith Mandala (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: