summaryrefslogtreecommitdiff
path: root/dev-java/jaxb-api/files
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-12 19:09:37 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-12 19:09:37 -0500
commitb590c8d7572b727d565cc0b8ff660d43569845de (patch)
tree06f7a4102ea4e845df8b66660f252920d52952f9 /dev-java/jaxb-api/files
parent24f9cbfc4c34fdb6a6e03311674414e881ceab47 (diff)
downloadbaldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.gz
baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.xz
baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.zip
Adding metadata
Diffstat (limited to 'dev-java/jaxb-api/files')
-rw-r--r--dev-java/jaxb-api/files/jaxb-api-2.3.3-dropSecurityManager.patch30
-rw-r--r--dev-java/jaxb-api/files/jaxb-api-4.0.2-dropSecurityManager.patch30
2 files changed, 60 insertions, 0 deletions
diff --git a/dev-java/jaxb-api/files/jaxb-api-2.3.3-dropSecurityManager.patch b/dev-java/jaxb-api/files/jaxb-api-2.3.3-dropSecurityManager.patch
new file mode 100644
index 000000000000..902cbf74818b
--- /dev/null
+++ b/dev-java/jaxb-api/files/jaxb-api-2.3.3-dropSecurityManager.patch
@@ -0,0 +1,30 @@
+Bug #946906
+
+--- a/jaxb-api-test/src/test/java/javax/xml/bind/test/JAXBContextTest.java
++++ b/jaxb-api-test/src/test/java/javax/xml/bind/test/JAXBContextTest.java
+@@ -150,7 +150,6 @@ public class JAXBContextTest {
+ ) {
+
+ // ensure setup may be done ...
+- System.setSecurityManager(null);
+
+ if (systemProperty != null) {
+ System.setProperty("javax.xml.bind.JAXBContextFactory", systemProperty);
+@@ -240,7 +239,6 @@ public class JAXBContextTest {
+
+ // unsafe; not running:
+ cleanResource(jaxbPropsFile);
+- System.setSecurityManager(null);
+ }
+
+ @Test
+@@ -263,9 +261,7 @@ public class JAXBContextTest {
+
+
+ private void enableSM() {
+- System.setSecurityManager(null);
+ System.setProperty("java.security.policy", classesDir + "javax/xml/bind/test.policy");
+- System.setSecurityManager(new SecurityManager());
+ }
+
+ private void cleanResource(Path resource) {
diff --git a/dev-java/jaxb-api/files/jaxb-api-4.0.2-dropSecurityManager.patch b/dev-java/jaxb-api/files/jaxb-api-4.0.2-dropSecurityManager.patch
new file mode 100644
index 000000000000..d604d3a199c9
--- /dev/null
+++ b/dev-java/jaxb-api/files/jaxb-api-4.0.2-dropSecurityManager.patch
@@ -0,0 +1,30 @@
+Bug #946907
+
+--- a/jaxb-api-test/src/test/java/jakarta/xml/bind/test/JAXBContextTest.java
++++ b/jaxb-api-test/src/test/java/jakarta/xml/bind/test/JAXBContextTest.java
+@@ -150,7 +150,6 @@ public class JAXBContextTest {
+ ) {
+
+ // ensure setup may be done ...
+- System.setSecurityManager(null);
+
+ if (systemProperty != null) {
+ System.setProperty("jakarta.xml.bind.JAXBContextFactory", systemProperty);
+@@ -240,7 +239,6 @@ public class JAXBContextTest {
+
+ // unsafe; not running:
+ cleanResource(jaxbPropsFile);
+- System.setSecurityManager(null);
+ }
+
+ @Test
+@@ -263,9 +261,7 @@ public class JAXBContextTest {
+
+
+ private void enableSM() {
+- System.setSecurityManager(null);
+ System.setProperty("java.security.policy", classesDir + "jakarta/xml/bind/test.policy");
+- System.setSecurityManager(new SecurityManager());
+ }
+
+ private void cleanResource(Path resource) {