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

logging apis: setLevel methods should check for null level

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.4.0
    • core-libs
    • None
    • beta
    • x86
    • windows_nt
    • Verified


      This was brought to my attention by Paul Visotsky.

      The LogManager.setLevel and Handler.setLevel methods should
      check for null levels and throw a NullPointerException.

      Logger.setLevel() already seems to do the right thing.
      LogRecord.setLevel() should allow null.

      graham.hamilton@Eng 2000-10-02

            ghamiltosunw Graham Hamilton (Inactive)
            ghamiltosunw Graham Hamilton (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: