[MacRuby] #878: Can't catch an exception of Sandbox.

MacRuby ruby-noreply at macosforge.org
Fri Aug 27 19:25:21 PDT 2010


#878: Can't catch an exception of Sandbox.
----------------------------------+-----------------------------------------
 Reporter:  watson1978@…          |       Owner:  lsansonetti@…        
     Type:  defect                |      Status:  new                  
 Priority:  minor                 |   Milestone:                       
Component:  MacRuby               |    Keywords:                       
----------------------------------+-----------------------------------------

Comment(by watson1978@…):

 If change rb_eSecurityError to rb_eRuntimeError in sandbox.c, catch it.
 {{{
 $ DYLD_LIBRARY_PATH=. ./macruby -I./lib t.rb
 nil
 #<RuntimeError: Couldn't apply sandbox: `Operation not permitted`>
 :ok
 }}}
 Is it specifications not to have catch?

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/878#comment:1>
MacRuby <http://macruby.org/>



More information about the macruby-tickets mailing list