[PATCH] plugins aborts with SIG11 whan any applet pops up a dialog window

Georg-W. Koltermann gwk at rahn-koltermann.de
Thu Feb 12 14:05:52 PST 2004


It seems I had to fix this myself.  Fortunately the fix was simple
enough, see below.

Please could someone commit this patch.

The testcase was in my previous email, if someone wants to verify.

BTW, the installation of the jdk14 port installs a few directories with
the wrong permissions:

        drwx------  4 root  wheel  512 12 Feb 22:53 ./jre/plugin/i386
        drwx------  2 root  wheel  512 12 Feb 22:54 ./jre/plugin/i386/ns4
        drwx------  2 root  wheel  512 12 Feb 22:54 ./jre/plugin/i386/ns610

--
Regards,
Georg.
----------------------------------------------------snip---------------------
--- ../../j2se/src/solaris/native/sun/awt/awt_Component.c.gwk	Thu Feb 12 18:43:00 2004
+++ ../../j2se/src/solaris/native/sun/awt/awt_Component.c	Thu Feb 12 22:38:46 2004
@@ -1179,7 +1179,7 @@
             }
             XtVaSetValues(to, XmNtraversalOn, True, NULL);
         }
-    } else if (from != NULL) {
+    } else if (from != NULL && to != NULL) {
         // disable the tree starting from uncommon part to 'from'
         if (parents_from[index] == parents_to[index]) {
             if (index == count_from - 1) {




More information about the freebsd-java mailing list