-
Bug
-
Resolution: Fixed
-
P4
-
25
-
Since jdk-25+2-39-gdbffe33251d.
-
b03
-
generic
-
generic
After JDK-8345263, lint warnings in compiler.properties are now annotated with their corresponding lint categories, which is a great improvement.
However, the build process does not verify these categories. As a result, errors are possible, and indeed there is one already:
# lint: dangling
compiler.warn.dangling.doc.comment=\
documentation comment is not attached to any declaration
There is no such lint category "dangling"; it should be "dangling-doc-comments".
This typo should be fixed, but also the build process should be updated to automatically fail in this scenario if it occurs again in the future.
However, the build process does not verify these categories. As a result, errors are possible, and indeed there is one already:
# lint: dangling
compiler.warn.dangling.doc.comment=\
documentation comment is not attached to any declaration
There is no such lint category "dangling"; it should be "dangling-doc-comments".
This typo should be fixed, but also the build process should be updated to automatically fail in this scenario if it occurs again in the future.
- relates to
-
JDK-8345263 Make sure that lint categories are used correctly when logging lint warnings
-
- Resolved
-
- links to
-
Commit(master) openjdk/jdk/87804f24
-
Review(master) openjdk/jdk/22769