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

Javadoc allows use of both options "--module-source-path" and "--source-path" at the same time.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9-repo-jigsaw
    • tools

      Javadoc allows use of both options "--module-source-path" and "--source-path" at the same time.
      Try javadoc --module-source-path modules --source-path src src/pkg/A.java


      Javac reports error
      javac: cannot specify both --source-path and --module-source-path

            jjg Jonathan Gibbons
            anazarov Andrey Nazarov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: