Remko Popma created LOG4J2-1591:

             Summary:  New method on LifeCycle interface breaks binary 
                 Key: LOG4J2-1591
             Project: Log4j 2
          Issue Type: Bug
            Reporter: Remko Popma
            Priority: Blocker introduced method 
{{stop(long, TimeUnit)}}. 

LifeCycle is a top level interface extended by Appender, Configuration, Filter 
and Filterable. This change will break implementations that don't extend our 
abstract classes. 

We should pull the new method out into a new {{LifeCycle2 extends LifeCycle}} 
interface. Our abstract super classes would all implement the new interface. 

In places where we are given a LifeCycle object and want to invoke the new 
method we first need to check that it implements LifeCycle2. If it doesn't, our 
code should probably call the existing stop() method so that existing custom 
user code continues to work. 

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

Reply via email to