pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/jruby/jruby/commit/722fecac34453e47d530946352382bdc2e5b2b7b

/> Spec for JRUBY-6103: allocator undefined for NativeException · jruby/jruby@722feca · GitHub
Skip to content

Commit 722feca

Browse files
committed
Spec for JRUBY-6103: allocator undefined for NativeException
Marked pending for now.
1 parent 3b650b4 commit 722feca

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

spec/java_integration/exceptions/rescue_spec.rb

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,14 @@
3434
e.message.should =~ /lets cause an init exception$/
3535
end
3636
end
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+
end
3747
end

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy