[logback-dev] [JIRA] (LOGBACK-1400) Let ResilientOutputStreamBase.openNewOutputStream() be override from outside the package
QOS.CH (JIRA)
noreply-jira at qos.ch
Fri May 18 09:00:00 CEST 2018
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)
More information about the logback-dev
mailing list