On 04/Sep/2009 14:09, sebb wrote:
> Whilst testing Commons Math on Harmony, I came across a difference in
> DecimalFormat from the Sun Java implementation.
> 
> Sun Java won't strip leading spaces from numbers, and stops at the
> first space, whereas Harmony seems to strip all spaces - leading,
> embedded and trailing.
> 
> So the string " 1 2 3   " is parsed by Harmony as the number 123.
> Sun Java returns null (leading space). If the leading space is
> removed, Sun returns 1.
> 
> Is this difference intentional?
> 
> If not, I can file a JIRA if required.

We seem to be chasing the same bugs (via Apache Commons Maths)
I already raised HARMONY-6335

Thanks for reporting it, and keep them coming!

Regards,
Tim


Reply via email to