8155514: jaxp.library.TestPolicy should extend the default security policy
Reviewed-by: mchung, joehw
Contributed-by: Frank Yuan <frank.yuan@oracle.com>
--- a/jaxp/test/javax/xml/jaxp/libs/jaxp/library/TestPolicy.java Thu Apr 28 09:39:03 2016 -0700
+++ b/jaxp/test/javax/xml/jaxp/libs/jaxp/library/TestPolicy.java Thu Apr 28 19:11:09 2016 -0700
@@ -91,6 +91,7 @@
permissions.add(new PropertyPermission("line.separator", "read"));
permissions.add(new PropertyPermission("fileStringBuffer", "read"));
permissions.add(new PropertyPermission("dataproviderthreadcount", "read"));
+ permissions.add(new RuntimePermission("charsetProvider"));
}
/*