Update of /cvsroot/cweb/bigdata/src/java/com/bigdata/btree
In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv22157/src/java/com/bigdata/btree
Modified Files:
BytesUtil.java
Log Message:
Update to javadoc and enabling JNI loading in BytesUtil.java
Index: BytesUtil.java
===================================================================
RCS file: /cvsroot/cweb/bigdata/src/java/com/bigdata/btree/BytesUtil.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** BytesUtil.java 13 Apr 2007 16:48:05 -0000 1.3
--- BytesUtil.java 13 Apr 2007 17:03:09 -0000 1.4
***************
*** 39,50 ****
static {
! // try {
! // System.loadLibrary("BytesUtil");
! // System.err.println("BytesUtil JNI linked");
! // linked = true;
! // } catch (UnsatisfiedLinkError ex) {
! // System.err.println("BytesUtil JNI NOT linked: " + ex);
! // linked = false;
! // }
/*
--- 39,50 ----
static {
! try {
! System.loadLibrary("BytesUtil");
! System.err.println("BytesUtil JNI linked");
! linked = true;
! } catch (UnsatisfiedLinkError ex) {
! System.err.println("BytesUtil JNI NOT linked: " + ex);
! linked = false;
! }
/*
***************
*** 625,628 ****
--- 625,630 ----
}
+ System.err.println("JNI library routines Ok.");
+
}
|