8155514: jaxp.library.TestPolicy should extend the default security policy
authorfyuan
Thu, 28 Apr 2016 19:11:09 -0700
changeset 37739 cb2ebe77b8fb
parent 37738 1a90ca543e7a
child 37740 b3c9d13cb495
8155514: jaxp.library.TestPolicy should extend the default security policy Reviewed-by: mchung, joehw Contributed-by: Frank Yuan <frank.yuan@oracle.com>
jaxp/test/javax/xml/jaxp/libs/jaxp/library/TestPolicy.java
--- 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"));
     }
 
     /*