Fix stupid isCodeRangeValid bug.

Dear god, how long has this been here?
Merge remote-tracking branch 'origin/jruby-1_7'