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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Nightly Builds, 2.0
    • Fix Version/s: 1.1.2
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: