Sorry I got you confused initially; the example I gave you was intended to run on 2.1 SNAPSHOT - which allows overriding the bitwiseXor method in JexlArithmetic. In 2.0.1 which I suppose you are using, your code is correct; however it would seem the operator precedence rules are not what is expected (which is why parenthesis are needed for expr to work as intended). This might be a bug in the Parser.jjt... Regards
-- View this message in context: http://apache-commons.680414.n4.nabble.com/JEXL-Override-bitwise-xor-tp4123961p4124399.html Sent from the Commons - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
