8219487: j.l.c.ClassDesc spec should contain precise assertions for one parameter's methods

Reviewed-by: darcy, jlaskey
This commit is contained in:
Vicente Romero 2019-04-26 12:49:51 -04:00
parent 854c0539c4
commit c748887332

View file

@ -72,7 +72,7 @@ public interface ClassDesc
*
* @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 @@ public interface ClassDesc
*
* @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 @@ public interface ClassDesc
*
* @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