8210244: {@value} should be permitted in module documentation

Reviewed-by: jjg, sundar
This commit is contained in:
Priya Lakshmi Muthuswamy 2018-10-31 10:29:59 +05:30
parent 7ce1436913
commit 99621df489
3 changed files with 82 additions and 4 deletions

View file

@ -61,9 +61,7 @@ public class ValueTaglet extends BaseTaglet {
* Construct a new ValueTaglet.
*/
public ValueTaglet() {
super(VALUE.tagName, true,
EnumSet.of(Site.OVERVIEW, Site.PACKAGE, Site.TYPE, Site.CONSTRUCTOR,
Site.METHOD, Site.FIELD)); // not Site.MODULE at this time!
super(VALUE.tagName, true, EnumSet.allOf(Site.class));
}
/**