Spring 2.0.2 / 2.0.4 / 2.0.5

About two weeks ago I migrated our project from spring 2.0.2 to the latest version available version in the maven repository at that time 2.0.4. The transition was smooth. It took a couple of days before I started realizing that the strange bugs (mostly in binding of primitives) surfacing in tested/accepted code where probably related to this version change.
I reread the changelogs for 2.0.4 and the only suspicious change seemed to be the following,

PropertyEditorRegistrySupport/BeanWrapperImpl lazily registers default editors when needed (to avoid init overhead)

But I wasn’t sure, didn’t have much time for a thorough investigation. This morning when we discovered even more unexplainable bugs I decided to upgrade to the latest stable version 2.0.5.

Even though there is nothing related to binding in the changelogs of 2.0.5 upgrading fixed our problem. Scary stuff! I started adding/extending a couple of unittests to be able to detect problems in the binding mechanism so I can verify their correct functioning in the future.


0 Responses to “Spring 2.0.2 / 2.0.4 / 2.0.5”

  1. No Comments

Leave a Reply





About

Welcome to the weblog of Peter Maas. Here you'll find various posts related to stuff I like (like my kids and espresso) and stuff I do (like developing software).

JavaOne 2008 Pictures


Joshua Bloch at JavaOne2008 alcatraz sea_lion smashmouth Java + You on a cab Acme Anvile at CommunityOne Keynote Community One Keynote Cable Car line Stretched Limo Greenland Okke en Rudie golden_gate_warning_sign javaone 2008 goodybag Hotel room Charles Nutter & Guillaume Laforge Stage being build in the nearby park Scribbled Sun Logo javaone2008 keynote Tim Bray introducing the (J)Ruby panel Moscone Center - JavaOne
View more photos >

Categories



Meld u aan voor PayPal en begin direct met het accepteren van creditcardbetalingen.