hg: jigsaw/jake/jdk: Add AccessibleObject::canAccess and trySetAccessible

Mandy Chung mandy.chung at oracle.com
Tue Feb 7 19:19:32 UTC 2017


This is included in the module system refresh discussion [1] to avoid the merge conflict if it were separated from it.  Your feedback is welcome and appreciated. 

Mandy
[1] http://mail.openjdk.java.net/pipermail/jigsaw-dev/2017-February/011231.html

> On Feb 7, 2017, at 6:05 AM, David M. Lloyd <david.lloyd at redhat.com> wrote:
> 
> I don't recall any corresponding discussion of this, but the change looks like a good idea to me.
> 
> On 02/04/2017 05:41 PM, mandy.chung at oracle.com wrote:
>> Changeset: 335657c73d0b
>> Author:    mchung
>> Date:      2017-02-04 15:41 -0800
>> URL:       http://hg.openjdk.java.net/jigsaw/jake/jdk/rev/335657c73d0b
>> 
>> Add AccessibleObject::canAccess and trySetAccessible
>> 
>> ! src/java.base/share/classes/java/lang/SecurityManager.java
>> ! src/java.base/share/classes/java/lang/System.java
>> ! src/java.base/share/classes/java/lang/invoke/MethodHandles.java
>> ! src/java.base/share/classes/java/lang/reflect/AccessibleObject.java
>> ! src/java.base/share/classes/java/security/Security.java
>> ! src/java.base/share/classes/jdk/internal/misc/JavaLangAccess.java
>> + test/java/lang/reflect/AccessibleObject/CanAccessTest.java
>> + test/java/lang/reflect/AccessibleObject/TrySetAccessibleTest.java
>> 
> 
> -- 
> - DML



More information about the jigsaw-dev mailing list