Uploaded image for project: 'Commons Discovery'
  1. Commons Discovery
  2. DISCOVERY-16

The setLog() methods are not thread-safe and should be deprecated

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.5
    • Labels:
      None

      Description

      The static setLog() methods set a private static log instance.

      This may not be thread-safe, and even if the log instance is thread-safe, the updated value may not be seen by other threads.

      Therefore these methods should be deprecated.

        Attachments

          Activity

            People

            • Assignee:
              simone.tripodi Simone Tripodi
              Reporter:
              sebb@apache.org Sebb
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: