From: Johan Holmberg Date: 2005-09-07T00:41:57+09:00 Subject: [BUG?] SystemExit & abort_on_exception in latest "ruby_1_8" Hi! I have noticed a change in the effect of Thread.abort_on_exception in the latest "ruby_1_8" version in CVS, compared to 1.8.2. The following script works differently: --------------------------------------- Thread.abort_on_exception = true begin Thread.new do raise "boom" end rescue SystemExit puts "SystemExit caught ....." end Thread.pass sleep 10 puts "AT THE END ..." --------------------------------------- The output in the two versions are: $ latest-1.8/bin/ruby jh-thread.rb jh-thread.rb:5: boom (RuntimeError) from jh-thread.rb:4 $ $ 1.8.2/bin/ruby jh-thread.rb jh-thread.rb:5: boom (RuntimeError) from jh-thread.rb:4:in `initialize' from jh-thread.rb:4:in `new' from jh-thread.rb:4 SystemExit caught ..... AT THE END ... $ Is this change intentional, or a bug? /Johan Holmberg