Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8156070 Immutable Collections enhancements
  3. JDK-8143974

provide explicit error reporting when throwing exceptions at creation time

    Details

    • Type: Sub-task
    • Status: Open
    • Priority: P5
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: tbd
    • Component/s: core-libs
    • Labels:
      None

      Description

      Make sure any exceptions thrown at creation time are explicit about what's wrong.

      * ensure that exceptions for duplicate set elements and map keys report the duplicate value
      http://mail.openjdk.java.net/pipermail/core-libs-dev/2015-November/036854.html (Paul Benedict)

      * report which argument is null
      http://mail.openjdk.java.net/pipermail/core-libs-dev/2015-November/036948.html (Roger Riggs)

        Attachments

          Activity

            People

            • Assignee:
              smarks Stuart Marks
              Reporter:
              smarks Stuart Marks
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: