@Max, @Min, @DecimalMax and @DecimalMin can give wrong results
--------------------------------------------------------------
Key: HV-335
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HV-335
Project: Hibernate Validator
Issue Type: Bug
Affects Versions: 4.1.0.CR1
Reporter: Carlos Vara
Assignee: Hardy Ferentschik
Current implementation of the validators convert the number to validate to a double. If
validating a long, this can produce loss of precision and give a wrong result.
For reference:
https://issues.apache.org/jira/browse/BVAL-15
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira