[
https://issues.apache.org/jira/browse/BVAL-15?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Work on BVAL-15 started by Roman Stumm.
> @Min and @Max fail with very high values of long
> ------------------------------------------------
>
> Key: BVAL-15
> URL: https://issues.apache.org/jira/browse/BVAL-15
> Project: BeanValidation
> Issue Type: Bug
> Components: jsr303
> Affects Versions: 0.1-incubating
> Reporter: Carlos Vara
> Assignee: Roman Stumm
> Attachments: minmaxfix.diff, MinMaxValidatorsForNumberTest.java
>
>
> Current implementations of MinValidationForNumber and MaxValidatorForNumber
> fail when comparing very high long values. The reason is that they cast the
> value to a double before comparing, so long values that cast to the same
> double value may fail.
> On a side note: Hibernate Validator has the same problem.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.