On 3/28/19 4:46 PM, Peter Levart wrote:
Reflection.verifyMemberAccess() is called not only from AccessibleObject.slowVerifyAccess() but from elsewhere too.For example, from ReflectUtil.ensureMemberAccess which is used in @CS AtomicXxxFieldUpdater(s), or from @CS java.util.ServiceLoader.load...
Well, it seems that it is not so easy. Those two usages need caller for other purposes too. So they couldn't function without caller even if the access check was granted...
Regards, Peter
