[Git][java-team/libjide-oss-java][master] 2 commits: d/p/java25.patch: remove no longer available APIs.

Emmanuel Bourg (@ebourg) gitlab at salsa.debian.org
Wed Feb 4 13:51:25 GMT 2026



Emmanuel Bourg pushed to branch master at Debian Java Maintainers / libjide-oss-java


Commits:
24cc4ace by Vladimir Petko at 2026-02-03T15:30:17+13:00
d/p/java25.patch: remove no longer available APIs.

- - - - -
28e63875 by Vladimir Petko at 2026-02-03T15:44:13+13:00
changelog

- - - - -


2 changed files:

- debian/changelog
- + debian/patches/java25.patch


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+libjide-oss-java (3.7.6+dfsg-3) UNRELEASED; urgency=medium
+
+  * d/p/java25.patch: Remove API calls no longer available in Java 25
+    (Closes: #1108578).
+
+ -- Vladimir Petko <vladimir.petko at canonical.com>  Tue, 03 Feb 2026 15:37:13 +1300
+
 libjide-oss-java (3.7.6+dfsg-2) unstable; urgency=medium
 
   * Switch to debhelper-compat = 13.


=====================================
debian/patches/java25.patch
=====================================
@@ -0,0 +1,126 @@
+Description: Remove usages of JApplet
+ JApplet was removed from Java 25 API. Remove usages of JApplet.
+ GetPropertyAction was removed, it is unused. Remove usage of
+ GetPropertyAction.
+ The open-source upstream has not been updated since 2019,
+ the software is now closed-source https://www.jidesoft.com/history/index.php#3.8.0.
+ The release notes indicate removal of the features for the
+ compatibility.
+Author: Vladimir Petko <vladimir.petko at canonical.com>
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1108578
+Forwarded: not-needed
+Last-Update: 2026-02-03
+
+--- a/src-jdk9/com/jidesoft/plaf/windows/XPStyle.java
++++ b/src-jdk9/com/jidesoft/plaf/windows/XPStyle.java
+@@ -9,7 +9,6 @@
+ import com.jidesoft.plaf.windows.TMSchema.TypeEnum;
+ import com.jidesoft.utils.ReflectionUtils;
+ import sun.awt.image.SunWritableRaster;
+-import sun.security.action.GetPropertyAction;
+ import sun.swing.CachedPainter;
+ 
+ import javax.swing.*;
+@@ -86,8 +85,6 @@
+                 themeActive = Boolean.FALSE;
+             }
+             if (themeActive.booleanValue()) {
+-                GetPropertyAction propertyAction =
+-                        new GetPropertyAction("swing.noxp");
+             }
+         }
+         return xp = null;
+--- a/src/com/jidesoft/swing/JideSwingUtilities.java
++++ b/src/com/jidesoft/swing/JideSwingUtilities.java
+@@ -3640,7 +3640,7 @@
+                     return lastRootPane;
+                 }
+                 if (c.getParent() instanceof JDialog || c.getParent() instanceof JWindow
+-                        || c.getParent() instanceof JFrame || c.getParent() instanceof JApplet) {
++                        || c.getParent() instanceof JFrame ) {
+                     return lastRootPane;
+                 }
+                 c = c.getParent().getParent();
+--- a/src/com/jidesoft/swing/ResizableMouseInputAdapter.java
++++ b/src/com/jidesoft/swing/ResizableMouseInputAdapter.java
+@@ -167,10 +167,6 @@
+                 ((JFrame) c).getGlassPane().setVisible(true);
+                 ((JFrame) c).getGlassPane().setCursor(s);
+             }
+-            else if (c instanceof JApplet) {
+-                ((JApplet) c).getGlassPane().setVisible(true);
+-                ((JApplet) c).getGlassPane().setCursor(s);
+-            }
+             else if (c instanceof JWindow) {
+                 ((JWindow) c).getGlassPane().setVisible(true);
+                 ((JWindow) c).getGlassPane().setCursor(s);
+@@ -626,10 +622,6 @@
+ 
+                 ((JFrame) _resizable.getComponent().getTopLevelAncestor()).getGlassPane().setVisible(false);
+             }
+-            else if (c instanceof JApplet) {
+-                ((JApplet) c).getGlassPane().setCursor(Cursor.getDefaultCursor());
+-                ((JApplet) c).getGlassPane().setVisible(false);
+-            }
+             else if (c instanceof JWindow) {
+                 ((JWindow) c).getGlassPane().setCursor(Cursor.getDefaultCursor());
+                 ((JWindow) c).getGlassPane().setVisible(false);
+--- a/src/com/jidesoft/utils/PortingUtils.java
++++ b/src/com/jidesoft/utils/PortingUtils.java
+@@ -152,12 +152,6 @@
+         // to handle multi-display case
+         Dimension screenSize = getScreenBounds().getSize();
+ 
+-        // jdk1.4 only
+-        if (invoker != null && !(invoker instanceof JApplet) && invoker.getGraphicsConfiguration() != null) {
+-            Insets insets = Toolkit.getDefaultToolkit().getScreenInsets(invoker.getGraphicsConfiguration());
+-            screenSize.width -= insets.left + insets.right;
+-            screenSize.height -= insets.top + insets.bottom;
+-        }
+ 
+         return screenSize;
+     }
+@@ -171,19 +165,7 @@
+     public static Dimension getLocalScreenSize(Component invoker) {
+ //      ensureScreenBounds();
+ 
+-        // jdk1.4 only
+-        if (invoker != null && !(invoker instanceof JApplet) && invoker.getGraphicsConfiguration() != null) {
+-            // to handle multi-display case
+-            GraphicsConfiguration gc = invoker.getGraphicsConfiguration();
+-            Rectangle bounds = gc.getBounds();
+-            Insets insets = Toolkit.getDefaultToolkit().getScreenInsets(gc);
+-            bounds.width -= insets.left + insets.right;
+-            bounds.height -= insets.top + insets.bottom;
+-            return bounds.getSize();
+-        }
+-        else {
+             return getScreenSize(invoker);
+-        }
+     }
+ 
+     /**
+@@ -199,16 +181,6 @@
+         // to handle multi-display case
+         Rectangle bounds = (!useInvokerDevice || invoker == null || invoker.getGraphicsConfiguration() == null) ? (Rectangle) getScreenBounds().clone() : invoker.getGraphicsConfiguration().getBounds();
+ 
+-        // TODO
+-        // jdk1.4 only
+-        if (invoker != null && !(invoker instanceof JApplet) && invoker.getGraphicsConfiguration() != null) {
+-            Insets insets = Toolkit.getDefaultToolkit().getScreenInsets(invoker.getGraphicsConfiguration());
+-            bounds.x += insets.left;
+-            bounds.y += insets.top;
+-            bounds.width -= insets.left + insets.right;
+-            bounds.height -= insets.top + insets.bottom;
+-        }
+-
+         return bounds;
+     }
+ 
+@@ -586,4 +558,4 @@
+             ((JComponent) component).setMinimumSize(size);
+         }
+     }
+-}
+\ No newline at end of file
++}



View it on GitLab: https://salsa.debian.org/java-team/libjide-oss-java/-/compare/bfe7795bcb251ef2e85dfe99efa2b5f214c38d15...28e6387511148490e3a00ffb4c5ffeca40f71aee

-- 
View it on GitLab: https://salsa.debian.org/java-team/libjide-oss-java/-/compare/bfe7795bcb251ef2e85dfe99efa2b5f214c38d15...28e6387511148490e3a00ffb4c5ffeca40f71aee
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/20260204/2f681260/attachment.htm>


More information about the pkg-java-commits mailing list