Support overriding `Exception#message` #5136
In CRuby, an uncaught exception messages users with the exception's message, considering if it's overriden or not.
class A < StandardError def message 'hello' end end raise A
This pull request changes JRuby behaviour similar to CRuby's.
Note that if the overriden
This pullreq already considers that.
class A < StandardError def message raise 'boom boom!' end end raise A
I'm not fluent in Java, so please let me know if there's somewhere you don't feel good! I'm more than happy to update my commit.