New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ji] java.util.Collection should not be to_ary convertible #3790

Closed
kares opened this Issue Apr 9, 2016 · 0 comments

Comments

Projects
None yet
1 participant
@kares
Member

kares commented Apr 9, 2016

currently only Java arrays provide to_ary ... it maybe makes sense for java.util.List
... but not for generic collection instances such as sets (even Ruby's Set doesn't provide to_ary)

proposing only having to_a in Collection and providing to_ary on List (at least for some compatibility)

kares added a commit that referenced this issue Apr 12, 2016

@kares kares added this to the JRuby 9.1.0.0 milestone Apr 12, 2016

@kares kares closed this Apr 12, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment