Emmanuel Bourg pushed to branch master at Debian Java Maintainers / libnetx-java
Commits: 58504c76 by Emmanuel Bourg at 2018-11-02T17:09:58Z Standards-Version updated to 4.2.1 - - - - - dc9d9406 by Emmanuel Bourg at 2018-11-02T17:10:06Z Switch to debhelper level 11 - - - - - 873cf3bb by Emmanuel Bourg at 2018-11-02T17:10:10Z Use salsa.debian.org Vcs-* URLs - - - - - f5069a00 by Emmanuel Bourg at 2018-11-02T17:17:45Z Fixed the build failure with Java 11 (Closes: #912543) - - - - - fbc06830 by Emmanuel Bourg at 2018-11-02T17:18:12Z Upload to unstable - - - - - 6 changed files: - debian/changelog - debian/compat - debian/control - + debian/patches/java11-compatibility.patch - debian/patches/series - debian/rules Changes: ===================================== debian/changelog ===================================== @@ -1,3 +1,13 @@ +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 <[email protected]> Fri, 02 Nov 2018 18:18:04 +0100 + libnetx-java (0.5-3) unstable; urgency=low * Team upload. ===================================== debian/compat ===================================== @@ -1 +1 @@ -10 +11 ===================================== debian/control ===================================== @@ -7,11 +7,11 @@ Uploaders: Torsten Werner <[email protected]> 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 ===================================== debian/patches/java11-compatibility.patch ===================================== @@ -0,0 +1,47 @@ +Description: Fixes the compatibility with Java 11 +Author: Emmanuel Bourg <[email protected]> +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 ===================================== debian/patches/series ===================================== @@ -1,3 +1,4 @@ protected.diff ambiguous_Proxy.diff java5-compatibility.patch +java11-compatibility.patch ===================================== debian/rules ===================================== @@ -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 View it on GitLab: https://salsa.debian.org/java-team/libnetx-java/compare/541468277228a5e7310ec6acff0e8c151142adaf...fbc06830748ed0b9832aa1b231103e78d7367102 -- View it on GitLab: https://salsa.debian.org/java-team/libnetx-java/compare/541468277228a5e7310ec6acff0e8c151142adaf...fbc06830748ed0b9832aa1b231103e78d7367102 You're receiving this email because of your account on salsa.debian.org.
_______________________________________________ pkg-java-commits mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-java-commits

