mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8224175: Fix inconsistencies in @jls and @jvms tags
Reviewed-by: jjg, rfield
This commit is contained in:
parent
37572de2a1
commit
6930e80c31
29 changed files with 108 additions and 109 deletions
|
@ -999,7 +999,7 @@ public final class Class<T> implements java.io.Serializable,
|
|||
*
|
||||
* @since 9
|
||||
* @spec JPMS
|
||||
* @jls 6.7 Fully Qualified Names
|
||||
* @jls 6.7 Fully Qualified Names
|
||||
*/
|
||||
public String getPackageName() {
|
||||
String pn = this.packageName;
|
||||
|
@ -3910,7 +3910,8 @@ public final class Class<T> implements java.io.Serializable,
|
|||
* SecurityManager#checkPackageAccess s.checkPackageAccess()}
|
||||
* denies access to the package of the returned class
|
||||
* @since 11
|
||||
* @jvms 4.7.28 and 4.7.29 NestHost and NestMembers attributes
|
||||
* @jvms 4.7.28 The {@code NestHost} Attribute
|
||||
* @jvms 4.7.29 The {@code NestMembers} Attribute
|
||||
* @jvms 5.4.4 Access Control
|
||||
*/
|
||||
@CallerSensitive
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue