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

EventObject's constructor throws IllegalArgumentException

XMLWordPrintable

    • generic
    • generic

      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.

            Unassigned Unassigned
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: