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

changed behavior for BeanContestServicesSupport.hasService

XMLWordPrintable

    • generic, sparc
    • generic, solaris_2.5



      Name: sdC67446 Date: 08/18/98


      The behavior for
      java.beans.beancontext.BeanContextServicesSupport.hasService(
          Class serviceClass)
      has been changed since jdk1.2beta4.
      The spec for this method doesn't specify expected
      behavior if 'serviceClass' == null.
      Currently method throws NullPointerException.

      Thus the jck1.2beta4 test
      api/java/beans/beancontext/BeanContextServicesSupport/manual.html#simple
      now fails.

      The doc says:
      -------------------------------------------------------------
      public boolean hasService(Class serviceClass)

            has a service, which may be delegated
      ------------------------------------------------------------

      ======================================================================

            shommel Scott Hommel (Inactive)
            sdmitriesunw Sergei Dmitriev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: