Date: Sat, 31 May 2003 17:48:35 +0800 From: Huang wen hui <huang@gddsn.org.cn> To: threads@freebsd.org Subject: Native jdk1.4.1 with libkse Message-ID: <3ED87A73.2030009@gddsn.org.cn>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3ED87A73.2030009>