[Orp-bugs] [ orp-Bugs-553627 ] Bug in java.lang.Double
Status: Beta
Brought to you by:
cierniak
From: <no...@so...> - 2003-01-01 22:46:04
|
Bugs item #553627, was opened at 2002-05-08 09:46 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=384545&aid=553627&group_id=25513 Category: Java Native Interface Group: None >Status: Deleted Resolution: None Priority: 5 Submitted By: Max Gilead (gilead) Assigned to: Nobody/Anonymous (nobody) Summary: Bug in java.lang.Double Initial Comment: Hello! There is a bug in native part of java.lang.Double. Try to run this test: public class DoubleBug { public static void main(String[] args) { System.out.println(".3 -> "+ new Double(".3").doubleValue()); } } It should print: .3 -> 0.3 Classpath 0.03 + ORP 1.0.9 prints: No Java handlers found Uncaught exception: java.lang.NumberFormatException: from Java_java_lang_Double_doubleValueOf at DoubleBug.main This error does not appear when Classpath is compiled with --enable-jni flag. Max ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=384545&aid=553627&group_id=25513 |