diff options
Diffstat (limited to 'dev-java/jaxb-api/files/jaxb-api-2.3.3-dropSecurityManager.patch')
-rw-r--r-- | dev-java/jaxb-api/files/jaxb-api-2.3.3-dropSecurityManager.patch | 10 |
1 files changed, 10 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..36fed49987b4 --- /dev/null +++ b/dev-java/jaxb-api/files/jaxb-api-2.3.3-dropSecurityManager.patch @@ -0,0 +1,10 @@ +--- 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 +@@ -265,7 +265,6 @@ 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) { |