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

javax.sql.rowset.SyncFactory.getInstance doesn't have null param value spec

    Details

    • Subcomponent:
    • Resolved In Build:
      b114
    • CPU:
      sparc
    • OS:
      solaris_2.6
    • Verification:
      Not verified

      Description

      Name: vsR10316 Date: 05/12/2004


      Filed By : SPB JCK team (###@###.###)
      JDK :
      JCK : 1.5
      Platform[s] : Solaris
      switch/Mode :
      JCK test owner : http://javaweb.eng/jct/sqe/JCK-tck/usr/owners.jto
      Failing Test [s] : N/A


      Specification excerpt:
      ======================
      --------- J2SE API spec v.1.5 ---------
      ...
      getInstance

      public static SyncProvider getInstance(String providerID)
                                      throws SyncFactoryException

          Returns the SyncProvider instance identified by providerID.

          Parameters:
              providerID - the unique identifier of the provider
          Returns:
              a SyncProvider implementation
          Throws:
              SyncFactoryException - If the SyncProvider cannot be found or some error was encountered when trying to invoke this provider.


      ...
      ---------- end-of-excerpt ---------------

      Problem description
      ===================
      The behaviour of method in case of parameter value is null isn't specified.

      JCK test source location:
      ==========================
      /java/re/jck/1.5/promoted/latest/JCK-runtime-15/tests

      Additional comments:
      ====================
      Actually it throws NullPointerException if parameter is null
          
      ======================================================================

        Attachments

          Activity

            People

            • Assignee:
              lancea Lance Andersen
              Reporter:
              duke J. Duke (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: