8258140: Update @jls tags in java.base for renamed/renumbered sections

Reviewed-by: psandoz
This commit is contained in:
Joe Darcy 2020-12-15 16:48:31 +00:00
parent ce36aeaac3
commit e9113517d4
4 changed files with 6 additions and 6 deletions

View File

@ -66,7 +66,7 @@ import static java.util.Objects.requireNonNull;
* @see Class#getEnumConstants()
* @see java.util.EnumSet
* @see java.util.EnumMap
* @jls 8.9 Enum Types
* @jls 8.9 Enum Classes
* @jls 8.9.3 Enum Members
* @since 1.5
*/

View File

@ -33,8 +33,8 @@ package java.lang.annotation;
* type</em> for the repeatable annotation type.
*
* @since 1.8
* @jls 9.6.3 Repeatable Annotation Types
* @jls 9.7.5 Multiple Annotations of the Same Type
* @jls 9.6.3 Repeatable Annotation Interfaces
* @jls 9.7.5 Multiple Annotations of the Same Interface
*/
@Documented
@Retention(RetentionPolicy.RUNTIME)

View File

@ -72,7 +72,7 @@ package java.lang.annotation;
* @since 1.5
* @jls 9.6.4.1 @Target
* @jls 9.7.4 Where Annotations May Appear
* @jls 9.7.5 Multiple Annotations of the Same Type
* @jls 9.7.5 Multiple Annotations of the Same Interface
*/
@Documented
@Retention(RetentionPolicy.RUNTIME)

View File

@ -405,7 +405,7 @@ public final class Method extends Executable {
*
* @jls 8.4.3 Method Modifiers
* @jls 9.4 Method Declarations
* @jls 9.6.1 Annotation Type Elements
* @jls 9.6.1 Annotation Interface Elements
*/
public String toString() {
return sharedToString(Modifier.methodModifiers(),
@ -475,7 +475,7 @@ public final class Method extends Executable {
*
* @jls 8.4.3 Method Modifiers
* @jls 9.4 Method Declarations
* @jls 9.6.1 Annotation Type Elements
* @jls 9.6.1 Annotation Interface Elements
*/
@Override
public String toGenericString() {