Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8012044

Give more information about self-suppression from Throwable.addSuppressed

    XMLWordPrintable

Details

    • 7
    • b89
    • generic
    • generic
    • Verified

    Backports

      Description

        The specification of Throwable.addSuppressed forbids an exception from suppressing itself. However, if this situation does occurs, especially in auto-generated code, it can be difficult to diagnose what is going in since the original (misbehaving) exception is not propagated.

        Attachments

          Issue Links

            Activity

              People

                darcy Joe Darcy
                darcy Joe Darcy
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: