Peter Storch created LOGBACK-1400:
-------------------------------------

             Summary: Let ResilientOutputStreamBase.openNewOutputStream() be 
override from outside the package
                 Key: LOGBACK-1400
                 URL: https://jira.qos.ch/browse/LOGBACK-1400
             Project: logback
          Issue Type: Improvement
          Components: logback-core
    Affects Versions: 1.3.0-alpha4
            Reporter: Peter Storch
            Assignee: Logback dev list
            Priority: Minor


Let ResilientOutputStreamBase.openNewOutputStream() be override from outside 
the package.

This method is currently package protected which means only subclasses in the 
same package can override this method. When other frameworks like Dropwizard 
want to provide their own implementation of a ResilientOutputStream they have 
to put their class in the ch.qos.logback.core.recovery package. Which causes a 
split package problem when using Java 9 modules: 
[https://github.com/dropwizard/dropwizard/issues/2312]

If this method is meant to be overridden from outside logback-core, a 
"protected" modifier should be added.



--
This message was sent by Atlassian JIRA
(v7.3.1#73012)
_______________________________________________
logback-dev mailing list
logback-dev@qos.ch
http://mailman.qos.ch/mailman/listinfo/logback-dev

Reply via email to