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

java.util.logging null reaction doc should be updated

XMLWordPrintable

    • beta
    • sparc
    • solaris_7



      Name: sdR10048 Date: 02/08/2002


      JDK1.4 java.util.logging package level specification should for be
      updated. Currently it says:

      Null Pointers
      In general, unless otherwise noted in the javadoc, methods and
      contructors will throw NullPointerException if passed a null
      argument. The one broad exception to this rule is that the logging
      convenience methods in the Logger class (the log, logp, log, severe,
                                                   ^^^^^^^^^^^^^^^^^^^^^^
      warning, config, fine, finer, and finest methods) will accept null
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      values for all arguments except for the initial Level argument (if
      any).


      I believe some methods have been missed (exactly: entering, exiting,
      throwing, logrb) since they do the similar thing (currently they do
      accept null arguments too). These method's names should placed into
      marked out substring.

      Minor note: marked out substring contains method "log" twice.

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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: