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

javac/javadoc expands @files incorrectly

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: tools
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b140
    • Verification:
      Verified

      Description

      From Jim Gish:

      Here's the simple case.

      I have a file, jims.tags which has a single line:

          -tag jims.tag:optcmf:"Jim's Famous Tag"

      When I separate that out and put it on the command line:

          javadoc pkg.test -sourcepath . -tag jims.tag:optcmf:"Jim's Famous Tag"

      it all works fine.

      However, when I try:

          javadoc pkg.test -sourcepath . @jims.tags

      I get:

          javadoc: error - Illegal package name: "Jim's Famous Tag"
          Loading source files for package pkg.test...
          1 error

      I've tried various things without success. What's up?

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jjg Jonathan Gibbons
              Reporter:
              jjg Jonathan Gibbons
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: