< prev index next >
src/java.base/share/classes/java/lang/Class.java
Print this page
rev 50442 : [mq]: jep181-rev5
*** 3960,3971 ****
* <p>The list of nest members is permitted to contain duplicates, or to
* explicitly include the nest host, as specified in the Java Virtual Machine
* Specification. It is not required that an implementation of this method
* removes these duplicates.
*
! * @implNote This implementation does not remove duplicate nest members if they
! * are present.
*
* @return an array of all classes and interfaces in the same nest as
* this class
*
* @throws LinkageError
--- 3960,3971 ----
* <p>The list of nest members is permitted to contain duplicates, or to
* explicitly include the nest host, as specified in the Java Virtual Machine
* Specification. It is not required that an implementation of this method
* removes these duplicates.
*
! * @implNote The reference implementation does not remove duplicate nest
! * members if they are present.
*
* @return an array of all classes and interfaces in the same nest as
* this class
*
* @throws LinkageError
< prev index next >