
|
If you were logged in you would be able to see more operations.
|
|
|
| Resolution Date: |
23/Apr/06 02:30 AM
|
|
TestFieldsOfDouble fails because the test attempts to persist values of Double.MIN_VALUE and Double.MAX_VALUE and the Derby double datatype has narrower limits.
Craig's comment:
We should not use Double.MIN_VALUE and MAX_VALUE in TCK tests. I had changed a number of these to fix a similar bug last year, but apparently overlooked this class.
We decided to use these values for double in the AllTypes class:
public static final double DOUBLE_SMALLEST = -9999999999999.9;
public static final double DOUBLE_LARGEST = 9999999999999.9;
public static final double[] double_values =
{ DOUBLE_SMALLEST, DOUBLE_LARGEST, 0.0, 100.0, 100.0,
50000000.0, -234234.234, 1000000000.0, 350.5, -25.5 };
I'd be happy to use DOUBLE_LARGEST and DOUBLE_SMALLEST from AllTypes.
|
|
Description
|
TestFieldsOfDouble fails because the test attempts to persist values of Double.MIN_VALUE and Double.MAX_VALUE and the Derby double datatype has narrower limits.
Craig's comment:
We should not use Double.MIN_VALUE and MAX_VALUE in TCK tests. I had changed a number of these to fix a similar bug last year, but apparently overlooked this class.
We decided to use these values for double in the AllTypes class:
public static final double DOUBLE_SMALLEST = -9999999999999.9;
public static final double DOUBLE_LARGEST = 9999999999999.9;
public static final double[] double_values =
{ DOUBLE_SMALLEST, DOUBLE_LARGEST, 0.0, 100.0, 100.0,
50000000.0, -234234.234, 1000000000.0, 350.5, -25.5 };
I'd be happy to use DOUBLE_LARGEST and DOUBLE_SMALLEST from AllTypes. |
Show » |
made changes - 20/May/05 03:18 AM
| Field |
Original Value |
New Value |
|
Status
|
Open
[ 1
]
|
Resolved
[ 5
]
|
|
Resolution
|
|
Fixed
[ 1
]
|
made changes - 01/Nov/05 06:50 AM
|
Status
|
Resolved
[ 5
]
|
Closed
[ 6
]
|
made changes - 23/Apr/06 02:18 AM
|
Resolution
|
Fixed
[ 1
]
|
|
|
Status
|
Closed
[ 6
]
|
Reopened
[ 4
]
|
made changes - 23/Apr/06 02:21 AM
|
Resolution
|
|
Fixed
[ 1
]
|
|
Status
|
Reopened
[ 4
]
|
Closed
[ 6
]
|
made changes - 23/Apr/06 02:27 AM
|
Resolution
|
Fixed
[ 1
]
|
|
|
Status
|
Closed
[ 6
]
|
Reopened
[ 4
]
|
made changes - 23/Apr/06 02:30 AM
|
Fix Version/s
|
|
JDO 2 beta
[ 12310683
]
|
|
Status
|
Reopened
[ 4
]
|
Closed
[ 6
]
|
|
Resolution
|
|
Fixed
[ 1
]
|
|