#1108590 saaj: FTBFS with default Java 25

Package:
src:saaj
Source:
src:saaj
Submitter:
Vladimir Petko
Date:
2026-09-29 13:21:02 UTC
Severity:
normal
Tags:
#1108590#5
Date:
2025-07-01 04:24:45 UTC
From:
To:
Dear Maintainers,

The package saaj ftbfs with default Java 25 due to Security Manager
removal.
The relevant part of the build log:
---------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.3:test (default-test) on project javax.xml.soap-api: There are test failures.
[ERROR]
[ERROR] Please refer to /<<PKGBUILDDIR>>/target/surefire-reports for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
[ERROR] The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
[ERROR] Command was /bin/sh -c cd '/<<PKGBUILDDIR>>' && '/usr/lib/jvm/java-25-openjdk-amd64/bin/java' '-Djava.security.manager=allow' '-jar' '/<<PKGBUILDDIR>>/target/surefire/surefirebooter5613845656036403761.jar' '/<<PKGBUILDDIR>>/target/surefire' '2025-06-11T20-30-43_954-jvmRun1' 'surefire13452598438800805427tmp' 'surefire_013936498731557807537tmp'
[ERROR] Error occurred in starting fork, check output in log
[ERROR] Process Exit Code: 1
[ERROR] org.apache.maven.surefire.booter.SurefireBooterForkException: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
[ERROR] Command was /bin/sh -c cd '/<<PKGBUILDDIR>>' && '/usr/lib/jvm/java-25-openjdk-amd64/bin/java' '-Djava.security.manager=allow' '-jar' '/<<PKGBUILDDIR>>/target/surefire/surefirebooter5613845656036403761.jar' '/<<PKGBUILDDIR>>/target/surefire' '2025-06-11T20-30-43_954-jvmRun1' 'surefire13452598438800805427tmp' 'surefire_013936498731557807537tmp'
[ERROR] Error occurred in starting fork, check output in log
[ERROR] Process Exit Code: 1
[ERROR] 	at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:669)
[ERROR] 	at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:282)
[ERROR] 	at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:245)
[ERROR] 	at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:1186)
[ERROR] 	at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:1014)
[ERROR] 	at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:860)
[ERROR] 	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:126)
[ERROR] 	at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2(MojoExecutor.java:328)
[ERROR] 	at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute(MojoExecutor.java:316)
[ERROR] 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
[ERROR] 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:174)
[ERROR] 	at org.apache.maven.lifecycle.internal.MojoExecutor.access$000(MojoExecutor.java:75)
[ERROR] 	at org.apache.maven.lifecycle.internal.MojoExecutor$1.run(MojoExecutor.java:162)
[ERROR] 	at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute(DefaultMojosExecutionStrategy.java:39)
[ERROR] 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:159)
[ERROR] 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:105)
[ERROR] 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:73)
[ERROR] 	at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:53)
[ERROR] 	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:118)
[ERROR] 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:261)
[ERROR] 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:173)
[ERROR] 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:101)
[ERROR] 	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:906)
[ERROR] 	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:283)
[ERROR] 	at org.apache.maven.cli.MavenCli.main(MavenCli.java:206)
[ERROR] 	at org.apache.maven.cli.MavenCli.main(MavenCli.java:196)
[ERROR] 	at org.debian.maven.Wrapper.main(Wrapper.java:89)
[ERROR] 	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
[ERROR] 	at java.base/java.lang.reflect.Method.invoke(Method.java:565)
[ERROR] 	at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:322)
[ERROR] 	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:235)
[ERROR] 	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:407)
[ERROR] 	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:348)
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
dh_auto_test: error: /usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven/boot/plexus-classworlds-2.x.jar -Dmaven.home=/usr/share/maven -Dmaven.multiModuleProjectDirectory=/<<PKGBUILDDIR>> -Dclassworlds.conf=/etc/maven/m2-debian.conf -Dproperties.file.manual=/<<PKGBUILDDIR>>/debian/maven.properties org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/<<PKGBUILDDIR>>/debian -Dmaven.repo.local=/<<PKGBUILDDIR>>/debian/maven-repo --batch-mode test returned exit code 1
make: *** [debian/rules:4: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
---------------

#1108590#10
Date:
2026-02-09 06:36:10 UTC
From:
To:
Dear Maintainers,

Would it be possible to consider the MR[1] as a proposed solution for
this issue.

Best regards,
Vladimir.

[1] https://salsa.debian.org/java-team/saaj/-/merge_requests/2

#1108590#15
Date:
2026-02-14 10:02:58 UTC
From:
To:
Hello,

Bug #1108590 in saaj reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/java-team/saaj/-/commit/f4bd6a59a87eb8281983296f849732b4c55589f0
------------------------------------------------------------------------
d/p/03-java25-security-manager.patch: Remove calls to SecurityManager (Closes: #1108590).
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1108590

#1108590#26
Date:
2026-09-29 13:19:05 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
saaj, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1108590@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Emmanuel Bourg <ebourg@apache.org> (supplier of updated saaj package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Tue, 29 Sep 2026 14:55:37 +0200
Source: saaj
Architecture: source
Version: 1.4.0-5
Distribution: unstable
Urgency: medium
Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
Changed-By: Emmanuel Bourg <ebourg@apache.org>
Closes: 1108590
Changes:
 saaj (1.4.0-5) unstable; urgency=medium
 .
   [ Vladimir Petko ]
   * d/{maven.properties, p/03-java25-security-manager.patch}: Remove
     calls to SecurityManager to resolve Java 25 ftbfs
     (Closes: #1108590).
 .
   [ Emmanuel Bourg ]
   * Standards-Version updated to 4.7.4
   * Removed the Priority field
   * Switch to debhelper level 13
Checksums-Sha1:
 bf495b15128075b0256321fbd0588acb0c1826de 2042 saaj_1.4.0-5.dsc
 59e56fae261a571e1e5cf926cab989c2b3ee9dbf 9640 saaj_1.4.0-5.debian.tar.xz
 fc457538952cc12c706dca4675cdfe1edeacf4b4 14932 saaj_1.4.0-5_source.buildinfo
Checksums-Sha256:
 586b8c6834386d5c3fead0c790503d21f26e876521520cdaa95552554799344b 2042 saaj_1.4.0-5.dsc
 507cd64fafc1b2aaa7806d47f278177c95e8564afbf9431236cc71528e80e503 9640 saaj_1.4.0-5.debian.tar.xz
 ada40eec3b1dadd357181c56484f17f0cd678b92abff3248b95841ce4ede8231 14932 saaj_1.4.0-5_source.buildinfo
Files:
 e30ae63059e264ffceed1ee29ed8a009 2042 java optional saaj_1.4.0-5.dsc
 c6df89a84a55b9df823339c6aa80f87e 9640 java optional saaj_1.4.0-5.debian.tar.xz
 2a0ef699651ee869e5168377a7894bbe 14932 java optional saaj_1.4.0-5_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJGBAEBCgAwFiEEuM5N4hCA3PkD4WxA9RPEGeS50KwFAmq7tmcSHGVib3VyZ0Bh
cGFjaGUub3JnAAoJEPUTxBnkudCsZboQAKpP7Hq/ebqZ9nG3F5107dqbWNrDjDzj
/l2luHdAjm0/AOtdnJBTvl0KNIdGHQh81kHmh8uDyrKsXqqvdj2HB2Zqx6GM3sqr
S9e/u+IvTRUulbAs8IkNWMP4kjDXkvZBRfkQmqqRzTqNAdIfjxTb1H6U5EfmLg2B
8iO33ScXMczGiiwVO96p86Ly14qWDlPRBBc2zGC3d6KzXFtBKyReUHsQ4JO8bPfl
S50BMJOII+neOGjyttHNM37VQcZgDxqIs1IllGt4/M2PM56g/iveKvlVD+HjbJeW
tRtqYpo/z5O2KQ+b1z99zopxiYDJ3MPke0KGG75EvbdB4ABvbJwnHzbheTs0UYDG
tzaR8yMmPRHj8zz413lRBRn9Bz0ZCKo4f+MScvj69SlsQndIVTcDlqOcmx3KjVXO
OSQENVr6ozTZGEKaWgwqhTY272tGNhiK374P3SuERe1VxdKIK21HdQ9t+Aa5IuPt
4kUfS/oDplZ1Ensqazv1IJvGNS/Ovk2+0ItZn2csaQSyOkd+uQf+PndCXHlnpODB
gAxIfsrixnL/I9KYua+TfUVIKyz+tt2ipCGINU5x0+OqcVsCBsyfsiwTmkkJ+toA
3M7Wn+iAlLh5ArJtLbPHRwDWyF+Ab6vUzyLbrtMCJe+WxEsDnUlVFCEHRBvW85nV
voYkYNy38ILh
=did6
-----END PGP SIGNATURE-----