Re: Bug in beanutils FloatLocalConverter.parse

2009-05-14 Thread sebb
On 14/05/2009, Steve Brewer 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.

Bug in beanutils FloatLocalConverter.parse

2009-05-14 Thread Steve Brewer
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, whi