mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8305206: Add @spec tags in java.base/java.* (part 1)
Reviewed-by: alanb, naoto, darcy, lancea, dfuchs, iris, mchung
This commit is contained in:
parent
ccbb0e8d89
commit
c6bd489cc8
60 changed files with 268 additions and 2 deletions
|
@ -71,6 +71,7 @@ import sun.security.util.SecurityConstants;
|
|||
* object corresponds to a member in an exported or open package
|
||||
* (see {@link #setAccessible(boolean)}). </p>
|
||||
*
|
||||
* @spec jni/index.html Java Native Interface Specification
|
||||
* @jls 6.6 Access Control
|
||||
* @since 1.2
|
||||
* @revised 9
|
||||
|
@ -202,6 +203,8 @@ public class AccessibleObject implements AnnotatedElement {
|
|||
* @param flag the new value for the {@code accessible} flag
|
||||
* @throws InaccessibleObjectException if access cannot be enabled
|
||||
* @throws SecurityException if the request is denied by the security manager
|
||||
*
|
||||
* @spec jni/index.html Java Native Interface Specification
|
||||
* @see #trySetAccessible
|
||||
* @see java.lang.invoke.MethodHandles#privateLookupIn
|
||||
* @revised 9
|
||||
|
@ -268,6 +271,7 @@ public class AccessibleObject implements AnnotatedElement {
|
|||
* {@code false} if access cannot be enabled.
|
||||
* @throws SecurityException if the request is denied by the security manager
|
||||
*
|
||||
* @spec jni/index.html Java Native Interface Specification
|
||||
* @since 9
|
||||
* @see java.lang.invoke.MethodHandles#privateLookupIn
|
||||
*/
|
||||
|
@ -461,6 +465,7 @@ public class AccessibleObject implements AnnotatedElement {
|
|||
* declaring class} of the member.</li>
|
||||
* </ul>
|
||||
*
|
||||
* @spec jni/index.html Java Native Interface Specification
|
||||
* @since 9
|
||||
* @jls 6.6 Access Control
|
||||
* @see #trySetAccessible
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue