You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Matt Sicker (Jira)" <ji...@apache.org> on 2022/11/05 21:40:00 UTC

[jira] [Created] (LOG4J2-3626) Flatten the ThreadContextMap interfaces with default methods

Matt Sicker created LOG4J2-3626:
-----------------------------------

             Summary: Flatten the ThreadContextMap interfaces with default methods
                 Key: LOG4J2-3626
                 URL: https://issues.apache.org/jira/browse/LOG4J2-3626
             Project: Log4j 2
          Issue Type: Improvement
          Components: API
    Affects Versions: 3.0.0
            Reporter: Matt Sicker
            Assignee: Matt Sicker
             Fix For: 3.0.0


We've introduced three additional extension interfaces to ThreadContextMap over time: ThreadContextMap2, CleanableThreadContextMap, and ObjectThreadContextMap. All of these interfaces can have their members pulled up to ThreadContextMap with default implementations for all the methods. This will preserve backward compatibility with code that still uses the extension interfaces explicitly.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)