Commons Logging
  1. Commons Logging
  2. LOGGING-127

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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.

        Activity

        No work has yet been logged on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development