8288524: Allow @systemProperty to appear in overview documentation

Reviewed-by: jjg
This commit is contained in:
Pavel Rappo 2022-06-27 19:33:16 +00:00
parent caa6b74b5b
commit 17ef8cae33
2 changed files with 3 additions and 4 deletions
src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/taglets
test/langtools/jdk/javadoc/doclet/testTaglets

@ -38,9 +38,8 @@ import java.util.EnumSet;
*/
public class SystemPropertyTaglet extends BaseTaglet {
SystemPropertyTaglet(){
super(DocTree.Kind.SYSTEM_PROPERTY, true, EnumSet.of(Location.CONSTRUCTOR, Location.METHOD, Location.FIELD,
Location.PACKAGE, Location.MODULE, Location.TYPE));
SystemPropertyTaglet() {
super(DocTree.Kind.SYSTEM_PROPERTY, true, EnumSet.allOf(Location.class));
}
@Override

@ -22,7 +22,7 @@
@since: block overview module package type constructor method field ...... ........
{@snippet}: ..... overview module package type constructor method field inline ........
{@summary}: ..... overview module package type constructor method field inline ........
{@systemProperty}: ..... ........ module package type constructor method field inline ........
{@systemProperty}: ..... overview module package type constructor method field inline ........
@throws: block ........ ...... ....... .... constructor method ..... ...... ........
@treatAsPrivate: block ........ ...... ....... type ........... method field ...... ........
@uses: block ........ module ....... .... ........... ...... ..... ...... ........