jakartaee / expression-language

Jakarta Expression Language
https://eclipse.org/ee4j/el
Other
62 stars 49 forks source link

[issue-114] EL should coerce String to Integer in equals operation #115

Closed rmartinc closed 4 years ago

rmartinc commented 4 years ago

Fix for issue #114

I'm just doing more or less the same that @markt-asf did in tomcat (but I decided to not change if-else-if and respect current structure). It just moved the order to follow the spec.

Bug in tomcat: https://bz.apache.org/bugzilla/show_bug.cgi?id=52666 Commit in tomcat: https://github.com/apache/tomcat/commit/bf9bf39bba9933642a9bb57f48871e54bcf67273

@markt-asf @bshannon This change is very simple. Please take a look and comment in the PR if you see anything wrong.

Regards!