jruby/jruby — pull request #2087 by cheald (2014-11-03 21:28:20+00:00)
Title: Typecheck arg for op_mod19

Check for fixnum/float/bignum before casting `other`, and coerce if not a known good type.
Fixes cases like (1.23 ** nil) throwing a Java exception rather than a TypeError.