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.