Potential Regression: Extlib spec suite: Enumerable#entries wrong # of
arguments(0 for 1)
-----------------------------------------------------------------------------------------
Key: JRUBY-4161
URL: http://jira.codehaus.org/browse/JRUBY-4161
Project: JRuby
Issue Type: Bug
Components: Core Classes/Modules
Affects Versions: JRuby 1.4.0RC2
Environment: jruby 1.4.0RC2 (ruby 1.8.7 patchlevel 174) (2009-10-21
7e77f32) (Java HotSpot(TM) Client VM 1.6.0_15) [i386-java]
Reporter: Alex Coles
Attachments: jruby1.4rc2-regression.txt
The extlib project (github.com/datamapper/do) provides core extensions to both
Merb and DataMapper projects. One of our core classes is LazyArray, which
provides a foundation for the DM ORM.
in MRI 1.8.7, JRuby 1.3.1 our spec suite passes fully.
In JRuby 1.4.0RC2 our we're failing with "1845 examples, 657 failures, 1
pending".
Output of a spec run is attached.
To run Extlib specs:
{noformat}
sudo jruby -S gem install addressable json_pure
git clone git://github.com/datamapper/extlib.git && cd extlib && git checkout
-b next --track origin/next
jruby -S rake spec
{noformat}
Apologies for not providing a better reduction. Will try to, if I get the time,
but for now wanted to make sure this issue is logged.
>From cursory glance, it looks like Enumerable#entries on in 1.4.0RC2 might be
>requiring a parameter, where it should be optional. Extlib's LazyArray proxies
>a number of Enumerable methods, including #entries to provide a lazy loading
>capability (see lib/extlib/lazy_array.rb).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email