Closed rbalamohan closed 6 years ago
Hi @rbalamohan, would the changes in this PR be equivalent to changing the if statement in the middle AbstractInvocationHandler#invoke() as follows:
if
`
Object unrestrictedResult; if (!method.getName().startsWith("get") && // shortcuts getXYZ methods (unrestrictedResult = unrestrictedInvoke(proxy, method, args)) != NO_RESULT) // (1) return unrestrictedResult; restrictedAccessEntry(proxy, method, args); // (2) return restrictedInvoke(proxy, method, args); // (3) }
That is correct @simeonmalchev . I will make the relevant changes and resubmit the PR.
Hi @simeonmalchev, I have addressed the review comments in the recent commit.
Hi @rbalamohan, would the changes in this PR be equivalent to changing the
if
statement in the middle AbstractInvocationHandler#invoke() as follows:`
`