[patch]: Update references to JLS in doc comment
Alex Buckley
alex.buckley at oracle.com
Mon Mar 2 18:14:30 UTC 2015
JLS section 9.6 (Annotation Types) has been restructured over the years,
both to clarify the spec and to support new features like repeatable
annotation types. The edits below are accurate, but further edits are
required, so I have filed
https://bugs.openjdk.java.net/browse/JDK-8074126. Thanks for bringing it up.
Alex
On 3/1/2015 1:20 PM, helbig.wolfgang at kabelbw.de wrote:
> # HG changeset patch
> # User helbig
> # Date 1425226607 -3600
> # Sun Mar 01 17:16:47 2015 +0100
> # Node ID 1ad77450ec478b6b48aa56046c3e12f71f79719e
> # Parent 0735315a907abfba5a192c3f9235ecda6e03f8fa
> update references to JLS in doc comments
>
> diff --git a/src/java.base/share/classes/java/lang/Override.java b/src/java.base/share/classes/java/lang/Override.java
> --- a/src/java.base/share/classes/java/lang/Override.java
> +++ b/src/java.base/share/classes/java/lang/Override.java
> @@ -43,7 +43,7 @@
> *
> * @author Peter von der Ahé
> * @author Joshua Bloch
> - * @jls 9.6.1.4 @Override
> + * @jls 9.6.4.4 @Override
> * @since 1.5
> */
> @Target(ElementType.METHOD)
> diff --git a/src/java.base/share/classes/java/lang/SafeVarargs.java b/src/java.base/share/classes/java/lang/SafeVarargs.java
> --- a/src/java.base/share/classes/java/lang/SafeVarargs.java
> +++ b/src/java.base/share/classes/java/lang/SafeVarargs.java
> @@ -85,7 +85,7 @@
> * @since 1.7
> * @jls 4.7 Reifiable Types
> * @jls 8.4.1 Formal Parameters
> - * @jls 9.6.3.7 @SafeVarargs
> + * @jls 9.6.4.7 @SafeVarargs
> */
> @Documented
> @Retention(RetentionPolicy.RUNTIME)
>
More information about the jdk9-dev
mailing list