commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From henrib <hen...@apache.org>
Subject Re: [JEXL] Override bitwise xor
Date Wed, 30 Nov 2011 19:24:02 GMT

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: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message