Bug#1052568: saaj: FTBFS with OpenJDK 21 due to security manager removal

Emmanuel Bourg ebourg at apache.org
Sun Sep 24 22:09:56 BST 2023


Source: saaj
Version: 1.4.0-3
Severity: important
Tags: ftbfs sid trixie
User: debian-java at lists.debian.org
Usertags: default-java21


saaj fails to build with OpenJDK 21 because the tests used the now deprecated security manager:


  [ERROR] Tests run: 30, Failures: 0, Errors: 15, Skipped: 0, Time elapsed: 0.199 s <<< FAILURE! - in javax.xml.soap.test.SAAJFactoryTest
  [ERROR] testFactoryDiscoverySM[0](javax.xml.soap.test.SAAJFactoryTest)  Time elapsed: 0.024 s  <<< ERROR!
  java.lang.UnsupportedOperationException: The Security Manager is deprecated and will be removed in a future release
          at javax.xml.soap.test.SAAJFactoryTest.enableSM(SAAJFactoryTest.java:200)
          at javax.xml.soap.test.SAAJFactoryTest.testFactoryDiscoverySM(SAAJFactoryTest.java:193)

  [ERROR] testFactoryDiscoverySM[1](javax.xml.soap.test.SAAJFactoryTest)  Time elapsed: 0.002 s  <<< ERROR!
  java.lang.UnsupportedOperationException: The Security Manager is deprecated and will be removed in a future release
          at javax.xml.soap.test.SAAJFactoryTest.enableSM(SAAJFactoryTest.java:200)
          at javax.xml.soap.test.SAAJFactoryTest.testFactoryDiscoverySM(SAAJFactoryTest.java:193)

  [ERROR] testFactoryDiscoverySM[2](javax.xml.soap.test.SAAJFactoryTest)  Time elapsed: 0.001 s  <<< ERROR!
  java.lang.UnsupportedOperationException: The Security Manager is deprecated and will be removed in a future release
          at javax.xml.soap.test.SAAJFactoryTest.enableSM(SAAJFactoryTest.java:200)
          at javax.xml.soap.test.SAAJFactoryTest.testFactoryDiscoverySM(SAAJFactoryTest.java:193)

  [ERROR] testFactoryDiscoverySM[3](javax.xml.soap.test.SAAJFactoryTest)  Time elapsed: 0.002 s  <<< ERROR!
  java.lang.UnsupportedOperationException: The Security Manager is deprecated and will be removed in a future release
          at javax.xml.soap.test.SAAJFactoryTest.enableSM(SAAJFactoryTest.java:200)
          at javax.xml.soap.test.SAAJFactoryTest.testFactoryDiscoverySM(SAAJFactoryTest.java:193)

  [ERROR] testFactoryDiscoverySM[4](javax.xml.soap.test.SAAJFactoryTest)  Time elapsed: 0.002 s  <<< ERROR!
  java.lang.UnsupportedOperationException: The Security Manager is deprecated and will be removed in a future release
          at javax.xml.soap.test.SAAJFactoryTest.enableSM(SAAJFactoryTest.java:200)
          at javax.xml.soap.test.SAAJFactoryTest.testFactoryDiscoverySM(SAAJFactoryTest.java:193)

  [ERROR] testFactoryDiscoverySM[5](javax.xml.soap.test.SAAJFactoryTest)  Time elapsed: 0.002 s  <<< ERROR!
  java.lang.UnsupportedOperationException: The Security Manager is deprecated and will be removed in a future release
          at javax.xml.soap.test.SAAJFactoryTest.enableSM(SAAJFactoryTest.java:200)
          at javax.xml.soap.test.SAAJFactoryTest.testFactoryDiscoverySM(SAAJFactoryTest.java:193)

  [ERROR] testFactoryDiscoverySM[6](javax.xml.soap.test.SAAJFactoryTest)  Time elapsed: 0.002 s  <<< ERROR!
  java.lang.UnsupportedOperationException: The Security Manager is deprecated and will be removed in a future release
          at javax.xml.soap.test.SAAJFactoryTest.enableSM(SAAJFactoryTest.java:200)
          at javax.xml.soap.test.SAAJFactoryTest.testFactoryDiscoverySM(SAAJFactoryTest.java:193)



More information about the pkg-java-maintainers mailing list