Java 25: workaround Security Manager removal
This MR addresses #1108571.
A new patch is added to workaround security manager removal and check the exit code of the test. It uses JUnitCore.main() implementation and reflection to access package local variables. I have considered adding a public method in JUnitCore, but it would change public JUnit API.
Changes:
- d/p/java25-compatibility.patch: use JUnitCore.main() implementation in the test runner tests.
- d/maven.properties: remove Security Manager property.
Testing:
- rebuild in sid chroot
- rebuild in sid chroot with Java 25 default