[icedtea-web] RFC: Fix for RH718693: MindTerm SSH Applet doesn't work

Deepak Bhole dbhole at redhat.com
Thu Aug 4 13:58:16 PDT 2011


Hi,

Attached path fixes rhbz 718693:
https://bugzilla.redhat.com/show_bug.cgi?id=718693

The patch adds a class that certain apps may call because Netscape used
to need it. IcedTea-Web does not need this, and therefore the methods
are empty.

Okay for HEAD and 1.1?

ChangeLog:
2011-08-04  Deepak Bhole <dbhole at redhat.com>

    RH718693: MindTerm SSH Applet doesn't work
    * plugin/icedteanp/java/netscape/security/PrivilegeManager.java: New file.
    Stub class, not needed with IcedTea-Web.

Cheers,
Deepak
-------------- next part --------------
diff -r defa7d0051bf NEWS
--- a/NEWS	Wed Aug 03 14:11:11 2011 -0400
+++ b/NEWS	Thu Aug 04 16:55:23 2011 -0400
@@ -14,6 +14,7 @@
 	- RH718170, CVE-2011-2514: Java Web Start security warning dialog manipulation
 * Plugin
   - PR749: sun.applet.PluginStreamHandler#handleMessage(String) really slow
+  - RH718693: MindTerm SSH Applet doesn't work 
 Common
   - PR768: Signed applets/Web Start apps don't work with OpenJDK7 and up
 
diff -r defa7d0051bf plugin/icedteanp/java/netscape/security/PrivilegeManager.java
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/plugin/icedteanp/java/netscape/security/PrivilegeManager.java	Thu Aug 04 16:55:23 2011 -0400
@@ -0,0 +1,24 @@
+package netscape.security;
+
+import sun.applet.PluginDebug;
+
+public class PrivilegeManager {
+
+    /**
+     * Stub for enablePrivilege. Not used by IcedTea-Web, kept for compatibility
+     * 
+     * @param privilege
+     */
+    public static void  enablePrivilege(String privilege) {
+        PluginDebug.debug("netscape.security.enablePrivilege stub called");
+    }
+    
+    /**
+     * Stub for disablePrivilege. Not used by IcedTea-Web, kept for compatibility
+     * 
+     * @param privilege
+     */
+    public static void  disablePrivilege(String privilege) {
+        PluginDebug.debug("netscape.security.disablePrivilege stub called");
+    }
+}


More information about the distro-pkg-dev mailing list