Native jdk1.4.1 with libkse

Alexey Zelkin phantom at FreeBSD.org.ua
Sat May 31 04:55:25 PDT 2003


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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-java
> To unsubscribe, send any mail to "freebsd-java-unsubscribe at freebsd.org"


More information about the freebsd-java mailing list