You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by "Remko Popma (JIRA)" <ji...@apache.org> on 2016/09/18 11:07:20 UTC

[jira] [Closed] (LOG4J2-1590) AbstractFilter should call vararg method from methods with unrolled parameters

     [ https://issues.apache.org/jira/browse/LOG4J2-1590?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Remko Popma closed LOG4J2-1590.
-------------------------------
    Resolution: Fixed

I added a test that verifies that filters extending AbstractFilter will behave correctly even if they do not override the filter methods for unrolled varargs.

Created LOG4J2-1595 to track the related task of actually overriding these methods where it makes sense.

> AbstractFilter should call vararg method from methods with unrolled parameters
> ------------------------------------------------------------------------------
>
>                 Key: LOG4J2-1590
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-1590
>             Project: Log4j 2
>          Issue Type: Bug
>          Components: Filters
>    Affects Versions: 2.6.2
>            Reporter: Remko Popma
>            Assignee: Remko Popma
>             Fix For: 2.7
>
>
> AbstractFilter should call vararg method from methods with unrolled parameters.
> This would prevent issues like LOG4J2-1511 in all filter implementations that extend AbstractFilter. Subclasses can override the unrolled vararg methods to provide a garbage-free implementation.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org