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

FileHandler spec does not specify exceptions for empty constructor

XMLWordPrintable

      There is a FileHandler() constructor that uses values from
      LogManager. If a user defines an empty pattern in logging.properties file,
      LogManager reads it, then FileHandler() throws unspecified
      NullPointerException (all other FileHandler constructors throw
      IllegalArgumentException in this case). So, the implementation and
      specification of FileHandler() must also be updated.

      Current behavior is a Null PointerException

      Name: agR10195 Date: 12/07/2003



      Alexey Gibadullin, ###@###.###

      The bug affects the following test:

          nsk/logging/FileHandler/FileHandler/flhndlr016


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

            caustinsunw Calvin Austin (Inactive)
            caustinsunw Calvin Austin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: