-
Enhancement
-
Resolution: Fixed
-
P4
-
None
-
b18
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
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)
- is blocked by
-
JDK-8236142 DocTrees should provide getCharacters(EntityTree)
- Resolved
- relates to
-
JDK-8236142 DocTrees should provide getCharacters(EntityTree)
- Resolved
-
JDK-8253996 Javac error on jdk16 build 18: invalid flag: -Xdoclint:-missing
- Closed