OpenJDK / jdk / jdk
changeset 54637:b71940f7fa96
8219487: j.l.c.ClassDesc spec should contain precise assertions for one parameter's methods
Reviewed-by: darcy, jlaskey
author | vromero |
---|---|
date | Fri, 26 Apr 2019 12:49:51 -0400 |
parents | 515568d2e85c |
children | 9b8926bf85c1 |
files | src/java.base/share/classes/java/lang/constant/ClassDesc.java |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/java.base/share/classes/java/lang/constant/ClassDesc.java Fri Apr 26 09:09:39 2019 -0700 +++ b/src/java.base/share/classes/java/lang/constant/ClassDesc.java Fri Apr 26 12:49:51 2019 -0400 @@ -72,7 +72,7 @@ * * @param name the fully qualified (dot-separated) binary class name * @return a {@linkplain ClassDesc} describing the desired class - * @throws NullPointerException if any argument is {@code null} + * @throws NullPointerException if the argument is {@code null} * @throws IllegalArgumentException if the name string is not in the * correct format */ @@ -123,7 +123,7 @@ * * @param descriptor a field descriptor string * @return a {@linkplain ClassDesc} describing the desired class - * @throws NullPointerException if any argument is {@code null} + * @throws NullPointerException if the argument is {@code null} * @throws IllegalArgumentException if the name string is not in the * correct format * @jvms 4.3.2 Field Descriptors @@ -193,7 +193,7 @@ * * @param nestedName the unqualified name of the nested class * @return a {@linkplain ClassDesc} describing the nested class - * @throws NullPointerException if any argument is {@code null} + * @throws NullPointerException if the argument is {@code null} * @throws IllegalStateException if this {@linkplain ClassDesc} does not * describe a class or interface type * @throws IllegalArgumentException if the nested class name is invalid