Closed glassfishrobot closed 11 years ago
@glassfishrobot Commented Reported by markt_asf
@glassfishrobot Commented kchung said: The grammar in the spec has been replaced by the RI's JAVACC grammar in EL 3.0, which, interestingly, also has this problem. It is now fixed.
@glassfishrobot Commented This issue was imported from java.net JIRA UEL-15
@glassfishrobot Commented Marked as fixed on Friday, March 15th 2013, 11:36:13 am
The current production for literal component is: LiteralComponent ::= ([^$#])([$#])? | ([^$#])([$#][^{]) | ([^$#])*
Depending on exact details of the parser implementation, this results in #$
{1+1}
being treated as a literal rather than the expected behaviour of evaluating to #2.
This can be correct by changing the production for literal component to: LiteralComponent ::= ([^$#])([$#])? | ([^$#])([$#][^{$#]) | ([^$#])*
Environment
Operating System: All Platform: All
Affected Versions
[current]