Elaborate more on how this works

This commit is contained in:
Robert Muir 2015-09-17 11:51:00 -04:00
parent d7a07d7a27
commit 0fdc16927e
1 changed files with 3 additions and 1 deletions

View File

@ -46,7 +46,9 @@ import java.util.Set;
* <p>
* As an approximation, we just exclude es/test/framework classes,
* because they will be present in stacks and fail tests for the
* simple case where an AccessController block is missing.
* simple case where an AccessController block is missing, because
* java security checks every codebase in the stacktrace, and we
* are sure to pollute it.
*/
final class MockPluginPolicy extends Policy {
final ESPolicy standardPolicy;