Clarify NPE behavior of Throwable.addSuppressed(null)

XMLWordPrintable

    • b138
    • generic
    • generic
    • Verified

      The JCK team has requested a specification clarification over whether the second call to addSuppressed below should trigger an NPE

      Throwable t = new Throwable();
      t.addSuppressed(null); // Okay
      t.addSuppressed(null); // Currently triggers an NPE

            Assignee:
            Joe Darcy
            Reporter:
            Joe Darcy
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: