From owner-freebsd-java Sun Aug 12 22:55: 6 2001 Delivered-To: freebsd-java@freebsd.org Received: from matsulab.is.titech.ac.jp (matsulab.is.titech.ac.jp [131.112.35.129]) by hub.freebsd.org (Postfix) with ESMTP id 5A9E637B408 for ; Sun, 12 Aug 2001 22:55:01 -0700 (PDT) (envelope-from fuyuhik8@is.titech.ac.jp) Received: from tripper.private by matsulab.is.titech.ac.jp (8.8.8+Sun/3.7W) id OAA09919; Mon, 13 Aug 2001 14:54:58 +0900 (JST) Date: Mon, 13 Aug 2001 14:57:13 +0900 Message-ID: <55hevc5wp2.wl@tripper.private> From: Fuyuhiko Maruyama To: freebsd-java@freebsd.org Subject: Japanese users, please help! (Re: 1.3.1 patchset 2) In-Reply-To: <20010813143257.B3131@misty.eyesbeyond.com> References: <20010813143257.B3131@misty.eyesbeyond.com> User-Agent: Wanderlust/2.6.0 (Twist And Shout) on XEmacs/21.1 (patch 14) (Cuyahoga Valley) MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: multipart/mixed; boundary="Multipart_Mon_Aug_13_14:57:13_2001-1" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --Multipart_Mon_Aug_13_14:57:13_2001-1 Content-Type: text/plain; charset=US-ASCII Hi all, Patchset 2 has been released, but I know a problem only appears in Japanese environment (using XIM). This is a segmentation fault within internal of Open Motif. At this time, I cannot determine which of J2SDK and Open Motif is bad, but patches for Open Motif attached this mail seems to fix the problem. So if you try J2SDK on Japanese environment, please apply patches to Open Motif before testing J2SDK otherwise all programs using java.awt.TextArea or java.awt.TextField dump core. There is another issue related Japanese environment. Xwnmo cannot be used to input Japanese text into Java program (e.g. demo/jfc/Notepad) but kinput2 works fine. I don't have another XIM server, so I cannot test other XIM server such as VJE. If you have such a XIM server, please run demo/jfc/Notepad and check whether you can input Japanese text or not using your XIM server. Thanks, P.S. I made patches for Open Motif using FreeBSD's ports version of Open Motif. -- Fuyuhiko MARUYAMA Matsuoka laboratory, Department of Mathematical and Computing Sciences, Graduate School of Information Science and Engineering, Tokyo Institute of Technology. --Multipart_Mon_Aug_13_14:57:13_2001-1 Content-Type: application/octet-stream; type=patch Content-Disposition: attachment; filename="OpenMotif.diff" Content-Transfer-Encoding: 7bit --- motif/lib/Xm/XmIm.c.bak Wed Aug 8 05:53:02 2001 +++ motif/lib/Xm/XmIm.c Mon Aug 13 07:37:51 2001 @@ -479,6 +479,7 @@ im_info->current_widget = w; XtVaGetValues(w, XmNbackground, &bg, NULL); XtVaSetValues(p, XmNbackground, bg, NULL); + ImGeoReq(p); draw_separator(p); } _XmAppUnlock(app); @@ -1272,6 +1273,7 @@ XtAddEventHandler(p, (EventMask)mask, False, null_proc, NULL); } if (XtIsRealized(p)) { + im_info->current_widget = w; if (XmIsDialogShell(p)) { for (i = 0; i < ((CompositeWidget)p)->composite.num_children; @@ -1282,7 +1284,6 @@ } } else ImGeoReq(p); - im_info->current_widget = w; } /* Is this new XIC supposed to be shared? */ switch (input_policy) --Multipart_Mon_Aug_13_14:57:13_2001-1-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message