From owner-freebsd-java@FreeBSD.ORG Sat May 31 04:55:25 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 98CCD37B401 for ; Sat, 31 May 2003 04:55:25 -0700 (PDT) Received: from relay1.cris.net (relay1.cris.net [212.110.128.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9A53D43FAF for ; Sat, 31 May 2003 04:55:22 -0700 (PDT) (envelope-from ml@phantom.cris.net) Received: from phantom.cris.net (root@phantom.cris.net [212.110.130.74]) by relay1.cris.net (8.12.6/8.12.6) with ESMTP id h4VEstIX027769; Sat, 31 May 2003 14:54:56 GMT Received: (from ml@localhost) by phantom.cris.net (8.12.6/8.12.2) id h4VC2OLV021781; Sat, 31 May 2003 15:02:24 +0300 (EEST) (envelope-from ml) Date: Sat, 31 May 2003 15:02:24 +0300 From: Alexey Zelkin To: Huang wen hui Message-ID: <20030531150224.A21751@phantom.cris.net> References: <3ED879B7.9070602@gddsn.org.cn> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3ED879B7.9070602@gddsn.org.cn>; from huang@gddsn.org.cn on Sat, May 31, 2003 at 05:45:27PM +0800 X-Operating-System: FreeBSD 4.7-STABLE i386 cc: java@freebsd.org cc: threads@freebsd.gddsn.org.cn Subject: Re: Native jdk1.4.1 with libkse X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 May 2003 11:55:25 -0000 hi, Guys, jdk14-p3 is not guaranted to work with any threading library, but libc_r. On Sat, May 31, 2003 at 05:45:27PM +0800, Huang wen hui wrote: > hi, > This is sample code that can crash Native jdk1.41 with libkse. It > works with libthr or libc_r. Is this the problem of signal handling ? > > #java -version > java version "1.4.1-p3" > Java(TM) 2 Runtime Environment, Standard Edition (build > 1.4.1-p3-root_07_mar_2003_10_47) > Java HotSpot(TM) Client VM (build 1.4.1-p3-root_07_mar_2003_10_47, mixed > mode) > > #java TestKSE > Illegal instruction (core dumped) > > > > ----------------------------------------------------- > public class TestKSE { > private double[] sampData = null; > public TestKSE(){ > int len; > try{ > len = sampData.length; > }catch(NullPointerException npe) { > System.err.println("catch null"); > } > } > > public static void main(String[] args) { > new TestKSE(); > } > } > > --hwh > > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org"