classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug in java.lang.Integer.java?


From: Thomas Hergenhahn
Subject: bug in java.lang.Integer.java?
Date: Sat, 20 Jul 2002 01:42:08 +0100

Dear all,
I'm using libjava from GCC-3.0.4 on Linux i386.
I pass the result from an Applet's getParameter to Integer.parseInt. If the 
parameter doesn't exist, my Application hangs at thist point. I catch a 
numberFormatException, but not a NullPointer Exception.
I had a look into your and Kaffe's sourcecode. Kaffe does explicitly test for 
null String there and throws a numberFormatException in this case.
Also Sun's implementation gives me a NumberFormatException for a null String 
here.

Yours sincerely

Thomas Hergenhahn

Attachment: strtod.diff
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]