[MacRuby] #1076: Abort occurs when raise a SecurityError within Thread.
MacRuby
ruby-noreply at macosforge.org
Thu Jan 27 18:36:45 PST 2011
#1076: Abort occurs when raise a SecurityError within Thread.
----------------------------------+-----------------------------------------
Reporter: watson1978@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: blocker | Milestone:
Component: MacRuby | Keywords:
----------------------------------+-----------------------------------------
Comment(by lsansonetti@…):
First, there is a bug in Array#delete. We check if the array can be
modified *after* deleting the item, while it should be done first.
{{{
$ ./miniruby -e "a=[1]; a.freeze; a.delete(1) rescue nil; p a"
[]
$ ruby -e "a=[1]; a.freeze; a.delete(1) rescue nil; p a"
[1]
}}}
This bug is fixed in r5193.
--
Ticket URL: <http://www.macruby.org/trac/ticket/1076#comment:4>
MacRuby <http://macruby.org/>
More information about the macruby-tickets
mailing list