On Thu, 18 Feb 2021 23:55:28 GMT, Jonathan Gibbons <j...@openjdk.org> wrote:
> This is a conceptually simple change to ensure that all "id"s generated by > the standard doclet use `-` to separate the words of the id. The `src/` > change is primarily in the recently-new `HtmlIds` class, but there was one > oversight in the recent work for `HtmlIds` in `SourceToHTMLConverter`, which > is now fixed. > > It's notable now that all "static" ids generated by the doclet contain at > least one `-`, and so never conflict with the id for any field name, which > cannot contain a `-`. > > The tests are updated; all tests pass, of course, including the implicit link > check that is default on in almost all tests. A full doc check run on a full > JDK docs build did not reveal any unexpected problems. It wasn't clear > which tests to nominate with a bug number, and so (somewhat unusually) I have > added the bug number to all affected tests. This pull request has now been integrated. Changeset: c30a90bb Author: Jonathan Gibbons <j...@openjdk.org> URL: https://git.openjdk.java.net/jdk/commit/c30a90bb Stats: 307 lines in 33 files changed: 1 ins; 1 del; 305 mod 8261976: Normalize id's used by the standard doclet Reviewed-by: hannesw ------------- PR: https://git.openjdk.java.net/jdk/pull/2635