Hi Tom,
attached you find my changes to fix issue 2771 "MOD does not allow field
expressions on both sides"
(
https://glassfish.dev.java.net/issues/show_bug.cgi?id=2771).
The MOD implementation in ModNode assumed that the second argument of a
MOD function call is always an integer literal .I changed the
implementation to be similar to PlusNode, MinusNode, etc. You find the
fix and new test cases attached. Please have a look.
Thanks!
Regards Michael