Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
0.6
-
None
Description
The following test:
public void testString2Double_1() {
try
catch (JMSException e)
{ fail(e); }}
Fails with:
junit.framework.AssertionFailedError: expected:<3.14159> but
was:<3.141590118408203>
This appears to be because the client ends up doing the equivalent of
Double.valueOf(Float.valueOf(value)) when doing string to double conversion
rather than the more direct Double.valueOf(value).