Make Thread#raise not raise $! #1942

merged 3 commits into from Oct 29, 2012
Commits on Oct 5, 2012
  1. @ryoqun
  2. @ryoqun

    Make Thread#raise not raise $!

    ryoqun committed Oct 4, 2012
    There is 1.8/1.9-specific behaviors when calling Thread#raise with no arguments
    inside a rescue clause and the called thread is also inside a rescue clause.
    First of all, Thread#raise doesn't use the exception in the calling thread. In
    other words, Thread#raise doesn't use $!, only Kernel#raise does.
    In 1.8, the raised exception is the exception in the called thread.
    In 1.9, it is always a RuntimeError.
  3. @ryoqun

    Remove passing tags

    ryoqun committed Oct 4, 2012