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

javadoc does not support --add-exports well

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P2 P2
    • None
    • 9
    • 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.

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

              Created:
              Updated:
              Resolved: