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

IAE while invoking javadoc with --patch-module

    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:
      b145
    • Verification:
      Verified

      Description

      Run from attached project
      javadoc --module-source-path src --patch-module m1=patch --module-path modules --module m2

      java.lang.IllegalArgumentException
              at jdk.compiler/com.sun.tools.javac.main.OptionHelper$GrumpyHelper.handleFileManagerOption(OptionHelper.java:111)
              at jdk.compiler/com.sun.tools.javac.main.Option.process(Option.java:1041)
              at jdk.compiler/com.sun.tools.javac.main.Option$7.process(Option.java:208)
              at jdk.javadoc/jdk.javadoc.internal.tool.ToolOption$25.process(ToolOption.java:224)
              at jdk.javadoc/jdk.javadoc.internal.tool.Start.parseArgs(Start.java:603)
              at jdk.javadoc/jdk.javadoc.internal.tool.Start.parseAndExecute(Start.java:349)
              at jdk.javadoc/jdk.javadoc.internal.tool.Start.begin(Start.java:295)
              at jdk.javadoc/jdk.javadoc.internal.tool.Start.begin(Start.java:239)
              at jdk.javadoc/jdk.javadoc.internal.tool.Main.execute(Main.java:63)
              at jdk.javadoc/jdk.javadoc.internal.tool.Main.main(Main.java:52)
      javadoc: error - fatal exception
      1 error

        Attachments

          Activity

            People

            Assignee:
            ksrini Kumar Srinivasan
            Reporter:
            anazarov Andrey Nazarov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: