Log Message
Merge adjusted SecurityManagerTest.
Modified Paths
Property Changed
Diff
Property changes: branches/v-1.4.x
Modified: svn:mergeinfo
Modified: branches/v-1.4.x/xstream/src/test/com/thoughtworks/acceptance/SecurityManagerTest.java (2299 => 2300)
--- branches/v-1.4.x/xstream/src/test/com/thoughtworks/acceptance/SecurityManagerTest.java 2014-09-25 08:07:29 UTC (rev 2299)
+++ branches/v-1.4.x/xstream/src/test/com/thoughtworks/acceptance/SecurityManagerTest.java 2014-10-02 18:00:26 UTC (rev 2300)
@@ -123,6 +123,7 @@
}
public void testSerializeWithXppDriverAndPureJavaReflectionProviderAndActiveSecurityManager() {
+ sm.addPermission(source, new RuntimePermission("accessClassInPackage.sun.misc"));
sm.addPermission(source, new RuntimePermission("accessClassInPackage.sun.text.resources"));
sm.addPermission(source, new RuntimePermission("accessClassInPackage.sun.util.resources"));
sm.addPermission(source, new RuntimePermission("accessDeclaredMembers"));
@@ -138,6 +139,7 @@
sm.addPermission(source, new PropertyPermission("jaxp.debug", "read"));
sm.addPermission(source, new PropertyPermission("jdk.util.TimeZone.allowSetDefault", "read"));
sm.addPermission(source, new PropertyPermission("sun.boot.class.path", "read"));
+ sm.addPermission(source, new PropertyPermission("sun.io.serialization.extendedDebugInfo", "read"));
sm.addPermission(source, new PropertyPermission("sun.nio.fs.chdirAllowed", "read"));
sm.addPermission(source, new PropertyPermission("sun.timezone.ids.oldmapping", "read"));
sm.addPermission(source, new PropertyPermission("user.country", "read"));
@@ -178,6 +180,7 @@
sm.addPermission(source, new PropertyPermission("jdk.util.TimeZone.allowSetDefault", "read"));
sm.addPermission(source, new PropertyPermission("jdk.xml.elementAttributeLimit", "read"));
sm.addPermission(source, new PropertyPermission("jdk.xml.entityExpansionLimit", "read"));
+ sm.addPermission(source, new PropertyPermission("jdk.xml.maxElementDepth", "read"));
sm.addPermission(source, new PropertyPermission("jdk.xml.maxGeneralEntitySizeLimit", "read"));
sm.addPermission(source, new PropertyPermission("jdk.xml.maxParameterEntitySizeLimit", "read"));
sm.addPermission(source, new PropertyPermission("jdk.xml.maxOccurLimit", "read"));
To unsubscribe from this list please visit:
