Clone
Luca Molteni <volothamp@gmail.com>
committed
on 01 Jul
[DROOLS-4207] Error while beta joining short and integer fields (#2419)
* Avoid casting numeric expressions while using equality helper

* R… Show more
[DROOLS-4207] Error while beta joining short and integer fields (#2419)

* Avoid casting numeric expressions while using equality helper

* Reproducer (still not the same error)

* Always use helper method for number comparison

* Null check for uncast, to be removed

* Always use helper for equality, this time for real

* Renamed

* Also box other comparisons

* Add overloads to allow compiler to emit valid code

* Fix QueryTest without types

* Fix negative test

* Removed TODO

* Added assert to test

Show less

master + 2 more