Skip to content

Commits on Source 5

libnetx-java (0.5-4) unstable; urgency=medium
* Team upload.
* Fixed the build failure with Java 11 (Closes: #912543)
* Standards-Version updated to 4.2.1
* Switch to debhelper level 11
* Use salsa.debian.org Vcs-* URLs
-- Emmanuel Bourg <ebourg@apache.org> Fri, 02 Nov 2018 18:18:04 +0100
libnetx-java (0.5-3) unstable; urgency=low
* Team upload.
......
......@@ -7,11 +7,11 @@ Uploaders:
Torsten Werner <twerner@debian.org>
Build-Depends:
ant,
debhelper (>= 10),
debhelper (>= 11),
default-jdk
Standards-Version: 4.1.1
Vcs-Git: https://anonscm.debian.org/git/pkg-java/libnetx-java.git
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-java/libnetx-java.git
Standards-Version: 4.2.1
Vcs-Git: https://salsa.debian.org/java-team/libnetx-java.git
Vcs-Browser: https://salsa.debian.org/java-team/libnetx-java
Homepage: http://jnlp.sourceforge.net/netx/
Package: libnetx-java
......
Description: Fixes the compatibility with Java 11
Author: Emmanuel Bourg <ebourg@apache.org>
Forwarded: no
--- a/src/netx/jnlp/runtime/JNLPSecurityManager.java
+++ b/src/netx/jnlp/runtime/JNLPSecurityManager.java
@@ -263,41 +263,6 @@
}
/**
- * Checks whether the window can be displayed without an applet
- * warning banner, and adds the window to the list of windows to
- * be disposed when the calling application exits.
- */
- public boolean checkTopLevelWindow(Object window) {
- ApplicationInstance app = getApplication();
-
- // remember window -> application mapping for focus, close on exit
- if (app != null && window instanceof Window) {
- Window w = (Window) window;
-
- if (JNLPRuntime.isDebug())
- System.err.println("SM: app: "+app.getTitle()+" is adding a window: "+window);
-
- weakWindows.add(window); // for mapping window -> app
- weakApplications.add(app);
-
- w.addWindowListener(contextListener); // for dynamic context classloader
-
- app.addWindow(w);
- }
-
- // change coffee cup to netx for default icon
- if (window instanceof Window)
- for (Window w = (Window)window; w != null; w = w.getOwner())
- if (window instanceof Frame)
- ((Frame)window).setIconImage(JNLPRuntime.getWindowIcon());
-
- // todo: set awt.appletWarning to custom message
- // todo: logo on with glass pane on JFrame/JWindow?
-
- return super.checkTopLevelWindow(window);
- }
-
- /**
* Checks whether the caller can exit the system. This method
* identifies whether the caller is a real call to Runtime.exec
* and has special behavior when returning from this method
protected.diff
ambiguous_Proxy.diff
java5-compatibility.patch
java11-compatibility.patch
......@@ -10,6 +10,3 @@ override_dh_auto_install:
dh_link /usr/share/java/netx-$(DEB_VERSION_UPSTREAM).jar /usr/share/java/netx.jar
override_dh_auto_clean:
get-orig-source:
-uscan --upstream-version 0