Date: Sat, 31 May 2003 15:02:24 +0300 From: Alexey Zelkin <phantom@FreeBSD.org.ua> To: Huang wen hui <huang@gddsn.org.cn> Cc: threads@freebsd.gddsn.org.cn Subject: Re: Native jdk1.4.1 with libkse Message-ID: <20030531150224.A21751@phantom.cris.net> In-Reply-To: <3ED879B7.9070602@gddsn.org.cn>; from huang@gddsn.org.cn on Sat, May 31, 2003 at 05:45:27PM %2B0800 References: <3ED879B7.9070602@gddsn.org.cn>
next in thread | previous in thread | raw e-mail | index | archive | help
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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030531150224.A21751>
