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

unspecified behavior for BeanContextMembershipEvent ctor

    XMLWordPrintable

Details

    • beta
    • sparc
    • solaris_2.5.1

    Description



      Name: sdC67446 Date: 07/20/99


      The doc for
      java.beans.beancontext.BeanContextMembershipEvent(BeanContext bc,
      Collection changes) does not specify behavior if 'changes' == null.
      Currently the ctor throws NPE.

      Note: the BeanContextMembershipEvent(BeanContext bc, Object[] changes)
            throws documented NPE for 'changes' == null.

      The doc says:
      ------------------------------------------------------------
      public BeanContextMembershipEvent(BeanContext bc,
                                        Collection changes)

           Contruct a BeanContextMembershipEvent
           Parameters:
               bc - The BeanContext source
               changes - The Children affected


      public BeanContextMembershipEvent(BeanContext bc,
                                        Object[] changes)

           Contruct a BeanContextMembershipEvent
           Parameters:
               bc - The BeanContext source
               changes - The Children effected
           Throws:
               NullPointerException - if changes associated with this event
               are null.
      ------------------------------------------------------------
      ======================================================================

      Attachments

        Activity

          People

            shommel Scott Hommel (Inactive)
            dsvsunw Dsv Dsv (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: