summaryrefslogtreecommitdiff
path: root/dev-java/jakarta-xml-soap-api/files/jakarta-xml-soap-api-1.4.2-dropSecurityManager.patch
diff options
context:
space:
mode:
authorVolkmar W. Pogatzki <gentoo@pogatzki.net>2024-03-27 15:17:16 +0100
committerMiroslav Šulc <fordfrog@gentoo.org>2024-04-15 11:42:29 +0200
commit5fd608ca1e9938bd1b77826372e2aae4b6fe5f8a (patch)
treef7ecd0fd9562f9f4fb94ce84179caf5d4e31471e /dev-java/jakarta-xml-soap-api/files/jakarta-xml-soap-api-1.4.2-dropSecurityManager.patch
parent32e186395feea86d289dc5f5601e334e2f32aff8 (diff)
downloadgentoo-5fd608ca1e9938bd1b77826372e2aae4b6fe5f8a.tar.gz
gentoo-5fd608ca1e9938bd1b77826372e2aae4b6fe5f8a.tar.bz2
gentoo-5fd608ca1e9938bd1b77826372e2aae4b6fe5f8a.zip
dev-java/jakarta-xml-soap-api: drop SecurityManager
Closes: https://bugs.gentoo.org/923606 Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/35946 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-java/jakarta-xml-soap-api/files/jakarta-xml-soap-api-1.4.2-dropSecurityManager.patch')
-rw-r--r--dev-java/jakarta-xml-soap-api/files/jakarta-xml-soap-api-1.4.2-dropSecurityManager.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/dev-java/jakarta-xml-soap-api/files/jakarta-xml-soap-api-1.4.2-dropSecurityManager.patch b/dev-java/jakarta-xml-soap-api/files/jakarta-xml-soap-api-1.4.2-dropSecurityManager.patch
new file mode 100644
index 000000000000..a94489044d7f
--- /dev/null
+++ b/dev-java/jakarta-xml-soap-api/files/jakarta-xml-soap-api-1.4.2-dropSecurityManager.patch
@@ -0,0 +1,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 {