8236877: Add "record" to descriptions in java.lang.{annotation, reflect}

Reviewed-by: mchung, lancea, chegar
This commit is contained in:
Joe Darcy 2020-01-10 09:15:20 -08:00
parent feccf3cdb6
commit 78df4d412e
2 changed files with 11 additions and 11 deletions

View file

@ -71,7 +71,8 @@ package java.lang.annotation;
* @jls 4.1 The Kinds of Types and Values
*/
public enum ElementType {
/** Class, interface (including annotation type), or enum declaration */
/** Class, interface (including annotation type), enum, or record
* declaration */
TYPE,
/** Field declaration (includes enum constants) */