[lworld] setAccessible change and VarHandle test update
mandy.chung at oracle.com
Thu Mar 8 21:42:07 UTC 2018
On 3/8/18 12:27 PM, Paul Sandoz wrote:
> Looks good.
>> On Mar 6, 2018, at 3:40 PM, mandy chung <mandy.chung at oracle.com> wrote:
>> Any other tests should be updated?
> There are other tests that tunnel through method handles, see VarHandleTestMethodHandleAccess*.
OK. I will look at them next.
>> Value class is new and this is a good opportunity to enforce
>> final is final on value classes. So setAccessible is not
>> supported on static final and instance fields on value types.
> Which also means the VM can treat these fields as final too. Is that being tracked somewhere?
Not sure. I will talk with David and find out.
More information about the valhalla-dev