Fixed
Details
Details
Assignee
Gunnar Morling
Gunnar MorlingReporter
Andrea Vacondio
Andrea VacondioLabels
Participants
Andrea Vacondio
Gunnar Morling
Original estimate
Time tracking
No time logged0.03h remaining
Components
Fix versions
Affects versions
Priority
Created March 23, 2013 at 5:36 PM
Updated August 9, 2013 at 10:34 AM
Resolved August 7, 2013 at 9:29 AM
I'm using Hibernat-Validator 4.2.0 Final in an Android project and it fails with the following:
This happens because java.beans.Introspector is not part of Dalvik. Looking at the code it seems only the Introspector is used only in the following line:
which is a very simple String manipulation method.
Proposed soultion
Included a decapitalize method in the ReflectionHelper removing the dependency toward the Introspector.
I tested this solution with some simple valdation constraint and everything worked fine.