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

backslash character incorrectly interpreted in file passed as @files

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 6
    • 1.4.2_04
    • docs
    • beta2
    • x86
    • windows_xp
    • Verified

      Javadoc tool has problems on Windows platform when arguments are passed through a file as suggested at <http://java.sun.com/j2se/1.4.2/docs/tooldocs/windows/javadoc.html#argumentfiles>. If such a file contains path argument containing spaces in its name then it must be quoted but in such a case all backslash characters are interpreted as escapes and are removed unless doubled. The result is that argument

      "C:\Documents and Settings\home\JavaApp23\src\foo\Main.java"

      cause javadoc to fail with error:

      javadoc: File not found: "C:Documents and SettingshomeJavaApp23srcfooMain.java"

            irabinovsunw Isaac Rabinovitch (Inactive)
            dkonecny David Konecny
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: