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

move doclint to jdk.javadoc module

    XMLWordPrintable

Details

    • b18

    Description

      doclint is currently in jdk.compiler/com.sun.tools.doclint

      It was placed there during modularization because of direct references from java.

      Arguably, a better arrangement would be to move doclint to the jdk.javadoc module, and make it available to javac via a private JDK service.

      ---

      One minor issue: jshell makes some questionable/inappropriate direct references to doclint internal definitions that will need to be addressed. These are:
      1. simple use of selected HtmlTag enum constants. (Easy enough to fix)
      2. use of a mapping from `Entity` to char value. (Bigger deal; may want to expose mapping in `DocTrees`, such as `char getValue(Entity)` etc) JDK-8236142

      Attachments

        Issue Links

          There are no Sub-Tasks for this issue.

          Activity

            People

              jjg Jonathan Gibbons
              jjg Jonathan Gibbons
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: