changeset 37739:cb2ebe77b8fb

8155514: jaxp.library.TestPolicy should extend the default security policy Reviewed-by: mchung, joehw Contributed-by: Frank Yuan <frank.yuan@oracle.com>
author fyuan
date Thu, 28 Apr 2016 19:11:09 -0700
parents 1a90ca543e7a
children b3c9d13cb495
files jaxp/test/javax/xml/jaxp/libs/jaxp/library/TestPolicy.java
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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"));
     }
 
     /*