Menu

#33 Workaround for getDouble?

open
nobody
None
5
2002-06-18
2002-06-18
No

I'm curious if anyone has experienced this exception:

Applet exception: java.lang.Double: method parseDouble
(L java/lang/String;)D not found
at org.gjt.mm.mysql.ResultSet.getDouble (Unknown
Source)
at org.gjt.mm.mysql.ResultSet.getFloat (Unknown
Source)

The JVM that is giving me this error is the 1.1.5 JVM in
Netscape that comes with RedHat 7.2. I don't have
much of a choice about upgrading this, as I expect
many of my users will be using it. Of course, the
appletviewer for the 1.4 JDK doesn't throw this
exception, because this has now been added to the
API. Is there a way around this without changing the
driver to use
myDouble = Double.valueOf(myString).doubleValue();
as Sun suggested (in the 1.1 days)?
Thanks,
Hill

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.