Summary:
https://javaserverfaces.dev.java.net/issues/show_bug.cgi?id=88
Shortcutting for the add/subtract op was mistakenly added when the other
math ops were shortcutted for performance. This patch fixes the issue
for add/subtract for JSF. The EL-RI within WebTier alignment does not
have this mistake.
Files Changed:
/cvs/javaserverfaces-sources/jsf-ri/src/com/sun/faces/el/impl/AbstractJsfParserVisitor.java
Diff:
Index: AbstractJsfParserVisitor.java
===================================================================
RCS file:
/cvs/javaserverfaces-sources/jsf-ri/src/com/sun/faces/el/impl/AbstractJsfParserVisitor.java,v
retrieving revision 1.2
diff -r1.2 AbstractJsfParserVisitor.java
439,443d438
- Number num0 = coerceToNumber(obj0);
- if (num0.doubleValue() == 0.0)
- {
- return num0;
- }
599,603d593
- Number num0 = coerceToNumber(obj0);
- if (num0.doubleValue() == 0.0)
- {
- return num0;
- }