OperandResolver.parseDouble(".123") will return null OperandResolver.parseDouble("-.123") will return null Both operations should return a correct Double value
Created attachment 25859 [details] Patch : Contain Fix and Testcase for OperandResolver.parseDouble This patch also contain a testcase for Bug 48472 as it fixes this issue as well.
A very nice patch! Regexp-based detection is much more elegant than the previous logic. Applied in r984161 Thanks, Yegor