-
Bug
-
Resolution: Fixed
-
P4
-
None
-
None
-
b25
-
generic
-
generic
The JavaDoc search index writer does not escape or remove line break characters. This causes the generated search index file to contain illegal JSON, resulting in the whole search functionality to be unavailable.
The solution is to either escape or remove line breaks in search tags. Additionally, it might be a good idea to make sure search for other categories is still available if one of the index files is corrupt.
An alternative solution would be to make sure that line breaks are removed from search tags before passing them to the index writer, and throw if the index writer sees a line break.
The solution is to either escape or remove line breaks in search tags. Additionally, it might be a good idea to make sure search for other categories is still available if one of the index files is corrupt.
An alternative solution would be to make sure that line breaks are removed from search tags before passing them to the index writer, and throw if the index writer sees a line break.
- relates to
-
JDK-8305407 ExternalSpecsWriter should ignore white-space differences in spec titles
-
- Resolved
-