You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2019/05/13 16:09:40 UTC

[Bug 63407] EL Compiler can not compile when the EL contains a java reserved word

https://bz.apache.org/bugzilla/show_bug.cgi?id=63407

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 OS|                            |All
         Resolution|---                         |INVALID

--- Comment #1 from Mark Thomas <ma...@apache.org> ---
From the EL 2.2 specification:

Identifier ::= Java language identifier

float is not a valid Java identifier because it is a reserved word in Java.

The same constraint was present in the EL 2.1 specification but Tomcat 6 was
not as strict.

In 7.0.x onwards you can disable this additional check using:
-Dorg.apache.el.parser.SKIP_IDENTIFIER_CHECK=false

although the right thing to do would be to fix the app.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org