Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.2
-
None
Description
ExprLookup only works when the expression evaluates to a string. The doLookup(...) method casts the result to a string, which triggers a ClassCastException when it isn't.
This is unnecessary. The Lookup interface allows for any object to be returned. Also, non-string expressions are entirely useful.