Paul Sandoz wrote:
>
>Thanks for finding this.
>
>Grrr... the auto-boxing in JDK 5.0 is resulting in the use of the
>following method:
>
>assertEquals(Object expected, Object actual)
>
>'
>
>
<rant>
got to love that. Introduce a language feature to make things easier
and it results in some code not working between versions... not my
decision but I think autoboxing was a stupid idea. Plus people will be
even less aware of when they are creating new objects.
</rant>