mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-12-20 18:34:35 +00:00
Closes: https://bugs.gentoo.org/946904 Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Part-of: https://github.com/gentoo/gentoo/pull/43518 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
30 lines
1,008 B
Diff
30 lines
1,008 B
Diff
bug #946904
|
|
--- a/api/src/test/java/javax/xml/soap/test/SAAJFactoryTest.java
|
|
+++ b/api/src/test/java/javax/xml/soap/test/SAAJFactoryTest.java
|
|
@@ -101,7 +101,6 @@ public class SAAJFactoryTest {
|
|
String spiClass) {
|
|
|
|
// ensure setup may be done ...
|
|
- System.setSecurityManager(null);
|
|
|
|
if (systemProperty != null) {
|
|
System.setProperty("javax.xml.soap.MessageFactory", systemProperty);
|
|
@@ -154,7 +153,6 @@ public class SAAJFactoryTest {
|
|
|
|
// unsafe; not running:
|
|
cleanResource(jdkFile);
|
|
- System.setSecurityManager(null);
|
|
}
|
|
}
|
|
|
|
@@ -165,9 +163,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 {
|