You need to sign in or sign up before continuing.
提交 82b7b483 编写于 作者: E emc

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
上级 317942f2
...@@ -240,6 +240,7 @@ public abstract class Executable extends AccessibleObject ...@@ -240,6 +240,7 @@ public abstract class Executable extends AccessibleObject
* declared or implicitly declared or neither) for the executable * declared or implicitly declared or neither) for the executable
* represented by this object. * represented by this object.
* *
* @since 1.8
* @return The number of formal parameters for the executable this * @return The number of formal parameters for the executable this
* object represents * object represents
*/ */
...@@ -290,6 +291,7 @@ public abstract class Executable extends AccessibleObject ...@@ -290,6 +291,7 @@ public abstract class Executable extends AccessibleObject
* have unique names, or names that are legal identifiers in the * have unique names, or names that are legal identifiers in the
* Java programming language (JLS 3.8). * Java programming language (JLS 3.8).
* *
* @since 1.8
* @throws MalformedParametersException if the class file contains * @throws MalformedParametersException if the class file contains
* a MethodParameters attribute that is improperly formatted. * a MethodParameters attribute that is improperly formatted.
* @return an array of {@code Parameter} objects representing all * @return an array of {@code Parameter} objects representing all
......
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
/* /*
* @test * @test
* @bug 8021398
* @compile -parameters GetAnnotatedTypeTest.java * @compile -parameters GetAnnotatedTypeTest.java
* @run main GetAnnotatedTypeTest * @run main GetAnnotatedTypeTest
* @summary javac should generate method parameters correctly. * @summary javac should generate method parameters correctly.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册