URL: http://github.com/jruby/jruby/commit/722fecac34453e47d530946352382bdc2e5b2b7b
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b650b4 commit 722fecaCopy full SHA for 722feca
1 file changed
spec/java_integration/exceptions/rescue_spec.rb
@@ -34,4 +34,14 @@
34
e.message.should =~ /lets cause an init exception$/
35
end
36
37
+
38
+ pending "can be re-raised" do
39
+ lambda {
40
+ begin
41
+ ThrowExceptionInInitializer.new.test
42
+ rescue NativeException => e
43
+ raise e.exception("re-raised")
44
+ end
45
+ }.should raise_error(NativeException)
46
47
0 commit comments