About two months ago we caught a nasty issue with getting some
1ClassCastExceptions
when comparing two
1Dates
. The code that failed the unit tests looked something like:
if (startDate.compareTo(endDate) < 0) {
The strange part was the developers running IBM’s RAD 6.0 never had failing tests and
1ClassCastExceptions
. The tests failed on the [...]