-
Enhancement
-
Resolution: Fixed
-
P3
-
repo-valhalla
The NestMembers attributes is allowed to contain duplicates and references to "self" - though javac would never produce such an entry. To avoid penalizing all correct uses of NestMembers the getNestMembers() call does not attempt to remove any duplicates, so the spec needs some minor adjustments. An API adjustment plus an ImplNote should suffice.
Also the current wording:
* <p>Each listed nest member must be validated by checking its own
* declared {@linkplain #getNestHost() nest host}. Any exceptions that occur
* as part of this process will be thrown.
can be confusing because getNestHost never throws any exceptions - so we should not link to getNestHost.
Also the current wording:
* <p>Each listed nest member must be validated by checking its own
* declared {@linkplain #getNestHost() nest host}. Any exceptions that occur
* as part of this process will be thrown.
can be confusing because getNestHost never throws any exceptions - so we should not link to getNestHost.