Share and Enjoy

David Saff's blog of technological joys.

Wednesday, December 06, 2006


Hamcrest and generics

I like using hamcrest in my tests, but it has depressed me more than once how Java's generic typing rules force hamcrest to make odd typing choices. I've never investigated thoroughly, however. Luckily, someone else has.

There are many problems with generics but this is not one: it's a misunderstanding of the relationship between generics and reflection and how jMock needs to use matchers.
Good to know. Can you point me at more information?
Post a Comment

<< Home


February 2005   June 2005   March 2006   August 2006   December 2006   April 2007   May 2007   January 2008  

This page is powered by Blogger. Isn't yours?

Subscribe to Posts [Atom]