8026884: test for fix of JDK-8021398 does not have @bug tag
authoremc
Wed, 13 Nov 2013 15:48:21 -0500
changeset 21669 582457f85c7b
parent 21668 b62ce4a9635f
child 21670 ca3553133ede
8026884: test for fix of JDK-8021398 does not have @bug tag 8028021: @since 1.8 missing for certain methods in java.lang.reflect.Method in generated api docs Summary: two documentation fixes Reviewed-by: darcy
jdk/src/share/classes/java/lang/reflect/Executable.java
jdk/test/java/lang/reflect/Parameter/GetAnnotatedTypeTest.java
--- a/jdk/src/share/classes/java/lang/reflect/Executable.java	Wed Nov 13 11:26:01 2013 -0800
+++ b/jdk/src/share/classes/java/lang/reflect/Executable.java	Wed Nov 13 15:48:21 2013 -0500
@@ -240,6 +240,7 @@
      * declared or implicitly declared or neither) for the executable
      * represented by this object.
      *
+     * @since 1.8
      * @return The number of formal parameters for the executable this
      * object represents
      */
@@ -290,6 +291,7 @@
      * have unique names, or names that are legal identifiers in the
      * Java programming language (JLS 3.8).
      *
+     * @since 1.8
      * @throws MalformedParametersException if the class file contains
      * a MethodParameters attribute that is improperly formatted.
      * @return an array of {@code Parameter} objects representing all
--- a/jdk/test/java/lang/reflect/Parameter/GetAnnotatedTypeTest.java	Wed Nov 13 11:26:01 2013 -0800
+++ b/jdk/test/java/lang/reflect/Parameter/GetAnnotatedTypeTest.java	Wed Nov 13 15:48:21 2013 -0500
@@ -23,6 +23,7 @@
 
 /*
  * @test
+ * @bug 8021398
  * @compile -parameters GetAnnotatedTypeTest.java
  * @run main GetAnnotatedTypeTest
  * @summary javac should generate method parameters correctly.