Title: [2114] trunk/xstream/src/test/com/thoughtworks/acceptance/SecurityManagerTest.java: New permissions required in Oracle Java 1.7.0.40.
Revision
2114
Author
joehni
Date
2013-09-17 12:43:07 -0500 (Tue, 17 Sep 2013)

Log Message

New permissions required in Oracle Java 1.7.0.40.

Modified Paths


Diff

Modified: trunk/xstream/src/test/com/thoughtworks/acceptance/SecurityManagerTest.java (2113 => 2114)


--- trunk/xstream/src/test/com/thoughtworks/acceptance/SecurityManagerTest.java	2013-09-17 17:15:08 UTC (rev 2113)
+++ trunk/xstream/src/test/com/thoughtworks/acceptance/SecurityManagerTest.java	2013-09-17 17:43:07 UTC (rev 2114)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2006, 2007, 2009, 2010 XStream Committers.
+ * Copyright (C) 2006, 2007, 2009, 2010, 2013 XStream Committers.
  * All rights reserved.
  *
  * The software in this package is published under the terms of the BSD
@@ -149,6 +149,8 @@
         sm.addPermission(source, new PropertyPermission("java.security.debug", "read"));
         sm.addPermission(source, new PropertyPermission("javax.xml.datatype.DatatypeFactory", "read"));
         sm.addPermission(source, new PropertyPermission("javax.xml.parsers.DocumentBuilderFactory", "read"));
+        sm.addPermission(source, new PropertyPermission("javax.xml.accessExternalDTD", "read"));
+        sm.addPermission(source, new PropertyPermission("javax.xml.accessExternalSchema", "read"));
         sm.addPermission(source, new PropertyPermission("jaxp.debug", "read"));
         sm.addPermission(source, new PropertyPermission("maxOccurLimit", "read"));
         sm.addPermission(source, new PropertyPermission("sun.boot.class.path", "read"));

To unsubscribe from this list please visit:

http://xircles.codehaus.org/manage_email

Reply via email to