source location for issued error message
scope from which to access to a fully qualified package name
the package/module to check access for
true if the package is not accessible.
Because a global symbol table tree is used for imported packages/modules, access to them needs to be checked based on the imports in the scope chain (see Bugzilla 313).
Check access to package/module p from scope sc.