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
No work has yet been logged on this issue.