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

EventObject's constructor throws IllegalArgumentException

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      The constructor of java.util.EventObject throws an IllegalArgumentException if null is passed for the source parameter. However, this exception is not mentioned in the specification.
      It is also debatable if this should rather be a NullPointerException or why it is necessary to reject null at all.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              duke J. Duke (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: