Dynamic rescue blocks don't catch Java exceptions #1598
I found that dynamic rescue blocks are unable to catch Java exceptions. The
This is shown by this example:
With any Ruby exception,
I dug around a little in JRuby code and applied the following patch, which does make it work in this particular case:
I'm not familiar enough with JRuby code to be able to say that this correct and complete, though, so please double check!
The text was updated successfully, but these errors were encountered: