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

-Xstdout (javac non-standard option) does not work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.0
    • 1.4.0
    • tools
    • beta2
    • x86
    • windows_98
    • Verified



      Name: krC82822 Date: 06/02/2001


      java version "1.4.0-beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta-b65)
      Java HotSpot(TM) Client VM (build 1.4.0-beta-b65, mixed mode)

      javac -Xstdout <filename> ... does not appear to work

      "javac -Xstdout hak.tmp foo.java"

      (where foo.java is a source file containing errors) gives
      a) a zero-length hak.temp, and
      b) creates a file "-Xstdout" containing the message:
          "javac: error writing -Xstdout; java.io.FileNotFoundException: -Xstdout (Cannot
         create a file when that file already exists)", followed by the output which
         would be produced by "javac -help".

      -----------

      31 May 2001, eval1127@eng -- was able to reproduce on Windows ME
      (I got only the output from java --help in the file).

      #4312654 is marked as fixed in merlin (final),
      not merlin-beta (though it's marked as integrated there).

      (Review ID: 125191)
      ======================================================================

            gafter Neal Gafter (Inactive)
            kryansunw Kevin Ryan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: