Native jdk1.4.1 with libkse
Huang wen hui
huang at gddsn.org.cn
Sat May 31 02:45:33 PDT 2003
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
More information about the freebsd-java
mailing list