RFR: JDK-8252717: Integrate/merge legacy standard doclet diagnostics and doclint
Jonathan Gibbons
jjg at openjdk.java.net
Fri Jun 3 16:13:34 UTC 2022
On Fri, 3 Jun 2022 15:59:04 GMT, Pavel Rappo <prappo at openjdk.org> wrote:
> > I did a visual inspection over the Checker class.
>
> > The test is set up to be a framework to accommodate new cases if any should arise.
>
> This is good. It would be even better if we had a mechanism to reduce risk of diagnostic duplication in the future. I don't have any concrete proposal, but unique internal error codes shared between doclint and doclet come to mind.
I would also like to have a policy to align the user-facing content of the diagnostic message. This includes the severity (warning or error) as well as the position and message text, including substituted values.
-------------
PR: https://git.openjdk.java.net/jdk/pull/9006
More information about the build-dev
mailing list