Nick Sieger created JRUBY-6341: ---------------------------------- Summary: Regression: Enumerable#first on a Java list returns an array, not an element Key: JRUBY-6341 URL: https://jira.codehaus.org/browse/JRUBY-6341 Project: JRuby Issue Type: Bug Components: Java Integration Affects Versions: JRuby 1.7 Reporter: Nick Sieger Assignee: Nick Sieger Fix For: JRuby 1.7
This fails on master but succeeds on 1.6: {noformat} java.util.ArrayList.new.tap {|l| l << 'foo' }.first == 'foo' or abort {noformat} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.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