# Wednesday, May 2, 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, May 2, 2007 8:32:19 AM (W. Europe Daylight Time, UTC+02:00)  #    Comments [2]
Thursday, May 3, 2007 6:28:27 PM (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, May 8, 2007 2:52:51 PM (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
Comments are closed.