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

(prefs spec) BackingStore and InvalidPreferencesFormat should specify behaviour for null param

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • 5.0
    • core-libs
    • Fix Understood
    • sparc
    • solaris_2.6

      Name: sdR10048 Date: 10/23/2003


      Filed By : SPB JCK team (###@###.###)
      JDK : java full version "1.5.0-beta-b24"


      Specification excerpt:
      ======================
      --------- J2SE API spec v.1.5 ---------
      ...
      public InvalidPreferencesFormatException(String message,
                                               Throwable cause)
      Constructs an InvalidPreferencesFormatException with the specified detail
      message and cause.

      Parameters:
      message - the detail message. The detail message is saved for later
      retrieval by the Throwable.getMessage() method.
      cause - the cause (which is saved for later retrieval by the
      Throwable.getCause() method).
      ...
      ---------- end-of-excerpt ---------------

      Problem description
      ===================
      Javadoc for these constructors:

      public InvalidPreferencesFormatException(Throwable cause)
      public InvalidPreferencesFormatException(String message)
      public InvalidPreferencesFormatException(String message, Throwable cause)
      public BackingStoreException(String s)
      public BackingStoreException(Throwable cause)

      does not specify the expected behaviour in case input param is null.

      Please refer to
      http://java.sun.com/j2se/javadoc/writingapispecs/index.html#method
      for more information.


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

            Unassigned Unassigned
            dsvsunw Dsv Dsv (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: