# HG changeset patch # User fyuan # Date 1461895869 25200 # Node ID cb2ebe77b8fbec7486357a779c1c341262a2ff3b # Parent 1a90ca543e7abd71fba11953c985a3cb4ae61b40 8155514: jaxp.library.TestPolicy should extend the default security policy Reviewed-by: mchung, joehw Contributed-by: Frank Yuan diff -r 1a90ca543e7a -r cb2ebe77b8fb 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")); } /*