pecting Java 2's stack inspection policy to be enforced can-. not execute on .... Figure 2. PSLang security policy that allows at most 10 open windows. .... Method call/return: A → B. At start of B, look upprotection domain PB for B's. code and push PB on the thread-local domain-. Stack. At return from B (either normally or by.