src/java.base/share/classes/java/lang/reflect/AccessibleObject.java
changeset 50735 2f2af62dfac7
parent 50091 05979f6ba560
child 52020 4c247dde38ed
equal deleted inserted replaced
50734:0828a0f6676b 50735:2f2af62dfac7
    45  * permits sophisticated applications with sufficient privilege, such as Java
    45  * permits sophisticated applications with sufficient privilege, such as Java
    46  * Object Serialization or other persistence mechanisms, to manipulate objects
    46  * Object Serialization or other persistence mechanisms, to manipulate objects
    47  * in a manner that would normally be prohibited.
    47  * in a manner that would normally be prohibited.
    48  *
    48  *
    49  * <p> Java language access control prevents use of private members outside
    49  * <p> Java language access control prevents use of private members outside
    50  * their class; package access members outside their package; protected members
    50  * their top-level class; package access members outside their package; protected members
    51  * outside their package or subclasses; and public members outside their
    51  * outside their package or subclasses; and public members outside their
    52  * module unless they are declared in an {@link Module#isExported(String,Module)
    52  * module unless they are declared in an {@link Module#isExported(String,Module)
    53  * exported} package and the user {@link Module#canRead reads} their module. By
    53  * exported} package and the user {@link Module#canRead reads} their module. By
    54  * default, Java language access control is enforced (with one variation) when
    54  * default, Java language access control is enforced (with one variation) when
    55  * {@code Field}s, {@code Method}s, or {@code Constructor}s are used to get or
    55  * {@code Field}s, {@code Method}s, or {@code Constructor}s are used to get or