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

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Unresolved
    • Icon: P5 P5
    • tbd
    • None
    • core-libs
    • None

      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)

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

              Created:
              Updated: