On 14/05/2009, Steve Brewer <steve.bre...@lumension.com> wrote: > I ran into this issue using commons-beanutils through Jasper Reports. > FloatLocalConverter.parse throws an exception for valid floats less than or > equal to 0. The code parses the value into a double, which it then checks to > make sure is a value float. It checks posDouble < Float.MIN_VALUE, which is > surprisingly not correct. Float.MIN_VALUE is the smallest positive float (as > close as you can get to 0 without being 0), not the most negative float > possible. I've checked out the source code, fixed the bug, and tested. > How should I go about checking this in?
Please raise a JIRA issue, and then you can attach the patch(es) to it, see: https://issues.apache.org/jira/browse/BEANUTILS Best to check first in case this has already been reported. > Thanks, > > -Steve Brewer > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org