jruby/jruby — pull request #1231 by dmarcotte (2013-11-15 15:24:47+00:00)
Title: Fix count_spec (1.7.x)

Use the appropriate arity to get Enumerable#count to handle its args correctly. Note that we need to switch from JavaInternalBlockBody to a BlockCallback since JavaInternalBlockBody does not currently get its arguments prepared correctly for the given arity (this is fixed in master).

This does not need to be merged into master since #1230 takes care of it.