tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 47371] EL expression parser error when getter methed return an empty string
Date Fri, 22 Apr 2011 15:23:16 GMT

--- Comment #3 from Konstantin Kolinko <> 2011-04-22 11:23:11
EDT ---
Confirming in trunk, both the original issue and the one in Comment 2.

>From expression_language-2_2-mrel-spec.pdf:

The '+' operator is defined in chapter 1.7.1. There is the following step
Otherwise coerce both A and B to Long and apply operator

Coercion to Long is covered by chapter 1.18.3.
If A is null or "", return 0.

Throwing a NumberFormatException for the empty string is a bug.

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message