javadoc does not support --add-exports well

XMLWordPrintable

    • Type: Bug
    • Resolution: Not an Issue
    • Priority: P2
    • None
    • Affects Version/s: 9
    • Component/s: tools
    • None

      "--add-exports jdk.javadoc/jdk.javadoc.internal.tool=ALL-UNNAMED" does not resolve below issue in javadoc doclet:
      "
      javadoc: error - fatal error encountered: java.lang.IllegalAccessError: class sincetagchecker.SinceTagElementVisitor (in unnamed module @0x24da3c3b) cannot access class jdk.javadoc.internal.tool.DocEnvImpl (in module jdk.javadoc) because module jdk.javadoc does not export jdk.javadoc.internal.tool to unnamed module @0x24da3c3b
      "
      The issue is reproducible when --add-exports is added in javadoc command line or in javadoc @file.

            Assignee:
            Vicente Arturo Romero Zaldivar
            Reporter:
            Hamlin Li
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: