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

Project Coin: Minor improvements to java.lang.Throwable

XMLWordPrintable

    • b143
    • generic
    • generic
    • Not verified

      Several improvments have been suggested to the API chnanges being done in as part of Project Coin/JSR 334:

      Run-on sentence in Throwable:

                   * In contrast, when one exception suppresses
                   * another, two exceptions are thrown in sibling code blocks, such
                   * as in a {@code try} block and in its {@code finally} block, and
                   * control flow can only continue with one exception so the second
                   * is recorded as a suppressed exception of the first.

      Add usage note on reusing an exception object as one legitimate reason to make it immutable.

      Clarity usage constraints in SafeVarargs.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: