Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-769

Startup takes a long time if you have empty packages attribute

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.1
    • 2.0.2
    • None
    • None

    Description

      If you specify packages="" in your configuration, the PluginManager searches through all classes in the CLASSPATH at startup, because split() on an empty string actually returns an array containing one empty string.

      Attachments

        Activity

          People

            rpopma Remko Popma
            seh4nc Scott Harrington
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: