8303689: javac -Xlint could/should report on "dangling" doc comments

Reviewed-by: vromero, ihse, prr
This commit is contained in:
Jonathan Gibbons 2024-04-26 19:47:06 +00:00
parent f3bb3e2170
commit a920af233a
58 changed files with 575 additions and 89 deletions

View file

@ -1,5 +1,5 @@
#
# Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@ -23,7 +23,7 @@
# questions.
#
DISABLED_WARNINGS_java += this-escape
DISABLED_WARNINGS_java += dangling-doc-comments this-escape
DOCLINT += -Xdoclint:all/protected \
'-Xdoclint/package:java.*,javax.*'