at_exit do
unless $!
puts %q{Shouldn't there be an exception}
end
end
begin
raise 'Error stuff'
rescue
raise
end
Description
Here's a script that demonstrates the error:
at_exit do
unless $!
puts %q{Shouldn't there be an exception}
end
end
begin
raise 'Error stuff'
rescue
raise
end
Here's a patch I have that seems to fix this bug. It also incorporates my fix for bug
).
JRUBY-372(http://jira.codehaus.org/browse/JRUBY-372