I updated the Linux imp JNI so all the JNI function calls are now 
'checked' calls - none of the JNI calls should ever cause a JVM crash, it 
should instead print the offending function call and exit cleanly.

Also I overhauled the really old dbg() statements to new log() statements 
that go to java (JavaxUsb.java) and eventually will go to a logger, 
probably log4j.  I'm looking at both log4j and the 'official' 1.4 logging, 
which look quite similar...any suggestions as far as logging?

For now, if you want to see JNI logging, instead of the old 
-DJAVAX_USB_MSG_LEVEL=DEBUG3, edit the JavaxUsb.java file and uncomment 
the System.err.println() in the log() method.

Roger, are you (or anyone) still getting Exceptions or JVM crashes?

Thanks.


-- 
Dan Streetman
[EMAIL PROTECTED]
---------------------
186,272 miles per second:
It isn't just a good idea, it's the law!


-------------------------------------------------------
This SF.net email is sponsored by: Scholarships for Techies!
Can't afford IT training? All 2003 ictp students receive scholarships.
Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
www.ictp.com/training/sourceforge.asp
_______________________________________________
javax-usb-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/javax-usb-devel

Reply via email to