[Git][java-team/jalview][master] 4 commits: d/p/ignore_policy_error.patch: ignore UnsupportedOperationException when...
Pierre Gruet (@pgt)
gitlab at salsa.debian.org
Tue Mar 17 20:14:14 GMT 2026
Pierre Gruet pushed to branch master at Debian Java Maintainers / jalview
Commits:
57806af3 by Vladimir Petko at 2026-02-17T13:38:45+13:00
d/p/ignore_policy_error.patch: ignore UnsupportedOperationException when setting policy or security manager (Closes: #1128167).
- - - - -
bc51db6a by Vladimir Petko at 2026-02-17T13:38:51+13:00
changelog
- - - - -
cfaffaca by Vladimir Petko at 2026-02-18T08:21:01+13:00
d/p/java25_compat.patch: rename patch and just remove calls
- - - - -
50d6f67b by Vladimir Petko at 2026-02-18T08:24:08+13:00
changelog
- - - - -
3 changed files:
- debian/changelog
- + debian/patches/java25_compat.patch
- debian/patches/series
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+jalview (2.11.5.0+dfsg-2) UNRELEASED; urgency=medium
+
+ * d/p/java25_compat.patch: Remove calls to set policy or security
+ manager, they are no longer supported in Java 25 (Closes: #1128167).
+
+ -- Vladimir Petko <vladimir.petko at canonical.com> Tue, 17 Feb 2026 13:25:27 +1300
+
jalview (2.11.5.0+dfsg-1) unstable; urgency=medium
* New upstream version 2.11.5.0+dfsg
=====================================
debian/patches/java25_compat.patch
=====================================
@@ -0,0 +1,41 @@
+Description: Remove calls not supported in Java 25
+ Java 25 removes Security Manager and throws UnsupportedOperationException
+ when setPolicy() or setSecurityManager() is called.
+Author: Vladimir Petko <vladimir.petko at canonical.com>
+Bug: https://issues.jalview.org/browse/JAL-4653
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1128167
+Last-Update: 2026-02-17
+
+--- a/src/jalview/bin/Jalview.java
++++ b/src/jalview/bin/Jalview.java
+@@ -159,22 +159,6 @@
+ * @j2sIgnore
+ */
+ {
+- // grab all the rights we can for the JVM
+- Policy.setPolicy(new Policy()
+- {
+- @Override
+- public PermissionCollection getPermissions(CodeSource codesource)
+- {
+- Permissions perms = new Permissions();
+- perms.add(new AllPermission());
+- return (perms);
+- }
+-
+- @Override
+- public void refresh()
+- {
+- }
+- });
+ }
+ }
+
+@@ -302,7 +286,6 @@
+ {
+ if (!Platform.isJS())
+ {
+- System.setSecurityManager(null);
+ }
+
+ if (args == null || args.length == 0 || (args.length == 1
=====================================
debian/patches/series
=====================================
@@ -14,3 +14,4 @@ groovy_syntax.patch
deactivate_flatlaf.patch
unneeded_checks_when_launching.patch
waiting_launcher.patch
+java25_compat.patch
View it on GitLab: https://salsa.debian.org/java-team/jalview/-/compare/f3674242c98a83e71150433ff95a666cc59b7a20...50d6f67b8d92b384400b8174b576535f1d846e52
--
View it on GitLab: https://salsa.debian.org/java-team/jalview/-/compare/f3674242c98a83e71150433ff95a666cc59b7a20...50d6f67b8d92b384400b8174b576535f1d846e52
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-commits/attachments/20260317/57c33ccd/attachment.htm>
More information about the pkg-java-commits
mailing list