8155514: jaxp.library.TestPolicy should extend the default security policy

Reviewed-by: mchung, joehw
This commit is contained in:
Frank Yuan 2016-04-28 19:11:09 -07:00 committed by Frank Yuan
parent b49a109b02
commit 766c5e26ae

View File

@ -91,6 +91,7 @@ public class TestPolicy extends Policy {
permissions.add(new PropertyPermission("line.separator", "read"));
permissions.add(new PropertyPermission("fileStringBuffer", "read"));
permissions.add(new PropertyPermission("dataproviderthreadcount", "read"));
permissions.add(new RuntimePermission("charsetProvider"));
}
/*