Hey guys,
I've tried to use code like the following with Japhar.
String fstr = new String("3.14");
try {
Float f = new Float(fstr);
} catch (NumberFormatException nfe) {
System.out.println("caught exception: " +
nfe.getMessage());
}
This fails with Japhar+JDK
native frame: java/lang/Double.valueOf0
java frame: java/lang/Float.<init> (pc = 9)
java frame: FloatTest.parseFloat (39, pc = 7)
java frame: FloatTest.main (5, pc = 95)
Bus error
and Japhar+Classpath
native frame: java/lang/Float.parseFloat
java frame: java/lang/Float.<init> (34, pc = 9)
java frame: FloatTest.parseFloat (39, pc = 7)
java frame: FloatTest.main (5, pc = 78)
Looks like the same problem to my newbie JNI eyes. Any pointers as to
what's going wrong or do I need to figure out how to turn on the
logging/debugging to see more details and try to fix it for you?
Brian
--
|-------------------------------|Software Engineer
|Brian Jones |[EMAIL PROTECTED]
|[EMAIL PROTECTED] |http://www.nortel.net
|http://www.classpath.org/ |------------------------------