8294471: SpecTaglet is inconsistent with SpecTree for inline property

Reviewed-by: prappo
This commit is contained in:
Jonathan Gibbons 2022-09-27 21:18:12 +00:00
parent 763d4bf074
commit 22b59b66d9
3 changed files with 4 additions and 9 deletions
src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/taglets
test/langtools/jdk/javadoc/doclet/testTaglets

@ -44,12 +44,7 @@ import jdk.javadoc.internal.doclets.toolkit.util.Utils;
public class SpecTaglet extends BaseTaglet implements InheritableTaglet {
public SpecTaglet() {
super(DocTree.Kind.SPEC, true, EnumSet.allOf(Location.class));
}
@Override
public boolean isBlockTag() {
return true;
super(DocTree.Kind.SPEC, false, EnumSet.allOf(Location.class));
}
@Override

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2018, 2022, 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 @@
/*
* @test
* @bug 8202947
* @bug 8202947 8294471
* @summary Test TagletManager initialization
* @library /tools/lib ../../lib
* @modules jdk.javadoc/jdk.javadoc.internal.tool

@ -21,7 +21,7 @@
@serialField: block ........ ...... ....... .... ........... ...... field ...... ........
@since: block overview module package type constructor method field ...... ........
{@snippet}: ..... overview module package type constructor method field inline ........
@spec: block overview module package type constructor method field inline ........
@spec: block overview module package type constructor method field ...... ........
{@summary}: ..... overview module package type constructor method field inline ........
{@systemProperty}: ..... overview module package type constructor method field inline ........
@throws: block ........ ...... ....... .... constructor method ..... ...... ........