retrolambda icon indicating copy to clipboard operation
retrolambda copied to clipboard

Swallow "addSuppressed" for all Exceptions and Errors

Open kohlschuetter opened this issue 1 year ago • 1 comments

Previously, we would only swallow "addSuppressed" (for Java 6 or older) if the owner was "java/lang/Throwable". However, addSuppressed may have been overriden by other exceptions.

Catch all methods named "addSupressed" that are defined either in java/lang/Throwable or any owner ending in "Exception" or "Error".

kohlschuetter avatar Sep 25 '23 17:09 kohlschuetter

Requires a test case to reproduce whatever was the issue.

luontola avatar Sep 25 '23 19:09 luontola