summaryrefslogtreecommitdiff
path: root/dev-java/jakarta-xml-soap-api/files/jakarta-xml-soap-api-1.4.2-dropSecurityManager.patch
blob: a94489044d7f177f0b1bad0ac39655078528ca9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
bug #923606
--- a/api/src/test/java/javax/xml/soap/test/SAAJFactoryTest.java
+++ b/api/src/test/java/javax/xml/soap/test/SAAJFactoryTest.java
@@ -165,9 +165,7 @@ public class SAAJFactoryTest {
     }
 
     private void enableSM() {
-        System.setSecurityManager(null);
-        System.setProperty("java.security.policy", classesDir + "javax/xml/soap/test.policy");
-        System.setSecurityManager(new SecurityManager());
+	// no-op
     }
 
     protected MessageFactory factory() throws Throwable {