mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8219487: j.l.c.ClassDesc spec should contain precise assertions for one parameter's methods
Reviewed-by: darcy, jlaskey
This commit is contained in:
parent
854c0539c4
commit
c748887332
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue