[arch-commits] Commit in icedtea-web/trunk (PKGBUILD java13-SecurityManager.patch)

Levente Polyak anthraxx at gemini.archlinux.org
Tue Nov 9 19:40:06 UTC 2021


    Date: Tuesday, November 9, 2021 @ 19:40:05
  Author: anthraxx
Revision: 427720

upgpkg: icedtea-web 1.8.8-1

Modified:
  icedtea-web/trunk/PKGBUILD
Deleted:
  icedtea-web/trunk/java13-SecurityManager.patch

------------------------------+
 PKGBUILD                     |   10 +-----
 java13-SecurityManager.patch |   65 -----------------------------------------
 2 files changed, 3 insertions(+), 72 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-09 17:14:55 UTC (rev 427719)
+++ PKGBUILD	2021-11-09 19:40:05 UTC (rev 427720)
@@ -4,7 +4,7 @@
 
 pkgbase=icedtea-web
 pkgname=('icedtea-web' 'icedtea-web-doc')
-pkgver=1.8.6
+pkgver=1.8.8
 pkgrel=1
 pkgdesc='Additional components for OpenJDK - Browser plug-in and Web Start implementation'
 url='https://github.com/AdoptOpenJDK/IcedTea-Web'
@@ -14,19 +14,15 @@
              'firefox' 'epiphany' 'rust' 'bc')
 optdepends=('rhino: for using proxy auto config files')
 source=(https://github.com/AdoptOpenJDK/IcedTea-Web/archive/${pkgbase}-${pkgver}.tar.gz
-        java13-SecurityManager.patch
         compiler-flags.patch)
-sha256sums=('a53d79e165e8a0c9f321f754cdc48f2e8a81978f9502ab454fdbb1134a650134'
-            'ee2221225afd4a577c1133b8ea4ddb7a596c7c8443cffc9185d21d404bd09f8c'
+sha256sums=('f4203a605a3c9c50acdcc6eef4a366b9fdd36d95edcd76bcbfede01107cb5fe6'
             '4db38a59012bf4c3dc857f340924ecbc796d89f15521abdc367bc39301be7a19')
-sha512sums=('8746791da2b0bae2f8085710728dffc5407bc7b00bc6a34ba14b384ae1d0112644f85a6ece32989e57e4620bf2a3061f5c586156fe116bd34dff7f2272832ebf'
-            '2ced4eb0542ed91a59d766bb4ca0db28a1f9b9569f48bf5b80ff178c81700067cc28a2ec99d06f479fa402ef4f290da291ad8275e52d1cbd27bee445e3ce3f7c'
+sha512sums=('99f246ce603e3edd4357a2c4d280f1ef92e1f760ca5d843eaccf7ca60950a47defec64eed87dac26c5c2e9776bed2f3e53f2c8793dabd47e1b5fc82823190dcc'
             '0689abbe5fa5b616a3c71caf038a42bc69a4950e923cce3c658c15a85a140f5d2e19a96429fc82cfe38c42fdc7bca4a305fd613e3483a8f98a6ee3daaf0a8304')
 
 prepare() {
   cd IcedTea-Web-${pkgbase}-${pkgver}
   patch -Np0 < "${srcdir}/compiler-flags.patch"
-  patch -Np1 < "${srcdir}/java13-SecurityManager.patch"
   autoreconf -fiv
 }
 

Deleted: java13-SecurityManager.patch
===================================================================
--- java13-SecurityManager.patch	2021-11-09 17:14:55 UTC (rev 427719)
+++ java13-SecurityManager.patch	2021-11-09 19:40:05 UTC (rev 427720)
@@ -1,65 +0,0 @@
-From 276806d9984331c754fb636ab11f05e78b3fc8c7 Mon Sep 17 00:00:00 2001
-From: Martin Schelldorfer <schelldorfer at gmail.com>
-Date: Fri, 20 Sep 2019 14:51:29 +0200
-Subject: [PATCH]  #437 Application cannot be started with JDK 13 -
- AWTSecurityManager was removed
-
----
- .../jnlp/runtime/JNLPSecurityManager.java     | 30 +------------------
- 1 file changed, 1 insertion(+), 29 deletions(-)
-
-diff --git a/netx/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java b/netx/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java
-index 367b2b25..be418103 100644
---- a/netx/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java
-+++ b/netx/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java
-@@ -29,7 +29,6 @@
- import net.sourceforge.jnlp.util.logging.OutputController;
- import net.sourceforge.jnlp.util.WeakList;
- import net.sourceforge.swing.SwingUtils;
--import sun.awt.AWTSecurityManager;
- import sun.awt.AppContext;
-
- /**
-@@ -47,7 +46,7 @@
-  * @author <a href="mailto:jmaxwell at users.sourceforge.net">Jon A. Maxwell (JAM)</a> - initial author
-  * @version $Revision: 1.17 $
-  */
--class JNLPSecurityManager extends AWTSecurityManager {
-+class JNLPSecurityManager extends SecurityManager {
-
-     // todo: some apps like JDiskReport can close the VM even when
-     // an exit class is set - fix!
-@@ -424,33 +423,6 @@
-     }
-
-     /**
--     * This returns the appropriate {@link AppContext}. Hooks in AppContext
--     * check if the current {@link SecurityManager} is an instance of
--     * AWTSecurityManager and if so, call this method to give it a chance to
--     * return the appropriate appContext based on the application that is
--     * running.
--     * <p>
--     * This can be called from any thread (possibly a swing thread) to find out
--     * the AppContext for the thread (which may correspond to a particular
--     * applet).
--     * </p>
--     */
--    @Override
--    public AppContext getAppContext() {
--        ApplicationInstance app = getApplication();
--        if (app == null) {
--            /*
--             * if we cannot find an application based on the code on the stack,
--             * then assume it is the main application
--             */
--            return mainAppContext;
--        } else {
--            return app.getAppContext();
--        }
--
--    }
--
--    /**
-      * Tests if a client can get access to the AWT event queue. This version allows
-      * complete access to the EventQueue for its own AppContext-specific EventQueue.
-      *



More information about the arch-commits mailing list