# Wednesday, 02 May 2007
« Groovy | Main | IKVM 0.34 Released »
More Good Tests

Albert Strasheim mailed me the suggestion to run the Apache Commons Lang test suite (BTW, Albert was also the one who pointed me to the JRuby and MTJ test suites).

That also resulted in a number of bugs fixed/filed:

NestableErrorTestCase.testPrintStackTrace failure         Various IKVM java.lang.Throwable fixes
CharSetTest.testSerialization failure Mono reflection bug
NumberUtilsTest.testCompareDouble failure Added hack to IKVM's Double.toString() and Double.parseDouble() to support Double.MIN_VALUE and Double.MAX_VALUE
NumberUtilsTest.testIsNumber failure GNU Classpath BigDecimal bug
DateUtilsTest.testAddYears failure GNU Classpath GregorianCalendar bug

This list doesn't explain all failures, some are caused by the same issues as the ones mentioned and I think there are a few more GNU Classpath calendar/date/time etc. related bugs and a few tests are not quite "correct". For example, the ToStringBuilderTest.testReflectionHierarchyArrayList test assumes that the private member that contains the array of java.util.ArrayList is named elementData, but in GNU Classpath's implementation it is named data.

Wednesday, 02 May 2007 08:32:19 (W. Europe Daylight Time, UTC+02:00)  #    Comments [2]
Thursday, 03 May 2007 18:28:27 (W. Europe Daylight Time, UTC+02:00)
Could you write a bit about how you actually go about finding these bugs? I spent a few hours today figuring out the Apache Derby test suite and it's turned up quite a few interesting failures when run with IKVM. Now I just need to figure out how to report the issues to you so you can reproduce them as easily as possible (e.g. it's easy to run the Derby tests if you grab the tarball of the binaries from the site, but actually figuring out what's going wrong by stepping through the code using Eclipse and the Sun JDK is going to need a source build).
Tuesday, 08 May 2007 14:52:51 (W. Europe Daylight Time, UTC+02:00)
I have a problem with SSL, this is what I get

java.security.NoSuchAlgorithmException: Class gnu.javax.net.ssl.provider.Context configured for SSLContext not a SSLContext
Home page

I apologize for the lameness of this, but the comment spam was driving me nuts. In order to be able to post a comment, you need to answer a simple question. Hopefully this question is easy enough not to annoy serious commenters, but hard enough to keep the spammers away.

Anti-Spam Question: What method on java.lang.System returns an object's original hashcode (i.e. the one that would be returned by java.lang.Object.hashCode() if it wasn't overridden)? (case is significant)

Comment (HTML not allowed)  

Live Comment Preview