On 19.03.2017 18:52, Peter Levart wrote:
Hi,

Module system implementation refresh 2017/2 (JDK-8173393) introduced new
API method AccessibleObject::canAccess which can be used to test if the
caller has access to the reflected member (with possible target object
argument for instance members).

not wanting to hijack the thread, but why is there no canAccess method that takes a class argument to check if that class can access? Why always depending so much on caller sensitive methods?

bye Jochen

Reply via email to