https://bz.apache.org/bugzilla/show_bug.cgi?id=64427

--- Comment #7 from mgrigorov <[email protected]> ---
This method looks a lot like Scala's NonFatal extractor:
https://github.com/scala/scala/blob/2.13.x/src/library/scala/util/control/NonFatal.scala#L35

I guess there are reasons the list of re-thrown throwables to be this short!
But LinkageError is a pretty serious one. IMO it should be re-thrown.

Probably the method should start with whitelisted Errors, like
StackOverflowError, and then re-throw any other kind of Error. But maybe it is
too late to make this change.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to