Uploaded image for project: 'Commons Logging'
  1. Commons Logging
  2. LOGGING-127

don't use setDefaultUseCaches() but setUseCaches() in LogFactory.getProperties()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Nightly Builds, 2.0.0
    • 1.1.2
    • None

    Description

      The fix for LOGGING-126 introduced a call to URLConnection.setDefaultUseCaches() in LogFactory.getProperties(). This call should be changed to URLConnection.setUseCaches(), because URLConnection.setDefaultUseCaches() sets a static variable whose value affects the whole system, while URLConnection.setUseCaches() only affects its target instance.

      Attachments

        Activity

          People

            skitching Simon Kitching
            jcsahnwaldt Christopher Sahnwaldt
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: