Issue Details (XML | Word | Printable)

Key: JDO-206
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Michael Bouschen
Reporter: Andy Jefferson
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
JDO

JDOQL test NotEquals comparing floating point numbers

Created: 05/Nov/05 03:01 PM   Updated: 21/Dec/05 01:24 AM
Return to search
Component/s: tck2
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works JDO-206.patch 2005-12-19 05:37 AM Michael Bouschen 9 kB
File Licensed for inclusion in ASF works JDO-206.patch2 2005-12-20 07:48 AM Michael Bouschen 46 kB

Resolution Date: 21/Dec/05 01:24 AM


 Description  « Hide
The current TCK test (carried over from JDO 1.0) for NotEquals, uses != operator on floating point numbers. This is not a good practice, and is unreliable. Its probably the case that the Equals test uses == on the same content, which also is not a good idea (as noted in the latest spec). These tests need reviewing and a reliable alternate strategy adopting

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Craig Russell made changes - 19/Nov/05 02:57 AM
Field Original Value New Value
Assignee Erik Bengtson [ ebengtso ]
Michelle Caisse made changes - 17/Dec/05 02:39 AM
Assignee Erik Bengtson [ ebengtso ] Michael Bouschen [ mbo ]
Michael Bouschen made changes - 19/Dec/05 05:37 AM
Attachment JDO-206.patch [ 12321406 ]
Michael Bouschen made changes - 20/Dec/05 07:48 AM
Attachment JDO-206.patch2 [ 12321448 ]
Michael Bouschen made changes - 21/Dec/05 01:24 AM
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]