JDK 9 RFR of JDK-8177949: @link tag arguments need correction for ElementType documentation

joe darcy joe.darcy at oracle.com
Tue Apr 4 17:53:30 UTC 2017


Hello,

Please review the innocuous doc-only patch below to fix

     JDK-8177949: @link tag arguments need correction for ElementType 
documentation

Thanks,

-Joe


diff -r 1a8997b4292d 
src/java.base/share/classes/java/lang/annotation/ElementType.java
--- a/src/java.base/share/classes/java/lang/annotation/ElementType.java 
Tue Apr 04 08:10:13 2017 -0700
+++ b/src/java.base/share/classes/java/lang/annotation/ElementType.java 
Tue Apr 04 10:51:16 2017 -0700
@@ -1,5 +1,5 @@
  /*
- * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights 
reserved.
+ * Copyright (c) 2003, 2017, 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
@@ -28,7 +28,7 @@
  /**
   * The constants of this enumerated type provide a simple 
classification of the
   * syntactic locations where annotations may appear in a Java program. 
These
- * constants are used in {@link Target java.lang.annotation.Target}
+ * constants are used in {@link java.lang.annotation.Target Target}
   * meta-annotations to specify where it is legal to write annotations of a
   * given type.
   *



More information about the core-libs-dev mailing list