FasterXML/jackson-module-scala — pull request #25 by nbauernfeind (2012-04-06 03:32:37+00:00)
Title: The module should handle parameterized case classes. (for master branch)

We're ready to use Jackson 2.0 if you're ready to release jackson-module-scala. I've fixed a compilation error from master and rebased my 1.9 changes on top of it. You can avoid doing the merge yourself this way ;) (and just drop the supporting it in 1.9).

And, BTW, the fix comes directly from the deep internals of the scalabean library. It expects that the ScalaType it's given has parameters defined if it's a generic type. Copy in only the tests and trace with a debugger; you'll quickly find what I'm talking about.

--- Old Pull Request Message

But it doesn't. It throws an out of bounds exception when trying to match the scala type up with the class description. Since this module only cares about the scalabean descriptor's properties it was harmless =) (I hope).

Interestingly enough, parameterized case classes were fine if that case class had a companion object. Hopefully edge cases and issues like this go away with the scala reflection library in 2.10.

BTW, I'm updating v1.9 because we're not ready to use Jackson 2.0 release-candidates (and, technically, the RC's are not in public repositories.)

(Sorry about the duplicate pull-request but I completely messed up the previous one and couldn't add this patch.)