On 22/11/2017 15:49, Sean Mullan wrote:

Hmm. Where do you see it being called inside doPrivileged?
StackWalker.getInstance does a permission check when you want class refs.


:

Sure, the test already had everything I need so it was easier to leverage it rather than just duplicating. I had changed the description already. I will just rename it to something more generic, like DepMethodsRequireAllPerm.

I think I added the NoAWT test for the checkXXX methods that used to check AWTPermission, hence the name. Renaming it would be good.

-Alan

Reply via email to