Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-1877

karaf.main.BootstrapLogManager possible resource leak and ignored exception in open method.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • karaf-1.2.0
    • Karaf
    • None

    Description

      May fail to close stream:
      o.a.f.k.main.bootstrapLogManager.getDefaultHandler() line 54
      Need to close java.io.inputStream.

      Method ignores excetional return value:
      o.a.f.k.main.BootstrapLogManager$SimpleFileHandler.open(File, boolean) line 90
      Called method java.io.File.mkdirs().
      Capture possible exception.

      Issues detected during run of static analysis tool.

      Attachments

        1. felix-1877.patch
          2 kB
          Jamie Mark Goodyear

        Activity

          People

            gnodet Guillaume Nodet
            jgoodyear Jamie Mark Goodyear
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: