[1.9] Array improvements to solve several specs
-----------------------------------------------
Key: JRUBY-3984
URL: http://jira.codehaus.org/browse/JRUBY-3984
Project: JRuby
Issue Type: Improvement
Components: Ruby 1.9
Reporter: David Calavera
Assignee: Thomas E Enebo
Fix For: JRuby 1.4
Attachments: array_specs.patch
Fix several specs for ruby 1.9 mode:
Subject: [PATCH] [1.9] Array#frozen? returns false for an array being sorted by
#sort!
Subject: [PATCH] [1.9] Array.collect returns an Enumerator when no block given
Subject: [PATCH] [1.9] Array#choice should raise a NoMethodError when array is
empty
Subject: [PATCH] [1.9] Array keeps untrusted status even if all elements are
removed
Subject: [PATCH] [1.9] Array.concat raises a RuntimeError when Array is frozen
and modification occurs
Subject: [PATCH] [1.9] Array.flatten! raises a RuntimeError on frozen arrays
Subject: [PATCH] [1.9] Array.push raises a RuntimeError on a frozen array
Subject: [PATCH] [1.9] Array.unshift raises a RuntimeError on a frozen array
Subject: [PATCH] [1.9] Array.uniq! raises a RuntimeError on a frozen array
Subject: [PATCH] [1.9] Array.map returns an Enumerator when no block given
Subject: [PATCH] [1.9] Array#insert raises a RuntimeError on frozen arrays
Subject: [PATCH] [1.9] Array#join raises an ArgumentError when the Array is
recursive
Subject: [PATCH] [1.9] Array#join returns a string which would be infected with
untrustworthiness of the array, its elements or the separator when the array is
not empty
--
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